/* Custom styles for Fadez and Babez */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

.font-serif {
    font-family: 'Cormorant Garamond', serif;
}

/* Loader animation */
#loader {
    opacity: 1;
}

#loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f5f5f4;
}

::-webkit-scrollbar-thumb {
    background: #7A2031;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5e1926;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    border-color: #7A2031 !important;
    box-shadow: 0 0 0 3px rgba(122, 32, 49, 0.1);
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Navigation active state */
nav a.active {
    color: #7A2031;
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Gallery grid animation */
.grid > div {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.grid > div:nth-child(1) { animation-delay: 0.1s; }
.grid > div:nth-child(2) { animation-delay: 0.2s; }
.grid > div:nth-child(3) { animation-delay: 0.3s; }
.grid > div:nth-child(4) { animation-delay: 0.4s; }
.grid > div:nth-child(5) { animation-delay: 0.5s; }
.grid > div:nth-child(6) { animation-delay: 0.6s; }
.grid > div:nth-child(7) { animation-delay: 0.7s; }
.grid > div:nth-child(8) { animation-delay: 0.8s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
