/* Alpine cloak */
[x-cloak] { display: none !important; }

/* Header scroll */
#site-header {
    transition: background-color 0.4s ease, box-shadow 0.4s ease, backdrop-filter 0.4s ease;
}
#site-header.header-scrolled {
    background-color: rgba(27, 94, 42, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 20px rgba(18, 46, 26, 0.4);
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays */
.reveal:nth-child(2) { transition-delay: 0.1s; }
.reveal:nth-child(3) { transition-delay: 0.2s; }
.reveal:nth-child(4) { transition-delay: 0.3s; }

/* Parallax */
.parallax-bg {
    will-change: transform;
}

/* Floating leaves */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(5deg); }
    66% { transform: translateY(-8px) rotate(-3deg); }
}
.float-leaf {
    animation: float 8s ease-in-out infinite;
}

/* Neon glow */
.neon-glow {
    text-shadow:
        0 0 10px rgba(111, 207, 124, 0.6),
        0 0 30px rgba(57, 181, 74, 0.4),
        0 0 60px rgba(247, 147, 30, 0.2),
        0 0 90px rgba(57, 181, 74, 0.1);
}

/* Menu card hover */
.menu-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.menu-card:hover {
    transform: translateY(-4px);
}

/* Scroll snap for category tabs */
.scroll-snap-x {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.scroll-snap-start {
    scroll-snap-align: start;
}

/* Hide scrollbar (horizontal only for tabs) */
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Thin scrollbar for menu list */
.menu-scroll {
    scrollbar-width: thin;
    scrollbar-color: rgba(57, 181, 74, 0.3) transparent;
}
.menu-scroll::-webkit-scrollbar {
    width: 4px;
}
.menu-scroll::-webkit-scrollbar-track {
    background: transparent;
}
.menu-scroll::-webkit-scrollbar-thumb {
    background: rgba(57, 181, 74, 0.3);
    border-radius: 4px;
}
.menu-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(57, 181, 74, 0.5);
}

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

/* Selection */
::selection {
    background-color: rgba(57, 181, 74, 0.3);
    color: #1A1A1A;
}
