/* Custom styles for Ramen Santouka Torrance */

/* Smooth scroll offset for fixed nav */
html {
    scroll-padding-top: 80px;
}

/* Hero image parallax-like effect on scroll */
.hero-img-wrap {
    will-change: transform;
}

/* Subtle shimmer on gold accents */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.gold-shimmer {
    background: linear-gradient(90deg, #D4A853 0%, #F5D78E 50%, #D4A853 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

/* Coral glow effect */
.coral-glow {
    box-shadow: 0 0 40px rgba(255, 107, 74, 0.15);
}

/* Nav active state */
nav a.active {
    color: #FF6B4A !important;
}

/* Image lazy load fade-in */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.5s ease;
}
img[loading="lazy"].loaded {
    opacity: 1;
}

/* Focus visible for accessibility */
*:focus-visible {
    outline: 2px solid #FF6B4A;
    outline-offset: 2px;
}

/* Prevent layout shift on select */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* Date input styling */
input[type="date"] {
    color-scheme: dark;
}

/* Mobile menu animation */
.mobile-menu {
    will-change: transform;
}

.menu-line {
    will-change: transform;
}

/* Reduce motion preference */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .menu-card { transition: none; }
    .menu-card:hover { transform: none; }
    .btn-gold, .btn-coral { transition: none; }
    .btn-gold:hover, .btn-coral:hover { transform: none; }
    img { transition: none; }
    img:hover { transform: none; }
    .animate-bounce { animation: none; }
    .hero-img-wrap:hover img { transform: none; }
}

/* Print styles */
@media print {
    nav, #back-to-top, .animate-bounce { display: none; }
    body { background: white; color: black; }
    .bg-charcoal-900, .bg-charcoal-950 { background: white !important; }
    .text-white, .text-gray-300, .text-gray-400 { color: black !important; }
}
