/* Suite B Consignment Gallery — Custom Styles */

/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.font-serif {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Nav Text Colors (for transparent hero nav) */
.nav-text {
    color: #022c22;
    transition: color 0.4s ease;
}

.nav-subtext {
    color: #047857;
    transition: color 0.4s ease;
}

.nav-scrolled .nav-text {
    color: #fefdf8;
}

.nav-scrolled .nav-subtext {
    color: #6ee7b7;
}

.nav-scrolled .nav-link {
    color: #d1fae5;
}

.nav-scrolled .nav-link:hover {
    color: #fefdf8;
}

.nav-link {
    transition: color 0.3s ease;
}

/* Mobile Links */
.mobile-link {
    transition: all 0.3s ease;
}

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

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Image Zoom on Scroll */
#hero img {
    transition: transform 0.3s ease;
}

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

/* Custom Selection */
::selection {
    background-color: #064e3b;
    color: #fefdf8;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #064e3b;
}

/* Image Loading */
img {
    opacity: 1;
    transition: opacity 0.3s ease;
}

img[data-src] {
    opacity: 0;
}

/* Smooth Image Transitions */
.group img {
    transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Form Styles */
input, textarea {
    font-family: 'Inter', system-ui, sans-serif;
}

/* Focus Styles */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #047857;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Mobile Menu Transitions */
#mobile-menu {
    backdrop-filter: blur(10px);
}

/* Print Styles */
@media print {
    nav, #hero, .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
