:root {
    --primary-color: #1a1a1a;
    --accent-color: #c5a059; /* Or doré élégant */
    --blood-red: #b22222;
    --text-color: #333333;
    --light-bg: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    padding-top: 80px; /* Espace pour la navbar fixe */
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}
h2 {
    color: var(--blood-red);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography Helpers */
.brand-script {
    font-family: 'Great Vibes', cursive;
    color: var(--blood-red);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo .logo-text {
    font-family: 'Great Vibes', cursive;
    font-size: 2rem;
    color: var(--blood-red);
    font-weight: normal;
}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Promo Video Section */
.promo-video {
    position: relative;
    width: 100%;
    height: calc(100vh - 80px); /* Hauteur moins la navbar */
    overflow: hidden;
    background-color: #000;
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.promo-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8; /* Légèrement assombri pour le texte */
}

/* Sound Toggle Button */
.sound-toggle {
    position: absolute;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    z-index: 20;
    padding: 0;
}

.sound-toggle:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.sound-toggle.muted::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: white;
    transform: rotate(45deg);
    top: 50%;
    left: 0;
}

.sound-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.video-overlay-partial {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

.video-overlay-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 10;
    width: 90%;
    max-width: 800px;
}

.video-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    color: var(--white);
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}
.video-title.brand-script {
    color: var(--blood-red);
}

.video-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2.5rem;
    letter-spacing: 2px;
    text-shadow: 1px 1px 5px rgba(0,0,0,0.5);
}

.video-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--accent-color);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: var(--transition);
    border: 2px solid var(--accent-color);
}

.video-btn:hover {
    background-color: transparent;
    color: var(--white);
}

/* Orchestra Section */
.orchestra {
    padding: 100px 0;
    background-color: var(--white);
}

.orchestra-content {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 60px;
}

.orchestra-text {
    flex: 1;
    font-size: 1.1rem;
    color: #555;
    text-align: justify;
}

.orchestra-text p {
    margin-bottom: 1.5rem;
}

.orchestra-text .logo-text {
    font-family: 'Great Vibes', cursive;
    font-size: 1.6rem;
    color: var(--blood-red);
}

.orchestra-text ul {
    margin: 1.5rem 0 1.5rem 2rem;
    list-style-type: disc;
}

.orchestra-text li {
    margin-bottom: 0.8rem;
}

.orchestra-text a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

.orchestra-text a:hover {
    color: var(--primary-color);
}

.orchestra-image {
    flex: 1;
}

.orchestra-photo-container {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.orchestra-photo-container img {
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
}

.orchestra-photo-container:hover img {
    transform: scale(1.03);
}

.orchestra-description {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    font-style: italic;
    font-size: 1.2rem;
    color: #666;
    padding: 40px;
    background-color: var(--light-bg);
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
}
.orchestra-portrait-float {
    float: right;
    width: 320px;
    max-width: 100%;
    margin: 0 0 20px 30px;
}
.orchestra-portrait-frame {
    width: 100%;
    aspect-ratio: 3 / 4;
    border-radius: 12px;
    overflow: hidden;
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
    position: relative;
}
.orchestra-portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@supports not (aspect-ratio: 1 / 1) {
    .orchestra-portrait-frame {
        height: 0;
        padding-top: 133.333%;
    }
    .orchestra-portrait-frame img {
        position: absolute;
        top: 0;
        left: 0;
    }
}
.orchestra-description::after {
    content: "";
    display: table;
    clear: both;
}

.conductor-signature {
    margin-top: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1rem;
    color: var(--primary-color);
    text-align: right;
}

/* Photo Gallery Section */
.photo-gallery {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: pointer;
}

.gallery-image.landscape {
    grid-column: 1 / -1;
    height: 500px;
}

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

.gallery-image:hover img {
    transform: scale(1.05);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
}

.gallery-image:hover .image-overlay {
    opacity: 1;
    transform: translateY(0);
}

/* Page Hero */
.page-hero {
    position: relative;
    padding: 120px 0 80px;
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #000000, var(--blood-red));
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.hero-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Artists Grid */
.artists-grid-section {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.artist-card {
    background: var(--white);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.artist-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.artist-image {
    height: 350px;
    overflow: hidden;
    position: relative;
}

.artist-image img, .artist-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.artist-placeholder {
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.artist-card:hover .artist-image img {
    transform: scale(1.05);
}

.artist-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.artist-name {
    font-size: 1.5rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.artist-instrument {
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.artist-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
}

/* Programme Styles */
.venue-banner {
    position: relative;
    height: 400px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.venue-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-overlay-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 2;
}

.banner-content-overlay {
    position: relative;
    z-index: 3;
    padding: 20px;
}

.banner-title {
    font-size: 4rem;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    color: white;
}

.banner-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 1px;
}
.banner-subtitle .festival-name {
    color: var(--blood-red);
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: 1.9rem;
}
.banner-content-overlay .video-btn {
    margin-top: 20px;
}
.banner-contact {
    margin-top: 12px;
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
}
.banner-contact a {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.banner-contact a:hover {
    color: var(--white);
}

.programme {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.programme-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0 30px;
    flex-wrap: wrap;
}

.programme-tab {
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
    position: relative;
}

.programme-tab:hover,
.programme-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.programme-tab::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.programme-tab:hover::after,
.programme-tab.active::after {
    width: 100%;
}

.programme-pane {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: fadeIn 0.5s ease;
}

.programme-pane.hidden {
    display: none;
}

.programme-grid {
    display: grid;
    gap: 30px;
    margin-bottom: 60px;
}

.programme-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    transition: transform 0.3s ease;
}

.programme-item:hover {
    transform: translateX(10px);
}

.programme-date {
    background-color: var(--primary-color);
    color: var(--accent-color);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 100px;
    text-align: center;
}

.programme-date .day {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.programme-date .month {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.programme-content {
    padding: 30px;
    flex-grow: 1;
}

.programme-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.programme-description {
    color: #666;
}

/* Sponsors Page */
.sponsors {
    padding: 80px 0;
    background-color: var(--light-bg);
}
.sponsors .container {
    max-width: 1200px;
}
.sponsors-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}
.sponsors-main {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.sponsors-category h2 {
    font-size: 2rem;
    color: var(--blood-red);
    margin-bottom: 15px;
}
.sponsors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
.sponsor-card {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    padding: 20px;
    text-align: center;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sponsor-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}
.sponsor-logo {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f7f7f7, #eeeeee);
}
.sponsor-logo img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;
}
.sponsor-name {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}
.sponsor-tier {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    border: 1px solid var(--accent-color);
    color: var(--accent-color);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}
.become-sponsor {
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border: 1px solid #eee;
    padding: 25px;
}
.become-sponsor h2 {
    color: var(--blood-red);
    margin-bottom: 10px;
}
.become-sponsor-content h3 {
    margin-bottom: 10px;
}
.become-sponsor-content ul {
    margin-left: 20px;
    list-style: disc;
    color: #555;
}
.sponsor-cta {
    margin-top: 20px;
    text-align: center;
}
@media (max-width: 992px) {
    .sponsors-layout {
        grid-template-columns: 1fr;
    }
}
/* Archive Page Styles */
.archives {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.archive-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.archive-tab {
    padding: 12px 30px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50px;
}

.archive-tab:hover,
.archive-tab.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.archive-content {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    animation: fadeIn 0.5s ease;
}

.archive-content.hidden {
    display: none;
}

.archive-intro {
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.archive-intro h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Contact Form */
.contact {
    padding: 80px 0;
    background-color: var(--light-bg);
}

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

.contact-form-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
}

.helper-text {
    display: block;
    font-size: 0.85rem;
    color: #888;
    margin-top: 5px;
}

.label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #333;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 30px;
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 15px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    color: #333;
}

/* Footer */
.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

.footer-section p {
    color: #ccc;
    font-size: 0.95rem;
}

.footer-section .brand-script {
    font-size: 2.5rem;
    color: var(--blood-red);
    margin-bottom: 0.5rem;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #ccc;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: #888;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 992px) {
    .video-title {
        font-size: 3.5rem;
    }
    
    .orchestra-content {
        flex-direction: column;
    }
    
    .orchestra-image {
        width: 100%;
    }
    .orchestra-portrait-float {
        float: none;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 20px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Mobile menu hidden by default */
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: block;
    }
    
    .video-title {
        font-size: 3rem;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}
