/* === Base & Typography === */
html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #1c3827;
    background-color: #fdfcfa;
    -webkit-font-smoothing: antialiased;
}

.font-display {
    font-family: 'Playfair Display', Georgia, serif;
}

/* === Navigation === */
.nav-fixed {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.nav-scrolled {
    box-shadow: 0 1px 20px rgba(45, 90, 61, 0.08);
}

.nav-link {
    position: relative;
}

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

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

/* === Buttons === */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2d5a3d;
    color: #fdfcfa;
    border: 2px solid #2d5a3d;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.btn-primary:hover {
    background: #234730;
    border-color: #234730;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(45, 90, 61, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #fdfcfa;
    border: 2px solid rgba(253, 252, 250, 0.5);
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(253, 252, 250, 0.1);
    border-color: #fdfcfa;
    transform: translateY(-2px);
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    color: #dce8df;
    border: 2px solid rgba(220, 232, 223, 0.4);
    border-radius: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-outline-light:hover {
    background: rgba(220, 232, 223, 0.1);
    border-color: #dce8df;
    transform: translateY(-2px);
}

/* === Section Styles === */
.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3d7a4a;
    background: linear-gradient(135deg, #dce8df 0%, #b9d4bb 100%);
    padding: 0.375rem 1rem;
    border-radius: 9999px;
}

.section-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: #1c3827;
    line-height: 1.2;
}

/* === Hero Badge === */
.hero-badge {
    animation: fadeInDown 0.8s ease forwards;
}

/* === Hero Animations === */
.hero-badge {
    opacity: 0;
    animation: fadeInDown 0.8s ease 0.2s forwards;
}

h1 {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.4s forwards;
}

h1 p {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.6s forwards;
}

.hero-buttons {
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.8s forwards;
}

/* === Menu Cards === */
.menu-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.25rem;
    overflow: hidden;
    transition: all 0.4s ease;
}

.menu-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: rgba(139, 195, 74, 0.3);
}

.menu-card-img-wrap {
    overflow: hidden;
    height: 220px;
}

.menu-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.menu-card-content {
    padding: 1.5rem;
}

/* === Gallery === */
.gallery-item {
    overflow: hidden;
    border-radius: 0.75rem;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover .gallery-img {
    transform: scale(1.1);
}

/* === Reveal Animations === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.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; }

/* === Keyframes === */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === Mobile Menu === */
.mobile-link {
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.mobile-link:hover {
    background: #dce8df;
}

/* === Focus States === */
input:focus,
textarea:focus {
    outline: none;
}

/* === Responsive === */
@media (max-width: 768px) {
    .nav-fixed {
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }
}

@media (min-width: 768px) {
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(7) {
        grid-row: span 2;
    }
}
