/* 
 * mobile-laure-menu-styles.css
 * Ce fichier contient les styles spécifiques pour les images Laure et le menu hamburger sur mobile
 */

/* Styles responsifs pour mobile */
@media only screen and (max-width: 768px) {
    /* Positionnement des images Laure sur mobile */
    .navbar-laure-gallery {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 50px;
        z-index: 30;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        padding: 0;
        margin: 0;
    }

    .navbar-laure-gallery .laure-item {
        width: 30px; /* Images plus petites */
        height: 30px;
        margin: 4px;
    }

    /* Menu hamburger pour mobile - optimisé */
    .hamburger {
        position: fixed;
        top: 15px;
        right: 15px;
        display: block;
        cursor: pointer;
        z-index: 9999; /* S'assurer qu'il est au-dessus de tout */
        background-color: rgba(255, 255, 255, 0.7);
        padding: 8px;
        border-radius: 5px;
        transition: background-color 0.3s ease;
    }

    .hamburger:hover {
        background-color: rgba(255, 255, 255, 0.9);
    }

    .hamburger div {
        width: 25px;
        height: 3px;
        background: #5d4037;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    /* Animation du hamburger */
    .toggle .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
        background-color: var(--main-decor-color);
    }

    .toggle .line2 {
        opacity: 0;
    }

    .toggle .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
        background-color: var(--main-decor-color);
    }

    /* Styles pour la nav-bar sur mobile */
    .nav-bar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(248, 243, 233, 0.95);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        z-index: 98;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        padding-top: 60px;
    }

    .nav-bar li {
        margin: 20px 0;
        opacity: 0;
        transform: translateX(50px);
        transition: opacity 0.4s ease, transform 0.6s ease;
    }

    /* Animation des liens du menu */
    .nav-active {
        right: 0;
    }

    .nav-active li {
        opacity: 1;
        transform: translateX(0);
        transition-delay: 0.2s;
    }

    /* Effet glitch pour le menu */
    .nav-active::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(
            to bottom,
            transparent 0%,
            rgba(93, 64, 55, 0.1) 50%,
            transparent 100%
        );
        background-size: 100% 8px;
        animation: glitch 2s linear infinite;
        opacity: 0.3;
        pointer-events: none;
    }

    @keyframes glitch {
        0% {
            background-position: 0 0;
        }
        100% {
            background-position: 0 100%;
        }
    }

    /* Animation pour les images Laure */
    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Style initial pour les images Laure */
    .navbar-laure-gallery .laure-item {
        opacity: 0; /* Commence invisible */
    }
}