/* Custom Styles for Lickin Good Donuts */

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

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

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

::-webkit-scrollbar-thumb {
    background: #e0725c;
    border-radius: 4px;
}

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

/* Menu card stagger animation for scroll reveal */
.menu-card {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.4s ease, -webkit-transform 0.6s ease;
}

/* Hero parallax feel */
#hero {
    scroll-behavior: smooth;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 248, 240, 0.95) !important;
    backdrop-filter: blur(12px) !important;
    box-shadow: 0 1px 20px rgba(212, 82, 62, 0.08) !important;
}

.nav-scrolled .font-fredoka {
    color: #d4523e !important;
}

.nav-scrolled a:not(.bg-terracotta-500) {
    color: #57534e !important;
}

/* Mobile link animation */
.mobile-link {
    opacity: 1;
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .menu-card,
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
    
    .animate-bounce {
        animation: none;
    }
    
    .animate-pulse {
        animation: none;
    }
}

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