/* Custom styles for Church of the Lost Souls Bar & Grill */

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

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

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

::-webkit-scrollbar-thumb {
    background: #8c2525;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #741f1f;
}

/* Navigation active state */
.nav-link.active {
    color: #8c2525;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: #8c2525;
    border-radius: 1px;
}

/* Navbar scrolled state */
.nav-scrolled {
    background: rgba(254, 250, 248, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(140, 37, 37, 0.1);
}

/* Mobile menu animation */
.mobile-nav-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu-open .mobile-nav-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu-open .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu-open .mobile-nav-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu-open .mobile-nav-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu-open .mobile-nav-link:nth-child(4) { transition-delay: 0.4s; }
.mobile-menu-open .mobile-nav-link:nth-child(5) { transition-delay: 0.5s; }

/* Scroll reveal animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Button hover effects */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Focus styles */
:focus-visible {
    outline: 3px solid #ffadad;
    outline-offset: 2px;
    border-radius: 4px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .scroll-reveal {
        opacity: 1;
        transform: none;
    }
    
    .animate-bounce {
        animation: none;
    }
}

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