/* Custom styles for L'amour - Studio 22 */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #d12549;
}

/* Reveal animations - progressive enhancement */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: translateY(0);
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img {
        transform: none;
    }
}

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

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

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Button hover effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image loading optimization */
img {
    loading: lazy;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(253, 248, 245, 0.95);
    backdrop-blur-md;
    box-shadow: 0 2px 20px rgba(181, 24, 59, 0.1);
}

/* Gallery hover effect */
.group:hover img {
    transform: scale(1.1);
}

/* Card hover effect */
.group {
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

/* Custom selection color */
::selection {
    background: #b5183b;
    color: white;
}

/* Animation for hero elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #b5183b 0%, #d12549 50%, #e04568 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle pattern overlay */
.pattern-overlay {
    background-image: radial-gradient(circle at 1px 1px, rgba(181, 24, 59, 0.05) 1px, transparent 0);
    background-size: 20px 20px;
}
