/* Custom styles for Lutz Café & Bar */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf2f8;
}
::-webkit-scrollbar-thumb {
    background: #4A1942;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #3a1234;
}

/* Menu tab transitions */
.menu-tab {
    color: #6b7280;
    background: transparent;
}
.menu-tab.active {
    color: #4A1942;
    background: #D4A017;
    box-shadow: 0 2px 8px rgba(212, 160, 23, 0.3);
}
.menu-tab:not(.active):hover {
    color: #4A1942;
    background: #fce7f3;
}

/* Menu content transitions */
.menu-content {
    animation: fadeIn 0.4s ease-out;
}
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(74, 25, 66, 0.15);
}

/* Hover card lift effect */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .menu-content {
        animation: none;
    }
    img {
        transition: none;
    }
    * {
        transition: none !important;
    }
}

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

/* Image hover zoom */
.rounded-xl.overflow-hidden img,
.rounded-2xl.overflow-hidden img {
    transition: transform 0.5s ease;
}
.rounded-xl.overflow-hidden:hover img,
.rounded-2xl.overflow-hidden:hover img {
    transform: scale(1.05);
}

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