/* Custom styles for Sycamore Drive-In */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdfbf7;
}
::-webkit-scrollbar-thumb {
    background: #d4b4a8;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #b57664;
}

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

.menu-tab.active {
    background-color: #b57664;
    color: white;
    box-shadow: 0 4px 14px rgba(181, 118, 100, 0.3);
}

.menu-tab:not(.active) {
    background-color: white;
    color: #78716c;
    border: 1px solid #e7e5e4;
}

.menu-tab:not(.active):hover {
    background-color: #fdf8f6;
    border-color: #e0cec7;
}

/* Menu item animation */
.menu-item {
    animation: fadeInUp 0.4s ease forwards;
    opacity: 0;
    transform: translateY(10px);
}

.menu-item.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Navbar scroll effect */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

/* Mobile menu transition */
#mobileMenu {
    max-height: 0;
}
#mobileMenu.open {
    max-height: 300px;
}

/* Image hover effects */
img {
    transition: transform 0.5s ease;
}

/* Subtle gradient text effect for hero */
.font-serif em {
    background: linear-gradient(135deg, #b57664 0%, #d4956a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Ensure images don't overflow */
img {
    max-width: 100%;
    height: auto;
}

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