/* --- BANNIÈRE FIXE (Fond d'écran) --- */
.fixed-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('../images/banniere.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
    pointer-events: none;
}

.fixed-banner:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.3); 
}

/* --- HERO SECTION (Carrousel) --- */
.hero-carousel {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: var(--header-height); 
}

.carousel-container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.carousel-background { 
    background-color: transparent; 
}

.carousel-slide { 
    display: none; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center; 
    text-align: center; 
    padding: 2rem; 
}

.carousel-slide.active { 
    display: flex; 
}

.slide-content { 
    max-width: 800px; 
    margin: 0 auto; 
    color: white; 
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5); 
}

.slide-content h1 { 
    color: white;
    font-size: 3rem; 
    margin-bottom: 1rem; 
}

.slide-content h1::after {
    color: white;
    background-color: white;
}

.slide-content a {
    color: white;
    text-decoration: underline;
}

.slide-content p { 
    font-size: 1.5rem; 
    margin-bottom: 2rem; 
}

.slide-image { 
    display: none; 
}

/* --- SECTIONS PRINCIPALES (Contenu sous la bannière) --- */
.featured-sections { 
    margin-top: 0; 
    background-color: white; 
    position: relative; 
    z-index: 2;
    padding-top: 4rem; 
    border: 4px solid var(--blue-primary); 
    border-radius: 10px; 
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .slide-content h1 { 
        font-size: 2rem; 
    }
    .slide-content p { 
        font-size: 1.2rem; 
    }
    .hero-carousel { 
        height: 80vh; 
        padding-top: var(--header-height);
    }
    .featured-sections { 
        margin-top: 0;
        padding-top: 2rem;
    }
}

/* --- BACKGROUND HELPERS  --- */
.bg-bar1 { 
    background-image: url('../images/cuisine_bar/bar1.jpeg'); 
    background-size: cover; 
    background-position: center; 
}
.bg-lieu { 
    background-image: url('../images/lieu.jpg'); 
    background-size: cover; 
    background-position: center; 
}
.bg-evenement { 
    background-image: url('../images/activite/activite3.jpeg'); 
    background-size: cover; 
    background-position: center; 
}