/**
 * Effets visuels décoratifs pour le menu mobile
 * Ce fichier ajoute des motifs et des effets visuels au menu mobile
 */

@media (max-width: 767px) {
    /* Fond avec motif de bulles en arrière-plan */
    .mobile-menu::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-image: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 12%),
                         radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 15%),
                         radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 15%),
                         radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0) 12%),
                         radial-gradient(circle at 90% 90%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 10%),
                         radial-gradient(circle at 10% 10%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 10%),
                         radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0) 10%);
        opacity: 0.6;
        z-index: -1;
    }
    
    /* Effet de bordure brillante pour le menu */
    .mobile-menu {
        border-left: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-right: 1px solid rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 
                    inset 0 1px 0 0 rgba(255, 255, 255, 0.2) !important;
    }
    
    /* Effet de texte avec ombre pour meilleure lisibilité */
    .mobile-menu a {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        letter-spacing: 0.3px !important;
    }
    
    /* Mise en page plus moderne des liens du menu */
    .mobile-menu a {
        margin: 10px 15px !important;
        padding: 16px !important;
        border-radius: 14px !important;
        display: flex !important;
        align-items: center !important;
        background: linear-gradient(135deg, 
                                  rgba(255, 255, 255, 0.15) 0%, 
                                  rgba(255, 255, 255, 0.05) 100%) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
    }
    
    /* Style d'icône moderne avec fond circulaire */
    .mobile-menu a i {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.1) 100%) !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin-right: 14px !important;
        font-size: 16px !important;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
    }
    
    /* Style de l'élément actif du menu */
    .mobile-menu a.active {
        background: linear-gradient(135deg, 
                                  rgba(255, 255, 255, 0.25) 0%, 
                                  rgba(255, 255, 255, 0.12) 100%) !important;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    /* Effet spécial pour l'icône de l'élément actif */
    .mobile-menu a.active i {
        background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%) !important;
        box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15) !important;
    }
    
    /* Effet de dégradé pour le fond du menu */
    .mobile-menu {
        background: linear-gradient(135deg, 
                                  rgba(46, 62, 152, 0.95) 0%, 
                                  rgba(78, 204, 226, 0.95) 100%) !important;
    }
    
    /* Ligne décorative en bas du menu */
    .mobile-menu::after {
        content: '';
        position: absolute;
        bottom: 15px;
        left: 15%;
        right: 15%;
        height: 4px;
        background: linear-gradient(90deg, 
                                 transparent 0%, 
                                 rgba(255, 255, 255, 0.3) 50%, 
                                 transparent 100%);
        border-radius: 2px;
        opacity: 0.7;
    }
    
    /* Particules animées (effet subtil) */
    @keyframes particleFloat {
        0% { transform: translateY(0) translateX(0); opacity: 0; }
        50% { opacity: 0.5; }
        100% { transform: translateY(-100px) translateX(20px); opacity: 0; }
    }
    
    .mobile-menu .particle {
        position: absolute;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.4);
        animation: particleFloat 10s infinite linear;
    }
    
    .mobile-menu .particle:nth-child(1) {
        bottom: 10%;
        left: 10%;
        animation-duration: 15s;
    }
    
    .mobile-menu .particle:nth-child(2) {
        bottom: 20%;
        right: 10%;
        width: 8px;
        height: 8px;
        animation-duration: 18s;
        animation-delay: 2s;
    }
    
    .mobile-menu .particle:nth-child(3) {
        bottom: 30%;
        left: 30%;
        width: 4px;
        height: 4px;
        animation-duration: 12s;
        animation-delay: 5s;
    }
}
