html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Urbanist', sans-serif;
}

.hamburger span {
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

#mobile-menu.show {
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* Animation du menu hamburger */
.menu-toggle {
    position: relative;
    width: 40px;
    height: 40px;
    cursor: pointer;
    z-index: 100;
}

.menu-toggle span {
    position: absolute;
    width: 30px;
    height: 2px;
    background: #fff;
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

.menu-toggle span:nth-child(1) {
    top: 12px;
    left: 5px;
}

.menu-toggle span:nth-child(2) {
    top: 19px;
    left: 5px;
}

.menu-toggle span:nth-child(3) {
    top: 26px;
    left: 5px;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 19px;
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 19px;
}

/* Menu mobile */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu img {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.active img {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a {
    color: #fff;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 1rem 0;
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.mobile-menu.active a {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.3s; }

.mobile-menu a:hover {
    color: #7f1d1d;
    transform: scale(1.1);
}

.mobile-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: #7f1d1d;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.mobile-menu a:hover::after {
    width: 100%;
}


header {
    position: relative;
    overflow: hidden;
}

header img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@keyframes bounce-slow {
    0%, 100% {
        transform: translate(-50%, 0);
        opacity: 0.6;
    }
    50% {
        transform: translate(-50%, -15px);
        opacity: 1;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-12px);
    }
    60% {
        transform: translateY(-6px);
    }
}


#scroll-arrow-container i.fas.fa-angle-down {
    position: absolute;
    left: 50%;
    animation: bounce-slow 2.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#scroll-arrow-container .arrow-1 {
    top: 0;
    animation-delay: 0s;
}

#scroll-arrow-container .arrow-2 {
    top: 10px;
    animation-delay: 0.3s;
}

#scroll-arrow-container .arrow-3 {
    top: 20px;
    animation-delay: 0.6s;
}


.hover\:animate-bounce:hover {
    animation: bounce 1.2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}



@media (min-width: 640px) {
    #scroll-arrow-container .arrow-2 {
        top: 12px;
    }
    #scroll-arrow-container .arrow-3 {
        top: 24px;
    }
}

@media (min-width: 768px) {
    #scroll-arrow-container .arrow-2 {
        top: 15px;
    }
    #scroll-arrow-container .arrow-3 {
        top: 30px;
    }
}

.font-gideon {
    font-family: 'Gideon Roman', serif;
}

#main-content {
    min-height: 100vh;
}

#alaia-presentation img {
    width: 100%;
    height: auto;
}


#alaia-presentation {
    background-image: url('/assets/img/6.png');
    animation: fadeInBackground 1.5s ease-out;
    background-size: cover;
    background-position: center;
    transition: background-image 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeInBackground {
    from {
        opacity: 0;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@media (min-width: 1024px) {
    #alaia-presentation {
        background-image: url('/assets/img/3.png');
    }
}

#alaia-presentation img {
    width: 100%;
    height: auto;
}


   .gallery-item {
            position: relative;
            overflow: hidden;
            border-radius: 1rem;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .gallery-item:hover {
            transform: translateY(-10px) scale(1.02);
            box-shadow: 0 20px 40px rgba(220, 38, 38, 0.3);
        }

        .gallery-item img,
        .gallery-item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .gallery-item:hover img,
        .gallery-item:hover video {
            transform: scale(1.1);
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, rgba(220, 38, 38, 0.8), rgba(0, 0, 0, 0.6));
            opacity: 0;
            transition: opacity 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 2px;
        }

        .gallery-item:hover .overlay {
            opacity: 1;
        }

        .hero-grid {
            display: grid;
            grid-template-columns: 1fr 1.2fr 1fr;
            grid-template-rows: 300px 200px 300px;
            gap: 1.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .item-1 {
            grid-column: 1;
            grid-row: 1;
        }

        .item-2 {
            grid-column: 2;
            grid-row: 1 / 3;
        }

        .item-3 {
            grid-column: 3;
            grid-row: 1;
        }

        .item-4 {
            grid-column: 1;
            grid-row: 2 / 4;
        }

        .item-5 {
            grid-column: 2;
            grid-row: 3;
        }

        .item-6 {
            grid-column: 3;
            grid-row: 2 / 4;
        }

        @media (max-width: 768px) {
            .hero-grid {
                grid-template-columns: 1fr;
                grid-template-rows: repeat(6, 250px);
                gap: 1rem;
            }

            .item-1,
            .item-2,
            .item-3,
            .item-4,
            .item-5,
            .item-6 {
                grid-column: 1;
                grid-row: auto;
            }
        }

        .floating-elements {
            position: absolute;
            width: 100%;
            height: 100%;
            pointer-events: none;
        }

        .floating-dot {
            position: absolute;
            width: 4px;
            height: 4px;
            background: rgba(220, 38, 38, 0.6);
            border-radius: 50%;
            animation: float 6s ease-in-out infinite;
        }

        @keyframes float {

            0%,
            100% {
                transform: translateY(0px) rotate(0deg);
            }

            50% {
                transform: translateY(-20px) rotate(180deg);
            }
        }

        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(10px);
        }

        .modal-content {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            max-width: 90%;
            max-height: 90%;
            border-radius: 1rem;
            overflow: hidden;
        }

        .modal img,
        .modal video {
            width: 100%;
            height: auto;
            display: block;
        }

        .close {
            position: absolute;
            top: 20px;
            right: 30px;
            color: white;
            font-size: 40px;
            font-weight: bold;
            cursor: pointer;
            z-index: 1001;
        }