/* ==========================================
   2. BARRE DE NAVIGATION (NAVBAR)
   ========================================== */
.navbar {
    position: fixed;
    top: 70px; /* Positionnée juste après la barre de contact */
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: -20px -50px;
    display: flex;
    justify-content: center; /* Liens au centre */
    align-items: center;
    background-color: transparent;
    transition: all 0.4s ease-in-out;
}

/* État au Scroll (Blanc) */
.navbar.scrolled {
    top: 0; /* Remonte tout en haut au scroll */
    background-color: white;
    padding: 10px 50px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: white; /* Blanc sur transparent */
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.navbar.scrolled .nav-links a {
    color: #333; /* Sombre sur blanc */
}

.nav-links a:hover {
    color: #B13C16;
}

/* Bouton RSVP */
.btn-rsvp {
    background: linear-gradient(to right, #B13C16, #F27447);
    color: white !important;
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.8rem;
}

/* ==========================================
   3. RESPONSIVE (MOBILE)
   ========================================== */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px; height: 3px;
    background-color: white;
    transition: 0.3s;
}

.navbar.scrolled .menu-toggle span { background-color: #333; }

@media (max-width: 992px) {
    .contact-bar { display: none; } /* Cache les contacts sur mobile pour l'espace */
    .navbar { top: 0; padding: 15px 25px; justify-content: space-between; }
    .menu-toggle { display: flex; }
    
    .nav-links {
        position: absolute;
        top: 100%; left: 0; width: 100%;
        background-color: white;
        flex-direction: column;
        padding: 20px 0;
        display: none;
    }
    .nav-links.active { display: flex; }
    .nav-links a { color: #333 !important; }
}