/* Custom Styles for The Style Lounge Brookfield */

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

/* Base Typography */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

/* Staggered delays for grid items */
.reveal:nth-child(1) { transition-delay: 0ms; }
.reveal:nth-child(2) { transition-delay: 100ms; }
.reveal:nth-child(3) { transition-delay: 200ms; }
.reveal:nth-child(4) { transition-delay: 300ms; }

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

::-webkit-scrollbar-track {
    background: #0A192F;
}

::-webkit-scrollbar-thumb {
    background: #98FFEB;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7DFFD9;
}

/* Selection Color */
::selection {
    background: #98FFEB;
    color: #05101C;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: opacity 0.3s ease;
}

/* Form Focus States */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 1px #98FFEB;
}

/* Button Hover Effects */
button, a {
    transition: all 0.3s ease;
}

/* Image Hover Zoom Container */
.relative.overflow-hidden {
    will-change: transform;
}

/* Navbar Active State */
.nav-active {
    background: rgba(5, 16, 28, 0.95);
    backdrop-filter: blur(10px);
}

/* Hero Gradient Text Fallback */
.text-transparent.bg-clip-text {
    -webkit-background-clip: text;
    background-clip: text;
}

/* Loading State for Form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .relative.overflow-hidden img {
        transition: none;
    }
}
