/* Unification du Header - Force les styles sur toutes les pages */

/* Navbar Background & Blur */
.navbar.navbar-dropdown {
    background: rgba(6, 3, 22, 0.9) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.35) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Logo Size Consistency */
.navbar-brand img {
    height: 3rem !important;
    width: auto !important;
}

/* Brand Text */
.navbar-caption {
    font-family: "HostGrotesk", system-ui, -apple-system, sans-serif !important;
    font-weight: 700 !important;
    color: #ff3ba7 !important; /* Rose Neosurf */
    letter-spacing: 0.05em !important;
    text-transform: uppercase;
    font-size: 1.2rem !important; /* Réduit pour s'aligner avec le menu */
}

/* Navigation Links */
.navbar-nav .nav-link {
    font-family: 'Rubik', system-ui, -apple-system, sans-serif !important;
    font-weight: 500 !important;
    color: #f7f7fb !important; /* Blanc cassé */
    transition: all 0.3s ease-in-out !important;
    padding: 0.5rem 1rem !important;
    border-radius: 4px;
    font-size: 0.9rem !important; /* Réduit la taille du texte */
}

.navbar-nav .nav-link:hover {
    color: #ff3ba7 !important;
    background: rgba(255, 59, 167, 0.1);
    text-decoration: none !important;
}

/* Hamburger Menu (Mobile) */
.navbar-toggler {
    border: none !important;
    outline: none !important;
    padding: 0.5rem !important;
}

.hamburger span {
    background-color: #ffffff !important;
    height: 3px !important; /* Plus visible */
    width: 25px !important;
}

/* Dropdown Menu (Mobile/Desktop) Background */
/* Sur Desktop, le fond est celui de la navbar. Sur mobile, on veut un panneau. */

@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(6, 3, 22, 0.98) !important; /* Fond plus opaque sur mobile */
        padding: 1rem;
        border-radius: 0 0 1rem 1rem;
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        
        /* Animation fluide */
        transition: all 0.3s ease-in-out;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem !important;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        display: block; /* Large touch target */
    }
    
    .navbar-nav .nav-link:last-child {
        border-bottom: none;
    }
    
    .icons-menu {
        justify-content: center;
        margin-top: 1.5rem;
        display: flex;
    }
}

/* Social Icons */
.socicon-facebook {
    color: #f7f7fb !important;
    font-size: 1.5rem !important;
    transition: color 0.3s ease;
}

.socicon-facebook:hover {
    color: #ff3ba7 !important;
}

/* Ajustement espacement global */
.navbar .container {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

/* Bouton d'action (Echanger) - Uniformisation taille */
.navbar-buttons .btn {
    padding: 0.4rem 1.2rem !important;
    font-size: 0.85rem !important;
    min-height: auto !important;
    line-height: 1.5 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 999px !important;
}
