/* Custom styles for Taproom */

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

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

::-webkit-scrollbar-track {
    background: #3b0a2a;
}

::-webkit-scrollbar-thumb {
    background: #7a1856;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9a1d6c;
}

/* Menu tab active state */
.menu-tab {
    background: transparent;
    color: #fbcfe8;
    border: 1px solid transparent;
}

.menu-tab:hover {
    color: #fbbf24;
    border-color: rgba(251, 191, 36, 0.3);
}

.menu-tab.active {
    background: #fbbf24;
    color: #3b0a2a;
    border-color: #fbbf24;
}

/* Hero animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.floating-card {
    animation: float 4s ease-in-out infinite;
}

/* Geometric shape animations */
@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.rotate-slow {
    animation: rotate-slow 20s linear infinite;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .floating-card,
    .rotate-slow {
        animation: none;
    }
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #fbbf24;
    outline-offset: 2px;
}

/* Image loading placeholder */
img {
    background: linear-gradient(135deg, #5c1341 0%, #3b0a2a 100%);
}

/* Mobile menu transition */
#mobileMenu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Navbar background on scroll */
nav.scrolled {
    background: rgba(59, 10, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(122, 24, 86, 0.3);
}
