/* Custom styles for The Drunken Fox */

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

/* Ensure no flash of hidden content */
@media (prefers-reduced-motion: no-preference) {
    .menu-tab {
        background: transparent;
        color: rgba(255, 255, 255, 0.6);
    }
    .menu-tab.active {
        background: rgba(255, 255, 255, 0.15);
        color: white;
    }
}

/* Menu tabs */
.menu-tab {
    transition: all 0.3s ease;
}

.menu-tab.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.menu-tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
}

/* Menu content transitions */
.menu-content {
    animation: fadeIn 0.4s ease;
}

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

/* Mobile menu animation */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image hover effects */
.rounded-2xl.overflow-hidden img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Subtle hover lift on cards */
@media (prefers-reduced-motion: no-preference) {
    .hover-lift {
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .hover-lift:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 40px rgba(131, 17, 46, 0.12);
    }
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f4;
}
::-webkit-scrollbar-thumb {
    background: #a01436;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #83112e;
}

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #83112e;
    outline-offset: 2px;
    border-radius: 4px;
}
