/* Custom styles for Buffalo NightClubs */

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

/* Selection color */
::selection {
    background-color: rgba(240, 118, 91, 0.3);
    color: #f7f8f9;
}

/* Hero animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Scroll reveal base - content always visible by default */
.scroll-reveal {
    /* Default: visible, no animation */
}

/* Animated state - only applied when JS adds .is-visible */
.scroll-reveal.is-visible {
    animation: fadeInUp 0.7s ease-out forwards;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .animate-fade-in-up,
    .animate-fade-in,
    .scroll-reveal.is-visible {
        animation: none;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .group:hover img,
    img.hover\\:scale-105:hover {
        transform: none;
    }
}

/* Mobile menu */
#mobile-menu {
    transition: opacity 0.5s ease, pointer-events 0.5s ease;
}

#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

/* Menu lines animation */
.menu-line {
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
}

#menu-toggle.open .menu-line:nth-child(1) {
    transform: translateY(4px) rotate(45deg);
}

#menu-toggle.open .menu-line:nth-child(2) {
    opacity: 0;
}

#menu-toggle.open .menu-line:nth-child(3) {
    transform: translateY(-3px) rotate(-45deg);
    width: 1.5rem;
}

/* Mobile links */
.mobile-link {
    transition: color 0.3s ease, transform 0.3s ease;
}

.mobile-link:hover {
    transform: scale(1.02);
}

/* Navbar scroll state */
#site-header.scrolled #nav-bg {
    background-color: rgba(15, 21, 25, 0.95);
    backdrop-filter: blur(12px);
}

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

::-webkit-scrollbar-track {
    background: #1a2228;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #5a6370;
}

/* Input date styling */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(0.7) sepia(1) saturate(3) hue-rotate(340deg);
    cursor: pointer;
}

/* Select styling */
select option {
    background: #2a353e;
    color: #e8eaed;
}

/* Image aspect ratio fallbacks */
.aspect-\[4\/3\] {
    aspect-ratio: 4 / 3;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #F0765B;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    #site-header,
    #mobile-menu,
    .scroll-reveal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
