@font-face {
    font-family: Swansea;
    src: url('./assets/font/Swansea.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: Swansea-bold;
    src: url('./assets/font/SwanseaBold.ttf') format('truetype');
    font-weight: bold;
    font-style: bold;
}



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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Swansea', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    overflow-x: hidden;
}

b, strong {
    font-family: 'Swansea-bold', sans-serif;
    font-weight: bold;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0.5em;
    width: 98%;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
           border-radius: 80px;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    padding-left: 1em;      
padding-right: 1em  ;
             text-shadow:
    2px 2px 3px rgba(0, 0, 0, 0.49),
    -2px -2px 3px rgba(255, 255, 255, 0.8);
  box-shadow:
    inset -6px -6px 10px rgba(0, 0, 0, 0.35),
    inset 6px 6px 10px rgba(255, 255, 255, 0.9),
    -8px -8px 16px rgba(139, 138, 138, 0.25),
    4px 4px 8px rgba(0, 0, 0, 0.254);
        font-weight: 700;
text-transform: uppercase;
      color: #807f7f;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
        justify-content: center;
    align-items: center;
    height: 70px;
        position: relative;
}

.nav-logo {

    background-image: url("./assets/images/mb_logo_pins.png");
    background-size: contain;
    background-repeat: no-repeat;
    width: 10vw;
    height: 5vh;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
        justify-content: center;
        margin: 0 auto;
}

.nav-link {

      color: #807f7f;
    text-decoration: none;

    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #000000;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #000000;
    transition: width 0.3s ease;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
}

.bar {
    width: 25px;
    height: 3px;
    background: #000000;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: url('./assets/images/fond2.jpg') center no-repeat;
    background-size: contain;
    background-attachment: fixed;
    color: #000000;
    padding: 70px 0 0;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    
    background-image: url("./assets/images/bloc_carre_gris2.png");
    background-repeat: repeat;
    background-size: 2vw;
opacity: 0.5;




    z-index: -1;
}


.badge-pill {
    /* 1. La forme */
        padding: 25px 70px;
        border-radius: 100px; /* Extrêmement arrondi */
        display: inline-block;
        text-align: center;

        /* 2. La couleur de surface (Dégradé subtil du blanc vers le gris clair) */
        /* Cela crée la courbure principale */
        background: linear-gradient(to bottom, #ffffff 30%, #ebebeb 100%);

        /* 3. Les Ombres pour le volume (C'est le plus important) */
        box-shadow: 
            /* --- Ombres Externes (Sous la bulle) --- */
            0px 15px 25px rgba(0, 0, 0, 0.15), /* Grande ombre portée douce pour le décollement */
            0px 5px 10px rgba(0, 0, 0, 0.1),  /* Ombre plus proche pour définir le bord */

            /* --- Ombres Internes (Sur la bulle) --- */
            inset 0px 5px 10px rgba(255, 255, 255, 1), /* HAUT: Reflet blanc intense (brillance) */
            inset 0px -5px 15px rgba(0, 0, 0, 0.05);   /* BAS: Ombre interne douce pour bomber le bas */
            
        /* Optionnel : une très fine bordure pour définir le contour */
        border: 1px solid rgba(255, 255, 255, 0.4);
}

    /* Le style du texte */
    .text-emboss {
        font-family: Swansea, sans-serif; /* Police épaisse nécessaire */
        font-weight: 900;
        font-size: 40px;
        line-height: 1.1;
        text-transform: uppercase;
        color: #888888; /* Couleur de base grise */
        
        /* C'est ici que la magie opère pour l'effet 3D */
        text-shadow: 
            -2px -2px 1px #ffffff,   /* Reflet blanc (Haut/Gauche) */
            2px 2px 1px #5e5e5e,     /* Ombre dure (Bas/Droite) - effet ciselé */
            3px 3px 5px rgba(0,0,0,0.2); /* Ombre portée floue pour le décollement */
   -webkit-background-clip: text;
        }



.hero-content {
    flex: 1;
    padding: 2rem;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #c00000, #ff0000);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #6125b5;
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #000000;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #c00000, #ff0000);
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(192, 0, 0, 0.5);
}

.hero-video {
    flex: 1;
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.video-placeholder {
    width: 100%;
    max-width: 500px;
    height: 300px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.2rem;
    border: 2px dashed #6125b5;
}



.title-background {
    
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-bottom: 5rem;
    padding: 0 1rem;
    transition: transform 0.8s ease;
}

.title-background.rotate {
    animation: rotate360 1s ease-in-out;
}

@keyframes rotate360 {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}


.section-title {

    font-size: 2rem;
    text-align: center;

    font-weight: 700;
text-transform: uppercase;
      color: #807f7f;
      width: fit-content;

  padding-top: 0.2em;
  padding-bottom: 0.2em;
    padding-left: 1em;      
padding-right: 1em  ;
        border-radius: 80px;
     background-color: #fff;
  text-shadow:
    2px 2px 3px rgba(0, 0, 0, 0.49),
    -2px -2px 3px rgba(255, 255, 255, 0.8);
  box-shadow:
    inset -6px -6px 10px rgba(0, 0, 0, 0.35),
    inset 6px 6px 10px rgba(255, 255, 255, 0.9),
    -8px -8px 16px rgba(139, 138, 138, 0.25),
    4px 4px 8px rgba(29, 29, 29, 0.9);
   
}



/* Exhibition Section */
/* Presentation Section */
.presentation {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 20%, rgba(192, 0, 0, 0.3) 70%, rgba(255, 255, 255, 1) 100%);
}

.presentation-text {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.presentation-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #000000;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.presentation-text b {
    font-family: 'Swansea-bold', sans-serif;
}

.presentation-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 20px;
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-link {
    display: block;
    width: 100%;
}

.logo-placeholder {
    width: 100%;
    height: 120px;
    background: #ffffff00;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #c00000;
   
    transition: transform 0.3s ease;
}


.logo1 {
    background-image: url("./assets/images/mb3D_logo_oregami.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo2 {
    background-image: url("./assets/images/mb3D_logo_loiregames.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo3 {
    background-image: url("./assets/images/mb3D_logo_hitboxmakers.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}



.logo4 {
    background-image: url("./assets/images/esad.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo5 {
    background-image: url("./assets/images/cvec.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo6 {
    background-image: url("./assets/images/orleans.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.logo-placeholder:hover {
    transform: translateY(-5px);
}

/* Conferences Section */
.conferences {
    padding: 100px 0;
    background: #fff400a1;
}

.conferences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.conference-card {
    background: #ffffff;
    border-radius: 15px;
    padding: 2rem;
    border-left: 4px solid #ff0000;
    transition: transform 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.conference-card:hover {
    transform: translateY(-5px);
}

.conference-time {
    color: #6125b5;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.conference-title {
    color: #c00000;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.conference-speaker {
    color: #ff0000;
    font-weight: 600;
    margin-bottom: 1rem;
}

.conference-description {
    color: #000000;
    line-height: 1.6;
}

/* Jouer Section */
.jouer {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 20%, rgba(255, 244, 0, 0.3) 70%, rgba(255, 255, 255, 1) 100%);
}

.jouer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.jouer-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.jouer-card {
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.jouer-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(97, 37, 181, 0.3);
}

.jouer-image {
    
    height: 200px;
    overflow: hidden;
}

.jouer-detail {
    display: block;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.jouer-detail-image {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.jouer-detail .image-placeholder {
    height: 100%;
    border-radius: 12px;
    min-height: 400px;
}

.jouer-detail .detail-text {
    font-size: 1.05rem;
    line-height: 1.8;
}

.jouer-detail .detail-text h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #c00000;
}

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

.jouer-detail .detail-text a {
    color: #6125b5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jouer-detail .detail-text ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 1.5rem;
}

.jouer-detail .detail-text li {
    display: inline;
}

.jouer-detail .detail-text a:hover {
    color: #4a1a8c;
    text-decoration: underline;
}

@media screen and (max-width: 768px) {
    .jouer-detail {
        grid-template-columns: 1fr;
    }
}

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

.jouer-detail .detail-text a {
    color: #6125b5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.jouer-detail .detail-text a:hover {
    color: #4a1a8c;
    text-decoration: underline;
}

.back-button-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.jouer-detail .back-button {
    margin: 0;
    position: relative;
    z-index: 10;
}

.jouer-detail .back-button .cta-button {
    pointer-events: auto;
    cursor: pointer;
    color: #ffffff;
    display: inline-block;
}

.jouer-detail .back-button a {
    color: #ffffff;
    text-decoration: none;
}

.jouer-detail .back-button a:hover,
.jouer-detail .back-button a:visited,
.jouer-detail .back-button a:active {
    color: #ffffff;
    text-decoration: none;
}

.jouer1 {
    background-image: url("./assets/images/05-Promo-VGTDE-KNolan-2025.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.jouer2 {
    background-image: url("./assets/images/1000002416.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.jouer3 {
    background-image: url("./assets/images/oregami.png");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.jouer5 {
    background-image: url("./assets/images/hanging-by-a-thread-1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.rencontres1 {
    background-image: url("./assets/images/PXL_20250401_160305079.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.rencontres2 {
    background-image: url("./assets/images/IMG-20251218-WA0000.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.jouer-title {
    font-size: 1.3rem;
    color: #c00000;
    padding: 1rem 1rem 0.5rem;
    margin: 0;
}

.jouer-description {
    color: #000000;
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Rencontres Section */
.rencontres {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 20%, rgba(97, 37, 181, 0.3) 70%, rgba(255, 255, 255, 1) 100%);
}

.rencontres-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.rencontres-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
    height: 100%;
}

.rencontres-card {
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rencontres-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(97, 37, 181, 0.3);
}

.rencontres-image {
    height: 200px;
    overflow: hidden;
}

.rencontres-title {
    font-size: 1.3rem;
    color: #c00000;
    padding: 1rem 1rem 0.5rem;
    margin: 0;
}

.rencontres-description {
    color: #000000;
    padding: 0 1rem 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Partenaires Section */
.partenaires {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 20%, rgba(255, 0, 0, 0.2) 70%, rgba(255, 255, 255, 1) 100%);
}

.partenaires-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

.partenaires-card {
    background: #ffffff;
    border-radius: 5px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.partenaires-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(97, 37, 181, 0.3);
}

.partenaires-image {
    height: 200px;
    overflow: hidden;
}

.partenaires-title {
    font-size: 1.1rem;
    color: #c00000;
    padding: 1rem 1rem;
    margin: 0;
}

.partenaires h3 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    color: #c00000;
}

.partenaires ul {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.partenaires li {
    display: inline;
}

.partenaires a {
    color: #6125b5;
    text-decoration: none;
    transition: color 0.3s ease;
}

.partenaires a:hover {
    color: #4a1a8c;
    text-decoration: underline;
}

/* Image placeholders */
.image-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #c00000, #ff0000);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Ensure Jouer image overrides placeholder gradient */
.image-placeholder.jouer1 {
    background: url('./assets/images/05-Promo-VGTDE-KNolan-2025.png') center center / cover no-repeat;
}

.image-placeholder.jouer2 {
    background: url('./assets/images/1000002416.jpg') center center / cover no-repeat;
}

.image-placeholder.jouer3 {
    background: url('./assets/images/oregami.png') center center / cover no-repeat;
}



.image-placeholder.jouer5 {
    background: url('./assets/images/hanging-by-a-thread-1.jpg') center center / cover no-repeat;
}

.image-placeholder.rencontres1 {
    background: url('./assets/images/PXL_20250401_160305079.jpg') center center / cover no-repeat;
}

.image-placeholder.rencontres2 {
    background: url('./assets/images/IMG-20251218-WA0000.jpg') center center / cover no-repeat;
}

/* Schedule Section */
.schedule {
    padding: 100px 0;

    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 20%, #6125b5a1 70%, rgba(255, 255, 255, 1) 100%);
}

.schedule-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.tab-button {
    background: transparent;

    color: #c00000;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-button.active,
.tab-button:hover {
    background: #c00000;
    color: #fff;
}

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

.day-schedule {
    display: none;
}

.day-schedule.active {
    display: block;
}

.time-slot {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    margin-bottom: 1rem;
    background: #ffffff;
    border-radius: 15px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.time {
    font-size: 1.2rem;
    font-weight: 600;
    color: #6125b5;
    min-width: 80px;
    margin-right: 2rem;
}

.event h4 {
    color: #c00000;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.event p {
    color: #000000;
}

/* Info Section */
.info {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 20%, rgba(255, 244, 0, 0.3) 70%, rgba(255, 255, 255, 1) 100%);
}

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

.info-card {
    background: #ffffff;
    padding: 2rem;
    border-radius: 15px;

    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.info-card h3 {
    color: #c00000;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.info-card p {
    color: #000000;
    line-height: 1.8;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 20%, rgba(255, 244, 0, 0.3) 70%, rgba(255, 255, 255, 1) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3,
.contact-form h3 {
    color: #c00000;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-info p {
    color: #000000;
    margin-bottom: 0.5rem;
}

.social-links {
    margin-top: 2rem;
}

.social-links h4 {
    color: #000000;
    margin-bottom: 1rem;
}

.social-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-button {
    background: transparent;
    border: 2px solid #6125b5;
    color: #6125b5;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-button:hover {
    background: #6125b5;
    color: #ffffff;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(97, 37, 181, 0.3);
    background: #ffffff;
    border-radius: 10px;
    color: #000000;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #666666;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #6125b5;
}

.submit-button {
    background: linear-gradient(45deg, #c00000, #ff0000);
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.submit-button:hover {
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: #ffffff;
    padding: 2rem 0;
    border-top: 2px solid #6125b5;
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000000;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #c00000;
}

/* Responsive Design */
@media screen and (max-width: 950px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }
}

@media screen and (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    /* Navbar grows to contain the dropdown */
    .nav-container {
        flex-direction: column;
        height: auto;
        min-height: 84px;
        padding: 0 20px 10px;
        gap: 8px;
    }

    .nav-menu {
        position: static;
        flex-direction: column;
        background: transparent; /* let the navbar background show */
        backdrop-filter: none;
        width: 100%;
        text-align: center;
        transition: max-height 0.3s ease, padding 0.3s ease;
        box-shadow: none;
        margin-top: 0.5rem;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        border-radius: 0;
    }

    .nav-menu.active {
        max-height: 85vh;
        padding: 0.5rem 0 1rem;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 100px 0 50px;
        background: url('./assets/images/fond-mobile2.jpg') center no-repeat;
        background-size: contain;
        background-attachment: scroll;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-content,
    .hero-video {
        flex: none;
    }

    .schedule-tabs {
        flex-direction: column;
        align-items: center;
    }

    .time-slot {
        flex-direction: column;
        text-align: center;
    }

    .time {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

    .footer .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 1rem;
    }

    .social-buttons {
        justify-content: center;
    }
}

@media screen and (max-width: 600px) {
    .hero {
        background: url('./assets/images/fond-mobile2.jpg') center no-repeat;
        background-size: 100% auto;
        background-position: center 40px;
        min-height: 82vh;
        width: 100%;
        overflow: hidden;
    }
}

@media screen and (max-width: 500px) {
    .hero {
        background: url('./assets/images/fond-mobile2.jpg') center no-repeat;
        background-size: 100% auto;
        background-position: center 40px;
        min-height: 82vh;
        width: 100%;
        overflow: hidden;
    }
}
    
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .exhibition-grid,
    .concerts-grid,
    .conferences-grid {
        grid-template-columns: 1fr;
    }

    .ticket-card.featured {
        transform: none;
    }

    .ticket-card.featured:hover {
        transform: translateY(-10px);
    }
