/* Custom styles for Healy Best Asian Food To Go */

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

/* Scroll reveal base — content always visible by default */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* When JS is active and motion is preferred, apply the animation */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll state */
#site-header.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 24px rgba(0, 0, 0, 0.06);
}

#site-header.scrolled .font-display {
    color: #831443;
}

/* Active nav link highlighting */
.nav-link-active {
    color: #be185d !important;
}

/* Subtle card hover lift */
.group:hover {
    transform: translateY(-2px);
}

/* Custom selection color */
::selection {
    background: #fbbf24;
    color: #500724;
}

/* Map container aspect ratio fix */
iframe {
    border-radius: 0 0 1rem 1rem;
}

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