/* OVERTONES WEBSITE STYLES - GitHub Pages Compatible */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* HEADER & NAVIGATION */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #d4af37;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

.nav-links a:hover {
    color: #d4af37;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* HERO SECTION */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23222" width="1200" height="600"/></svg>');
    background-size: cover;
    background-position: center;
    height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}

.hero-content .tagline {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #d4af37;
    font-weight: 300;
}

.hero-logo {
    display: block;
    max-width: 560px;
    width: 90%;
    height: auto;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(2px 3px 6px rgba(0,0,0,0.6));
}

.cta-button {
    background: #d4af37;
    color: #1a1a2e;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s;
    display: inline-block;
}

.cta-button:hover {
    background: #b8941f;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212,175,55,0.4);
}

/* MAIN CONTENT SECTIONS */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 2rem;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #1a1a2e;
}

.section-intro {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ABOUT SECTION */
.about {
    background: #f8f8f8;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    margin-bottom: 1rem;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

.placeholder-image {
    background: #ddd;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    font-style: italic;
}

/* CALENDAR */
.calendar-container {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* GIG LIST (if not using calendar embed) */
.gig-list {
    display: grid;
    gap: 1.5rem;
}

.gig-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-left: 4px solid #d4af37;
    padding: 1.5rem;
    border-radius: 5px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gig-card:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gig-date {
    color: #d4af37;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.gig-venue {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 0.5rem;
}

.gig-location {
    color: #666;
}

/* FEATURES GRID */
.features {
    background: #1a1a2e;
    color: white;
}

.features h2 {
    color: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255,255,255,0.05);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: #d4af37;
    margin-bottom: 1rem;
}

/* FOOTER */
footer {
    background: #0f0f1e;
    color: white;
    padding: 3rem 2rem 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: #d4af37;
    margin-bottom: 1rem;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-section a:hover {
    color: #d4af37;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #888;
    max-width: 1200px;
    margin: 0 auto;
}

/* MEMBERS PAGE STYLES */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 2rem 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-header p {
    font-size: 1.2rem;
    color: #d4af37;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
}

.intro {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 3rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.intro p {
    font-size: 1.1rem;
    color: #666;
}

.section {
    margin-bottom: 3rem;
}

.section-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-header h2 {
    font-size: 1.8rem;
    margin: 0;
    color: white;
}

.section-icon {
    font-size: 2rem;
}

.member-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    background: white;
    padding: 2rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.member-card {
    background: #f8f8f8;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.15);
    border-color: #d4af37;
}

.member-photo {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: white;
    overflow: hidden;
}

.member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 8px;
    display: block;
}

/* Section instrument illustrations - SVG silhouettes, no external dependencies */

/* SAX: Purple gradient + saxophone silhouette */
.member-photo.sax {
    background-color: #4a3080;
    background-image:
        linear-gradient(160deg, rgba(102,126,234,0.85) 0%, rgba(118,75,162,0.95) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 160'%3E%3Cg fill='rgba(255,255,255,0.18)' stroke='rgba(255,255,255,0.32)' stroke-width='2'%3E%3C!-- body --%3E%3Cellipse cx='50' cy='70' rx='18' ry='52'/%3E%3C!-- bell --%3E%3Cellipse cx='50' cy='128' rx='26' ry='12'/%3E%3C!-- neck --%3E%3Crect x='44' y='16' width='12' height='18' rx='6'/%3E%3C!-- mouthpiece --%3E%3Crect x='40' y='6' width='8' height='14' rx='4' transform='rotate(-20 44 13)'/%3E%3C!-- keys (dots) --%3E%3Ccircle cx='44' cy='58' r='4'/%3E%3Ccircle cx='56' cy='68' r='4'/%3E%3Ccircle cx='44' cy='78' r='4'/%3E%3Ccircle cx='56' cy='88' r='4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 55% auto;
    background-position: center, center 60%;
    background-repeat: no-repeat, no-repeat;
}

/* TROMBONE: Pink/red gradient + trombone slide silhouette (distinctive long slide shape) */
.member-photo.trombone {
    background-color: #b5205a;
    background-image:
        linear-gradient(160deg, rgba(240,147,251,0.8) 0%, rgba(245,87,108,0.95) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='rgba(255,255,255,0.18)' stroke='rgba(255,255,255,0.32)' stroke-width='2'%3E%3C!-- slide outer tube --%3E%3Crect x='18' y='20' width='10' height='80' rx='5'/%3E%3C!-- slide inner tube --%3E%3Crect x='34' y='20' width='10' height='80' rx='5'/%3E%3C!-- bell section --%3E%3Cellipse cx='88' cy='38' rx='22' ry='14'/%3E%3C!-- bell connector --%3E%3Crect x='44' y='33' width='44' height='10' rx='4'/%3E%3C!-- U-bend bottom --%3E%3Cellipse cx='26' cy='100' rx='16' ry='8'/%3E%3C!-- mouthpiece --%3E%3Crect x='12' y='16' width='10' height='8' rx='4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 70% auto;
    background-position: center, center center;
    background-repeat: no-repeat, no-repeat;
}

/* TRUMPET: Blue gradient + trumpet coiled silhouette (tighter coil than trombone) */
.member-photo.trumpet {
    background-color: #0369a1;
    background-image:
        linear-gradient(160deg, rgba(79,172,254,0.8) 0%, rgba(0,180,220,0.95) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 100'%3E%3Cg fill='rgba(255,255,255,0.18)' stroke='rgba(255,255,255,0.32)' stroke-width='2.5'%3E%3C!-- main tube loop --%3E%3Ccircle cx='55' cy='52' r='28' fill='none' stroke-width='8'/%3E%3C!-- bell --%3E%3Cellipse cx='95' cy='38' rx='18' ry='11'/%3E%3Crect x='77' y='33' width='28' height='10' rx='4'/%3E%3C!-- valves --%3E%3Crect x='44' y='22' width='10' height='20' rx='4'/%3E%3Crect x='58' y='22' width='10' height='20' rx='4'/%3E%3Crect x='72' y='22' width='10' height='20' rx='4'/%3E%3C!-- mouthpiece --%3E%3Crect x='8' y='48' width='22' height='8' rx='4'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 75% auto;
    background-position: center, center center;
    background-repeat: no-repeat, no-repeat;
}

/* RHYTHM: Green gradient - each sub-type gets its own icon */
.member-photo.rhythm {
    background-color: #166534;
    background-image: linear-gradient(160deg, rgba(67,233,123,0.8) 0%, rgba(56,249,215,0.9) 100%);
}

/* Drums */
.member-photo.rhythm.drums {
    background-image:
        linear-gradient(160deg, rgba(67,233,123,0.8) 0%, rgba(56,249,215,0.9) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Cg fill='rgba(255,255,255,0.18)' stroke='rgba(255,255,255,0.32)' stroke-width='2'%3E%3C!-- bass drum --%3E%3Cellipse cx='60' cy='80' rx='36' ry='24'/%3E%3C!-- snare --%3E%3Cellipse cx='30' cy='52' rx='18' ry='10'/%3E%3Crect x='12' y='48' width='36' height='20' rx='2'/%3E%3C!-- hi-hat --%3E%3Cellipse cx='90' cy='42' rx='16' ry='5'/%3E%3Cellipse cx='90' cy='35' rx='16' ry='5'/%3E%3Crect x='88' y='35' width='4' height='50' rx='2'/%3E%3C!-- stick --%3E%3Crect x='54' y='30' width='4' height='36' rx='2' transform='rotate(-30 56 48)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 75% auto;
    background-position: center, center center;
    background-repeat: no-repeat, no-repeat;
}

/* Piano */
.member-photo.rhythm.piano {
    background-image:
        linear-gradient(160deg, rgba(67,233,123,0.8) 0%, rgba(56,249,215,0.9) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 80'%3E%3Cg fill='rgba(255,255,255,0.18)' stroke='rgba(255,255,255,0.32)' stroke-width='2'%3E%3C!-- keyboard body --%3E%3Crect x='10' y='24' width='100' height='40' rx='4'/%3E%3C!-- white keys --%3E%3Crect x='14' y='26' width='11' height='34' rx='2' fill='rgba(255,255,255,0.35)'/%3E%3Crect x='28' y='26' width='11' height='34' rx='2' fill='rgba(255,255,255,0.35)'/%3E%3Crect x='42' y='26' width='11' height='34' rx='2' fill='rgba(255,255,255,0.35)'/%3E%3Crect x='56' y='26' width='11' height='34' rx='2' fill='rgba(255,255,255,0.35)'/%3E%3Crect x='70' y='26' width='11' height='34' rx='2' fill='rgba(255,255,255,0.35)'/%3E%3Crect x='84' y='26' width='11' height='34' rx='2' fill='rgba(255,255,255,0.35)'/%3E%3Crect x='98' y='26' width='9' height='34' rx='2' fill='rgba(255,255,255,0.35)'/%3E%3C!-- black keys --%3E%3Crect x='22' y='26' width='8' height='22' rx='2' fill='rgba(0,0,0,0.45)'/%3E%3Crect x='36' y='26' width='8' height='22' rx='2' fill='rgba(0,0,0,0.45)'/%3E%3Crect x='64' y='26' width='8' height='22' rx='2' fill='rgba(0,0,0,0.45)'/%3E%3Crect x='78' y='26' width='8' height='22' rx='2' fill='rgba(0,0,0,0.45)'/%3E%3Crect x='92' y='26' width='8' height='22' rx='2' fill='rgba(0,0,0,0.45)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 85% auto;
    background-position: center, center center;
    background-repeat: no-repeat, no-repeat;
}

/* Bass */
.member-photo.rhythm.bass {
    background-image:
        linear-gradient(160deg, rgba(67,233,123,0.8) 0%, rgba(56,249,215,0.9) 100%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 160'%3E%3Cg fill='rgba(255,255,255,0.18)' stroke='rgba(255,255,255,0.32)' stroke-width='2'%3E%3C!-- body lower bout --%3E%3Cellipse cx='40' cy='108' rx='28' ry='34'/%3E%3C!-- body upper bout --%3E%3Cellipse cx='40' cy='72' rx='22' ry='26'/%3E%3C!-- neck --%3E%3Crect x='35' y='12' width='10' height='60' rx='4'/%3E%3C!-- headstock --%3E%3Crect x='32' y='6' width='16' height='12' rx='3'/%3E%3C!-- tuning pegs --%3E%3Ccircle cx='30' cy='8' r='3'/%3E%3Ccircle cx='50' cy='8' r='3'/%3E%3Ccircle cx='30' cy='14' r='3'/%3E%3Ccircle cx='50' cy='14' r='3'/%3E%3C!-- strings --%3E%3Cline x1='37' y1='12' x2='37' y2='125' stroke-width='1.5' stroke='rgba(255,255,255,0.5)'/%3E%3Cline x1='40' y1='12' x2='40' y2='125' stroke-width='1.5' stroke='rgba(255,255,255,0.5)'/%3E%3Cline x1='43' y1='12' x2='43' y2='125' stroke-width='1.5' stroke='rgba(255,255,255,0.5)'/%3E%3C/g%3E%3C/svg%3E");
    background-size: cover, 45% auto;
    background-position: center, center 55%;
    background-repeat: no-repeat, no-repeat;
}

.member-photo.alumni {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.member-info h3 {
    color: #1a1a2e;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.member-instrument {
    color: #d4af37;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.member-bio {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.member-bio span {
    font-size: 0.82rem;
    color: #666;
    line-height: 1.4;
    padding-left: 0.8rem;
    position: relative;
}

.member-bio span::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #d4af37;
}

.join-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 3rem;
}

.join-cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: white;
}

.join-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #d4af37;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #16213e;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 1rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content .tagline {
        font-size: 1rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .section h2, .page-header h1 {
        font-size: 2rem;
    }
    
    .member-grid {
        grid-template-columns: 1fr;
    }

    .booking-cta-inner {
        flex-direction: column;
        text-align: center;
    }
}

/* ABOUT SECTION SOCIAL / FLYER LINKS */
.about-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.about-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.about-link-icon {
    font-size: 1.1rem;
}

.about-link--facebook {
    background: #1877f2;
    color: white;
}
.about-link--facebook:hover {
    background: #1466d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24,119,242,0.35);
}

.about-link--youtube {
    background: #ff0000;
    color: white;
}
.about-link--youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255,0,0,0.35);
}

.about-link--flyer {
    background: white;
    color: #1a1a2e;
    border-color: #d4af37;
}
.about-link--flyer:hover {
    background: #fdf9ee;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(212,175,55,0.25);
}

/* PROMOTIONAL VIDEO SECTION */
.promo-video-section {
    background: #f8f8f8;
    max-width: 100% !important;
    padding: 3rem 2rem !important;
}

.promo-video-section h2,
.promo-video-section .section-intro {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.promo-video-section h2 {
    text-align: center;
    margin-bottom: 0.5rem;
}

.promo-video-section .section-intro {
    text-align: center;
    display: block;
    margin-bottom: 1.5rem;
}

.promo-video-wrapper {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.promo-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* BOOKING CTA BANNER */
.booking-cta-section {
    background: linear-gradient(135deg, #d4af37 0%, #b8941f 100%);
    padding: 3rem 2rem !important;
}

.booking-cta-section h2 {
    color: #1a1a2e !important;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.booking-cta-section p {
    color: #1a1a2e;
    font-size: 1.05rem;
    opacity: 0.85;
}

.booking-cta-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.booking-cta-text {
    flex: 1;
}

.booking-cta-btn {
    background: #1a1a2e !important;
    color: #d4af37 !important;
    white-space: nowrap;
    font-size: 1.1rem !important;
    padding: 1rem 2.2rem !important;
    flex-shrink: 0;
}

.booking-cta-btn:hover {
    background: #0f0f1e !important;
    box-shadow: 0 5px 20px rgba(0,0,0,0.3) !important;
}

/* Bot-resistant phone number in footer */
.footer-phone span::before {
    content: attr(data-d);
}

/* ABOUT SECTION - right column with photo stacked above video */
.about-image-col {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.about-image-col .about-image {
    height: 260px;
    border-radius: 10px;
    overflow: hidden;
}

.about-video-wrapper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    background: #000;
}

.about-video-wrapper iframe {
    display: block;
    width: 100%;
    height: 220px;
    border: none;
}

.about-video-label {
    background: #fff;
    padding: 0.5rem 0.85rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    border-top: 1px solid #eee;
}