/* 
 * South Valley Growers' Market - Custom Styles
 * Premium Dark Luxury Theme
 */

:root {
    --color-midnight-900: #020617;
    --color-midnight-800: #0f172a;
    --color-mint-400: #2dd4bf;
    --color-mint-500: #14b8a6;
}

html {
    scroll-behavior: smooth;
}

body {
    /* Fallback if Tailwind doesn't load fully */
    background-color: var(--color-midnight-900);
    color: #94a3b8;
}

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

::-webkit-scrollbar-track {
    background: var(--color-midnight-900);
}

::-webkit-scrollbar-thumb {
    background: var(--color-midnight-800);
    border: 1px solid var(--color-mint-400);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-mint-500);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 40px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0; /* Hidden by default until animated */
}

.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }

/* Scroll Reveal States (Progressive Enhancement) */
/* Default state: visible for accessibility/no-JS */
.reveal-up, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* JS will add these classes to animate */
.reveal-up.is-hidden {
    opacity: 0;
    transform: translateY(40px);
}

.reveal-left.is-hidden {
    opacity: 0;
    transform: translateX(-40px);
}

.reveal-right.is-hidden {
    opacity: 0;
    transform: translateX(40px);
}

/* Navigation Active State */
nav a.active {
    color: #2dd4bf;
}

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