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

body {
    overflow-x: hidden;
}

/* ===== Scroll Reveal (progressive enhancement) ===== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal:nth-child(2) { transition-delay: 0.1s; }
    .reveal:nth-child(3) { transition-delay: 0.2s; }
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #3d6b32;
    color: #fff;
    padding: 0.75rem 1.75rem;
    border-radius: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
    background: #315629;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(49, 86, 41, 0.3);
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    color: #3d6b32;
    padding: 0.875rem 2rem;
    border-radius: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}

.btn-hero-primary:hover {
    background: #f2f7f0;
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

/* ===== Navbar ===== */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #528742;
    border-radius: 1px;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* ===== Menu Cards ===== */
.menu-card {
    border-radius: 1.5rem;
    overflow: hidden;
}

.menu-card:hover img {
    transform: scale(1.05);
}

/* ===== Mobile Menu ===== */
.mobile-nav-link {
    display: block;
}

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

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

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

::-webkit-scrollbar-thumb:hover {
    background: #74a35c;
}

/* ===== Selection ===== */
::selection {
    background: #c6dbb8;
    color: #20381c;
}
