/* Custom styles for Voodoo Dart Lounge */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: #FDF8F7;
}
::-webkit-scrollbar-thumb {
    background: #722F37;
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: #58242B;
}

/* Selection color */
::selection {
    background: #722F37;
    color: #F4E4E1;
}

/* Navbar scroll effect */
#navbar.scrolled {
    background: rgba(253, 248, 247, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(114, 47, 55, 0.08);
}

/* Hero text animation on load */
#hero h1 {
    animation: fadeInUp 0.8s ease-out forwards;
}
#hero p {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}
#hero .flex-col {
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}
#hero .grid {
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}
#hero .inline-flex {
    animation: fadeInUp 0.8s ease-out 0.1s forwards;
    opacity: 0;
}

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Mobile menu transition */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
#mobile-menu.open {
    max-height: 400px;
}

/* Card hover effects */
.group:hover .group-hover\:-translate-y-1 {
    transform: translateY(-4px);
}

/* Button focus states */
button:focus-visible,
a:focus-visible {
    outline: 3px solid #C9A227;
    outline-offset: 2px;
    border-radius: 4px;
}
