/* Global Reset and Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background-color: #fdfaf5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.review-body {
    font-size: 1.27rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: #444;
}

.review-logo {
    float: left;
    margin: 0 15px 10px 0;
    max-width: 85px;
}

a {
    color: #853d66;
    text-decoration: none;
    transition: color 0.3s ease, opacity 0.3s ease;
}

a:hover {
    color: #1b85ce;
}

p {
    margin-bottom: 1.2rem;
}

h1, h2, h3, h4, h5, h6 {
    color: #222;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

/* Layout Container */
.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

/* Header & Navigation */
#main-header {
    background-color: #ffffff;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 1px 15px rgba(0, 0, 0, 0.05);
    transition: padding 0.3s ease, background-color 0.3s ease;
    padding: 20px 0;
}

#main-header.shrinked {
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-logo {
    font-family: 'Josefin Sans', sans-serif;
    font-size: clamp(22px, 3.5vw, 36px);
    font-weight: 600;
    color: #333;
    text-decoration: none;
    letter-spacing: 1px;
    display: block;
    white-space: nowrap;
    transition: font-size 0.3s ease, color 0.3s ease;
}

.text-logo:hover {
    color: #853d66;
    text-decoration: none;
}

#main-header.shrinked .text-logo {
    font-size: 28px;
}

/* Desktop Menu Navigation */
#top-menu-nav {
    position: relative;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #333;
}

#top-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

#top-menu > li {
    position: relative;
    padding: 0 12px;
}

#top-menu > li > a {
    color: #853d66;
    font-weight: 600;
    font-size: 17.6px;
    padding: 8px 4px;
    display: block;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

#top-menu > li > a:hover, 
#top-menu > li.current-menu-item > a,
#top-menu > li.current-menu-ancestor > a {
    color: #853d66;
    font-weight: 800;
}

/* Dropdown Sub-menus */
.menu-item-has-children {
    position: relative;
}

.nav-arrow {
    font-size: 10px;
    margin-left: 3px;
    transition: transform 0.3s ease;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 12px;
    background-color: #ffffff;
    min-width: 210px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    border-top: 3px solid #853d66;
    border-radius: 0 0 4px 4px;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
    padding: 10px 0;
}

.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    color: #333;
    padding: 8px 20px;
    display: block;
    font-size: 14.3px;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.sub-menu li a:hover,
.sub-menu li.current-menu-item a {
    background-color: #f8f9fa;
    color: #853d66;
}

/* Main Content Wrapper */
#main-content {
    margin-top: 100px; /* offset for fixed header */
    padding: 40px 0;
    min-height: 70vh;
}

/* Footer Section */
#main-footer {
    background-color: #1f1f1f;
    color: #bbb;
    padding: 40px 0 20px 0;
    text-align: center;
    border-top: 3px solid #853d66;
}

.footer-social-icons {
    margin-bottom: 20px;
}

.et-social-icons {
    display: flex;
    justify-content: center;
    list-style: none;
}

.et-social-icon {
    margin: 0 10px;
}

.et-social-icon a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #853d66;
    color: #fff;
    font-size: 18px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.et-social-icon a:hover {
    transform: translateY(-3px);
}

.et-social-facebook a:hover { background-color: #3b5998; }
.et-social-youtube a:hover { background-color: #ff0000; }
.et-social-instagram a:hover { background-color: #e1306c; }

.footer-bottom {
    font-size: 13px;
    border-top: 1px solid #2d2d2d;
    padding-top: 20px;
    color: #fff;
}

/* Back to Top Button */
.et_pb_scroll_top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(46, 163, 242, 0.85);
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
    z-index: 999;
}

.et_pb_scroll_top.visible {
    opacity: 1;
    visibility: visible;
}

.et_pb_scroll_top:hover {
    background-color: #1b85ce;
    color: #fff;
}

/* Responsive Grid/Flex layouts for content */
.section-title {
    font-size: 2.2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 30px;
    position: relative;
}

.section-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 80px;
    height: 2px;
    background-color: #853d66;
}

/* News/Home feed items */
.news-banner {
    display: block;
    margin-top: -40px; /* Offset the main-content padding */
    margin-bottom: 40px;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.social-follow-strip {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 20px;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.follow-btn:hover {
    transform: translateY(-2px);
    color: #fff;
}

.follow-btn.fb { background-color: #3b5998; }
.follow-btn.ig { background-color: #c13584; }
.follow-btn.yt { background-color: #ff0000; }

.news-row {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
    align-items: flex-start;
}

.news-img-col {
    flex: 0 0 220px;
}

.news-img-col img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease;
}

.news-img-col img:hover {
    transform: scale(1.03);
}

.news-text-col {
    flex: 1;
}

.news-text-col p {
    font-size: 15px;
    line-height: 1.7;
}

/* Page styles */
.bio-page > p,
.teaching-page p {
    font-size: 1.1rem;
}
.text-page-content img.alignleft {
    float: left;
    margin: 0 25px 20px 0;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.text-page-content img.alignright {
    float: right;
    margin: 0 0 20px 25px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .text-page-content img.alignleft,
    .text-page-content img.alignright {
        float: none !important;
        display: block;
        margin: 0 auto 20px auto !important;
        max-width: 100%;
        height: auto;
    }
}

/* Music discography grids */
.music-intro {
    font-size: 16px;
    margin-bottom: 30px;
    text-align: center;
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.music-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-items: center;
}

.music-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    justify-items: center;
}

@media (max-width: 980px) {
    .music-grid-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .music-grid-2col, .music-grid-3col {
        grid-template-columns: 1fr;
    }
}

.album-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid #eaeaea;
}

.album-embed {
    margin-top: 10px;
    border-radius: 4px;
    overflow: hidden;
}

/* Photos Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    aspect-ratio: 4/3;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(46, 163, 242, 0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 15px;
    text-align: center;
    color: #fff;
    cursor: pointer;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 14px;
}

.gallery-overlay p {
    font-size: 11px;
    margin: 0;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.92);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 85%;
    max-height: 80%;
    position: relative;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    border-radius: 4px;
    box-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.lightbox-caption {
    color: #fff;
    text-align: center;
    margin-top: 15px;
    font-size: 15px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #fff;
    font-size: 35px;
    font-weight: 300;
    cursor: pointer;
    background: none;
    border: none;
}

/* Audio Player Section (Interviews) */
.interview-item {
    background-color: #fff;
    border-radius: 6px;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    padding: 25px;
    margin-bottom: 30px;
}

.interview-item h2 {
    font-size: 18px;
    margin-bottom: 5px;
}

.interview-meta {
    font-size: 13px;
    color: #555;
    margin-bottom: 15px;
}

.audio-player-container {
    margin-top: 15px;
}

audio {
    width: 100%;
    outline: none;
}

/* Shows & Reviews list */
.shows-empty {
    text-align: center;
    padding: 40px;
    background-color: #f8f9fa;
    border-radius: 6px;
    font-style: italic;
    border: 1px dashed #ddd;
}

.reviews-grid {
    column-count: 2;
    column-gap: 30px;
}

.review-item {
    break-inside: avoid;
    background-color: #f6f6f6;
    background-clip: padding-box;
    border-top: 25px solid transparent;
    padding: 35px;
    margin-bottom: 15px;
    position: relative;
    border-radius: 2px;
}

.review-item::before {
    content: "";
    background-color: #fff;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z" fill="%23333"/></svg>');
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center;
    border: 2px solid #333;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: block;
    position: absolute;
    top: -22px;
    left: 50%;
    transform: translateX(-50%);
}

.review-body {
    font-style: italic;
    font-size: 16.5px;
    line-height: 1.8;
}

.review-author {
    font-weight: 700;
    margin-top: 10px;
    font-size: 14.3px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
}

.review-author span {
    font-weight: 400;
    font-size: 15.4px;
    color: #333;
    text-transform: none;
    letter-spacing: 0;
}

.read-more-btn {
    background: none;
    border: none;
    color: #853d66;
    cursor: pointer;
    font-weight: 600;
    padding: 0;
    font-size: 14px;
    margin-left: 5px;
}

.read-more-text {
    display: none;
}

/* Forms & Newsletter Styles */
.form-card {
    background-color: #ffffff;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group.half-width {
    width: 48.5%;
    display: inline-block;
}

.form-row {
    display: flex;
    justify-content: space-between;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    background-color: #fafafa;
    outline: none;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    border-color: #853d66;
    box-shadow: 0 0 8px rgba(46, 163, 242, 0.15);
    background-color: #fff;
}

textarea {
    height: 140px;
    resize: vertical;
}

.submit-btn {
    background-color: #853d66;
    color: #fff;
    border: none;
    padding: 12px 28px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.submit-btn:hover {
    background-color: #1b85ce;
    transform: translateY(-1px);
}

.captcha-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.captcha-label {
    font-weight: 700;
    font-size: 16px;
}

.captcha-input {
    width: 80px !important;
    text-align: center;
}

/* Newsletter Jumbotron on Contact Page */
.newsletter-card {
    background: #ffffff;
    border-radius: 8px;
    padding: 40px;
    margin-bottom: 40px;
    border-left: 5px solid #853d66;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.newsletter-card h2 {
    font-size: 24px;
    margin-bottom: 8px;
}

.newsletter-card p {
    color: #444;
    margin-bottom: 25px;
}

/* Success/Error Alerts */
.alert {
    padding: 12px 20px;
    border-radius: 4px;
    margin-bottom: 20px;
    font-weight: 600;
    font-size: 14px;
    display: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Workshops List */
.workshop-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
}

.workshop-card h3 {
    font-size: 1.25rem;
    color: #853d66;
    margin-bottom: 12px;
}

/* Media Queries (Mobile Responsive Navigation) */
@media screen and (max-width: 980px) {
    #main-header {
        padding: 15px 0;
    }
    
    #top-menu-nav {
        position: static;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    #top-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background-color: #ffffff;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.08);
        border-top: 1px solid #eee;
        display: none;
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 0;
    }
    
    #top-menu.open {
        display: flex;
    }
    
    #top-menu > li {
        width: 100%;
        padding: 0;
    }
    
    #top-menu > li > a {
        padding: 12px 25px;
        border-bottom: 1px solid #f8f9fa;
    }
    
    /* Submenus on Mobile */
    .sub-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border-top: none;
        border-left: 3px solid #853d66;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 5px 0 5px 15px;
        background-color: #fafafa;
    }
    
    .menu-item-has-children.open .sub-menu {
        display: block;
    }
    
    .menu-item-has-children:hover .sub-menu {
        display: none; /* disable hover on mobile */
    }
    
    .menu-item-has-children.open:hover .sub-menu {
        display: block;
    }
    
    .nav-arrow {
        float: right;
        margin-top: 5px;
    }
    
    /* Content Layout adjustments */
    #main-content {
        margin-top: 80px;
        padding: 30px 0;
    }
    
    .news-row {
        flex-direction: column;
        gap: 15px;
    }
    
    .news-img-col {
        flex: 0 0 100%;
        max-width: 320px;
    }
    
    .form-row {
        flex-direction: column;
    }
    
    .form-group.half-width {
        width: 100%;
    }
    
    .reviews-grid {
        column-count: 1;
    }
}
