/* ========== RESPONSIVE PUBLIC HEADER ========== */

/* Menu hamburger button */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    background: #0d6efd;
    color: white;
    border: none;
    padding: 12px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 22px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

@media (max-width: 991px) {
    
    /* Afficher le bouton hamburger */
    .mobile-nav-toggle {
        display: block !important;
    }
    
    /* Header top - Responsive */
    .header-top-white {
        padding: 10px 0 !important;
    }
    
    .header-top-left img {
        max-width: 150px !important;
        height: auto !important;
    }
    
    /* Cacher les infos de contact sur mobile */
    .information-content {
        display: none !important;
    }
    
    /* Menu navigation - Caché par défaut sur mobile */
    .mega-menu .menu-links {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
        z-index: 9999;
        transition: right 0.3s ease;
        overflow-y: auto;
        padding: 80px 0 20px 0;
        flex-direction: column !important;
    }
    
    /* Menu ouvert */
    .mega-menu .menu-links.active {
        display: flex !important;
        right: 0;
    }
    
    /* Items du menu mobile */
    .mega-menu .menu-links li {
        width: 100% !important;
        border-bottom: 1px solid #eee;
        margin: 0 !important;
    }
    
    .mega-menu .menu-links li a {
        display: block !important;
        padding: 15px 20px !important;
        color: #333 !important;
        text-align: left !important;
    }
    
    /* Pull-right menu aussi */
    .mega-menu .menu-links.pull-right {
        position: relative;
        right: auto;
        width: 100%;
        height: auto;
        box-shadow: none;
        padding: 0;
        margin-top: 10px;
    }
    
    /* Overlay */
    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 9998;
    }
    
    .nav-overlay.active {
        display: block;
    }
    
    /* Bouton fermer dans le menu */
    .mobile-nav-close {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 30px;
        color: #333;
        cursor: pointer;
        z-index: 10001;
    }
    
    /* Container */
    .container {
        padding: 0 15px !important;
    }
    
    /* Drapeaux de traduction */
    .gflag {
        margin: 5px !important;
    }
}

/* Petits mobiles */
@media (max-width: 480px) {
    .header-top-left img {
        max-width: 120px !important;
    }
    
    .mega-menu .menu-links {
        width: 250px;
    }
}