/* Custom styles for Buffalo Nickel Brewery */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: #f1f5f9;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(2, 6, 23, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(14, 165, 140, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Reveal animations (progressive enhancement) */
.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.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile menu */
.mobile-menu-open {
    opacity: 1 !important;
    pointer-events: all !important;
}

/* Gold gradient text utility */
.text-gold-gradient {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle glow effects */
.glow-teal {
    box-shadow: 0 0 40px rgba(20, 184, 166, 0.15);
}

.glow-gold {
    box-shadow: 0 0 40px rgba(251, 191, 36, 0.15);
}

/* Button focus styles */
button:focus-visible,
a:focus-visible {
    outline: 2px solid #5eead4;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .reveal {
        transition: none;
    }
    .group:hover .group-hover\:scale-105 {
        transform: none;
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .font-display {
        font-family: 'Playfair Display', Georgia, serif;
    }
    .font-body {
        font-family: 'Inter', system-ui, sans-serif;
    }
}

/* Print styles */
@media print {
    nav, #events, .reveal {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
