/* Custom styles for Sushi Avenue */

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

/* Navbar transition */
.nav-scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 20px rgba(6, 78, 59, 0.08);
}

.nav-scrolled .nav-link {
    color: #065f46;
}

/* Scroll indicator animation */
@keyframes bounce-slow {
    0%, 100% { transform: translateY(0) translateX(-50%); opacity: 0.6; }
    50% { transform: translateY(8px) translateX(-50%); opacity: 1; }
}

.scroll-indicator {
    animation: bounce-slow 2s ease-in-out infinite;
}

/* Mobile menu */
.mobile-menu {
    transition: opacity 0.4s ease, pointer-events 0.4s ease;
}

.mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-link {
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(10px);
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.2s; }

/* Reveal animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .scroll-indicator { animation: none; }
    .group img { transition: none; }
}

/* Focus styles */
a:focus-visible, button:focus-visible {
    outline: 2px solid #10b981;
    outline-offset: 2px;
    border-radius: 0.5rem;
}
