/* Custom styles for Annie's Cafe */

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

/* Navbar transition */
#navbar.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .nav-text {
    color: #064e3b;
}

#navbar.scrolled .nav-link {
    color: #064e3b;
}

/* Menu tabs */
.menu-tab {
    background: transparent;
    color: #065f46;
    border: 2px solid transparent;
}

.menu-tab.active {
    background: #065f46;
    color: #fefdf8;
}

.menu-tab:hover:not(.active) {
    border-color: #065f46;
}

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

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

/* Scroll reveal animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
a, button {
    transition: all 0.3s ease;
}

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

/* Image hover zoom */
.overflow-hidden img {
    transition: transform 0.7s ease;
}

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

::-webkit-scrollbar-track {
    background: #fdf9f0;
}

::-webkit-scrollbar-thumb {
    background: #065f46;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #047857;
}
