/* Sherman Station Tavern — Custom Styles */

:root {
    --plum-950: #3b0764;
    --plum-900: #581c87;
    --plum-800: #6b21a8;
    --plum-700: #7e22ce;
    --plum-600: #9333ea;
    --plum-200: #e9d5ff;
    --plum-100: #f3e8ff;
    --plum-50: #faf5ff;
    --amber-500: #f59e0b;
    --amber-400: #fbbf24;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* Smooth scroll for anchor links */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* Floating stat card animations — hero only, below fold safe */
@media (prefers-reduced-motion: no-preference) {
    .stat-card {
        animation: float 6s ease-in-out infinite;
    }
    .stat-card:nth-child(2) {
        animation-delay: -2s;
        animation-duration: 7s;
    }
    .stat-card:nth-child(3) {
        animation-delay: -4s;
        animation-duration: 5.5s;
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-12px); }
}

/* Scroll reveal — progressive enhancement, hidden by default */
.reveal {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Navbar scroll state */
.nav-scrolled {
    box-shadow: 0 1px 20px rgba(59, 7, 100, 0.08);
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--plum-50);
}
::-webkit-scrollbar-thumb {
    background: var(--plum-200);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--plum-300);
}

/* Selection color */
::selection {
    background: var(--plum-200);
    color: var(--plum-950);
}
