/* Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Theme Variables - Photo Theme */
:root {
    /* Colors */
    --color-gold: #bfa86e;
    --color-cream: #fadd92;
    --color-text: #897a57;
    --color-text-light: #e8dcc8;
    --color-dark: #1a1a1a;

    /* Theme-specific */
    --bg-primary: transparent;
    --bg-body: var(--color-dark);
    --bg-navbar: rgba(70, 65, 50, 0.6);
    --bg-section: #F8F6F3;
    --bg-section-alt: #F0EDE8;
    --bg-card: #FFFFFF;
    --border-card: rgba(137, 122, 87, 0.3);
    --bg-footer: #F0EDE8;

    /* Photo background */
    --photo-bg-display: block;
    --photo-overlay-display: block;

    /* Hero image (hidden on desktop when background is visible) */
    --hero-image-display: none;
    --hero-image-max-width: 600px;

    /* Typography */
    --font-main: 'Raleway', 'Helvetica Neue', Arial, sans-serif;
    --font-heading: var(--font-main);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.8;
    color: var(--color-text);
    background-color: var(--bg-body);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Background Image - Photo Theme */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('Photo Duo Symphonique.jpeg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    z-index: -2;
    display: var(--photo-bg-display);
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: -1;
    display: var(--photo-overlay-display);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem 2rem;
    background: var(--bg-navbar);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(137, 122, 87, 0.2);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 300;
    letter-spacing: 0.03em;
    transition: color 0.3s ease;
    opacity: 0.85;
}

.nav-link.nav-logo {
    font-size: 1.15rem;
    font-weight: 100;
    letter-spacing: 0.12em;
    color: var(--color-cream);
    opacity: 1;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-cream);
    opacity: 1;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.lang-btn {
    background: transparent;
    border: none;
    color: var(--color-text-light);
    font-family: var(--font-main);
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.3rem 0.6rem;
    transition: color 0.3s ease;
    opacity: 0.7;
}

.lang-btn:hover {
    color: var(--color-cream);
    opacity: 1;
}

.lang-btn.active {
    color: var(--color-cream);
    opacity: 1;
    font-weight: 500;
}

.lang-divider {
    color: var(--color-text-light);
    opacity: 0.4;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: center;
    padding: 6rem 2rem 4rem;
    flex-direction: column;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

/* Hero Image (for Light/Dark themes) */
.hero-image {
    display: var(--hero-image-display);
    max-width: var(--hero-image-max-width);
    width: 100%;
    margin: 0 auto 2rem;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 300;
    color: var(--color-gold);
    letter-spacing: 0.05em;
    margin-bottom: 0.3rem;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: var(--color-gold);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.hero-tagline {
    font-size: 1rem;
    font-style: italic;
    color: var(--color-text);
    opacity: 0.9;
}

/* Sections */
.section {
    padding: 5rem 2rem;
    position: relative;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-section);
    z-index: -1;
    transition: background-color 0.3s ease;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 300;
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
}

/* About Section */
.about {
    text-align: center;
}

.about-content p {
    margin-bottom: 1.5rem;
    text-align: justify;
    hyphens: auto;
    color: #897a57;
}

.about-content p:last-child {
    margin-bottom: 0;
}

/* Biographies Section */
.biographies {
    background: var(--bg-section-alt);
}

.biographies::before {
    background: var(--bg-section-alt);
}

.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.bio-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.bio-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-gold);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.bio-text p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    text-align: justify;
    hyphens: auto;
    color: #897a57;
}

.bio-text p:last-child {
    margin-bottom: 0;
}

/* Media Section */
.video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.video-item video {
    width: 100%;
    border-radius: 4px;
    background: #000;
}

.video-title {
    text-align: center;
    color: var(--color-gold);
    margin-top: 1rem;
    font-size: 1rem;
    font-style: italic;
}

/* Agenda Section */
.agenda {
    text-align: center;
}

.placeholder-text {
    color: var(--color-text-light);
    font-style: italic;
    opacity: 0.7;
}

/* Concert List */
.concert-list {
    max-width: 600px;
    margin: 0 auto;
}

.concert-item {
    display: grid;
    grid-template-columns: 120px 1fr;
    align-items: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 1rem;
    text-align: left;
}

.concert-date {
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--color-gold);
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-kerning: none;
}

.concert-venue {
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 400;
}

.concert-location {
    font-size: 0.9rem;
    color: var(--color-text);
    opacity: 0.9;
    font-variant-numeric: tabular-nums;
    font-kerning: none;
    letter-spacing: 0.03em;
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 4rem 2rem;
}

.contact-email {
    display: inline-block;
    font-size: 1.2rem;
    color: var(--color-gold);
    text-decoration: none;
    padding: 1rem 2rem;
    border: 1px solid var(--color-gold);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
}

.contact-email:hover {
    background: var(--color-gold);
    color: white;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    background: var(--bg-footer);
    font-size: 0.9rem;
    opacity: 0.9;
    transition: background-color 0.3s ease;
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Disable fixed background - use hero background instead */
    body::before {
        display: none;
    }

    .navbar {
        padding: 0.6rem 0.8rem;
        background: rgba(70, 65, 50, 0.85);
    }

    .nav-menu {
        gap: 0.4rem 0.8rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .nav-link.nav-logo {
        display: none;
    }

    .lang-switcher {
        position: absolute;
        right: 0.8rem;
        top: 50%;
        transform: translateY(-50%);
    }

    .lang-btn {
        font-size: 0.75rem;
        padding: 0.2rem 0.4rem;
    }

    .hero {
        min-height: auto;
        padding: 0;
        align-items: stretch;
        justify-content: flex-start;
        background: transparent;
    }

    .hero-content {
        width: 100%;
        max-width: none;
        margin: 0;
        padding-top: 3rem;
        text-align: center;
        position: relative;
    }

    /* Show inline image on mobile for better control */
    .hero-image {
        display: block;
        max-width: 100%;
        width: 100%;
        border-radius: 0;
        box-shadow: none;
        margin: 0;
    }

    .hero-title {
        position: absolute;
        top: 4.5rem;
        left: 0;
        right: 0;
        font-size: 1.6rem;
        margin: 0;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .hero-subtitle {
        position: absolute;
        top: 7rem;
        left: 0;
        right: 0;
        font-size: 0.95rem;
        margin: 0;
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    }

    .section {
        padding: 3rem 1.5rem;
    }

    .bio-grid,
    .video-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .bio-card {
        padding: 1.5rem;
    }

    .contact-email {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .nav-menu {
        gap: 0.3rem 0.6rem;
    }

    .nav-link {
        font-size: 0.7rem;
    }

    .hero-title {
        top: 4rem;
        font-size: 1.3rem;
    }

    .hero-subtitle {
        top: 6rem;
        font-size: 0.8rem;
    }

    .bio-text p {
        font-size: 0.9rem;
    }
}

/* Smooth transitions for language switching */
[data-text] {
    transition: opacity 0.3s ease;
}

/* Print styles */
@media print {
    body::before,
    body::after,
    .navbar {
        display: none;
    }

    .section::before {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-title,
    .hero-subtitle,
    .section-title,
    .bio-name {
        color: #000;
    }
}
