/* ============================================
   Yummy Hot Pot — Custom Styles
   ============================================ */

/* Base & Typography */
html {
    scroll-behavior: smooth;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1a1a1a;
}
::-webkit-scrollbar-thumb {
    background: #5a5a5a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ff5a44;
}

/* Selection color */
::selection {
    background: #ff5a44;
    color: #ffffff;
}

/* ============================================
   Scroll Reveal Animations
   Progressive enhancement — content is visible
   by default; JS adds the animation class.
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                    transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* Reduced motion — content always visible */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   Navbar transition states
   ============================================ */
.navbar-scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.08);
}

/* ============================================
   Image aspect ratios to prevent layout shift
   ============================================ */
img {
    max-width: 100%;
    height: auto;
}

/* ============================================
   Subtle hover lift for cards
   ============================================ */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

/* ============================================
   Mobile menu animation
   ============================================ */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

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

/* ============================================
   Decorative elements
   ============================================ */
.divider-accent {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff5a44, #ffaa9c);
    border-radius: 2px;
}
