/* ─── Reset & Base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --forest-dark: #1a3c2a;
    --forest: #2d5a3f;
    --forest-light: #4a7c5c;
    --forest-pale: #d4e8d8;
    --forest-mist: #eaf5ec;
    --off-white: #faf9f6;
    --cream: #f5f3ee;
    --warm-gray: #6b6560;
    --text-dark: #1a1a18;
    --text-muted: #5a5650;
    --white: #ffffff;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(26,60,42,0.06), 0 1px 2px rgba(26,60,42,0.04);
    --shadow-md: 0 4px 16px rgba(26,60,42,0.08), 0 2px 4px rgba(26,60,42,0.04);
    --shadow-lg: 0 12px 40px rgba(26,60,42,0.12), 0 4px 12px rgba(26,60,42,0.06);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: 'DM Sans', system-ui, sans-serif;
    color: var(--text-dark);
    background: var(--off-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
    color: var(--forest-dark);
}

em {
    font-style: italic;
    color: var(--forest);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
address { font-style: normal; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--forest-dark);
    color: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    z-index: 200;
    font-size: 0.875rem;
}
.skip-link:focus { top: 16px; }

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 249, 246, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(45, 90, 63, 0.08);
    transition: var(--transition);
}
.site-header.scrolled {
    background: rgba(250, 249, 246, 0.95);
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--forest-dark);
}
.logo--light { color: var(--off-white); }
.logo--light span { color: var(--off-white); }
.logo-icon { color: var(--forest); }
.logo--light .logo-icon { color: var(--off-white); opacity: 0.9; }

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}
.main-nav a {
    padding: 8px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: 100px;
    transition: var(--transition);
}
.main-nav a:hover {
    color: var(--forest-dark);
    background: var(--forest-mist);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    position: relative;
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--forest-dark);
    border-radius: 2px;
    transition: var(--transition);
}
.hamburger {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.hamburger::before { content: ''; position: absolute; top: -7px; left: 0; }
.hamburger::after { content: ''; position: absolute; top: 7px; left: 0; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { top: 0; transform: rotate(-45deg); }

/* ─── Buttons ─── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn-icon { flex-shrink: 0; }

.btn-primary {
    background: var(--forest);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--forest-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: rgba(255,255,255,0.2);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-secondary:hover {
    background: var(--white);
    color: var(--forest-dark);
}

.btn-outline {
    background: transparent;
    color: var(--forest);
    border: 1.5px solid var(--forest);
}
.btn-outline:hover {
    background: var(--forest);
    color: var(--white);
}

.btn-sm { padding: 8px 20px; font-size: 0.875rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Section shared ─── */
.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--forest-light);
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 20px;
}
.section-title em { color: var(--forest); }

/* ─── Hero ─── */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(
        135deg,
        #1a3c2a 0%,
        #2d5a3f 25%,
        #3d7a52 45%,
        #4a9c64 60%,
        #6bb882 75%,
        #8fc9a0 90%,
        #b5d9be 100%
    );
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(26,60,42,0.5) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(74,124,92,0.4) 0%, transparent 50%),
        radial-gradient(ellipse 50% 40% at 50% 50%, rgba(107,184,130,0.2) 0%, transparent 60%);
    pointer-events: none;
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 24px 80px;
    max-width: 800px;
}

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
}
.hero-title em {
    color: var(--forest-pale);
    font-weight: 400;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: rgba(255,255,255,0.85);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}
.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

/* ─── About ─── */
.about {
    padding: 120px 0;
    background: var(--off-white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    width: 75%;
    height: 460px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }

.about-img-float {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 260px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--off-white);
}
.about-img-float img { width: 100%; height: 100%; object-fit: cover; }

.about-text p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--forest-pale);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-number {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--forest-dark);
}
.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

/* ─── Menu ─── */
.menu {
    padding: 120px 0;
    background: var(--forest-mist);
}

.menu-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}
.menu-intro {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.menu-tab {
    padding: 10px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--white);
    border: 1.5px solid var(--forest-pale);
    border-radius: 100px;
    cursor: pointer;
    transition: var(--transition);
}
.menu-tab:hover {
    color: var(--forest);
    border-color: var(--forest-light);
}
.menu-tab.active {
    background: var(--forest);
    color: var(--white);
    border-color: var(--forest);
}

.menu-panel { display: none; }
.menu-panel.active { display: block; }

.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 48px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(45, 90, 63, 0.1);
}
.menu-item-info { flex: 1; }
.menu-item-info h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--forest-dark);
    margin-bottom: 4px;
}
.menu-item-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.5;
}
.menu-item-dots {
    flex: 1;
    min-width: 24px;
    height: 1px;
    background: repeating-linear-gradient(
        to right,
        var(--forest-pale) 0px,
        var(--forest-pale) 4px,
        transparent 4px,
        transparent 8px
    );
    align-self: center;
}

/* ─── Gallery ─── */
.gallery {
    padding: 120px 0;
    background: var(--off-white);
}

.gallery-header {
    text-align: center;
    margin-bottom: 56px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, 260px);
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-item--tall { grid-row: span 2; }
.gallery-item:nth-child(1) { grid-column: 1 / 5; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: 5 / 9; }
.gallery-item:nth-child(3) { grid-column: 9 / 13; }
.gallery-item:nth-child(4) { grid-column: 5 / 7; }
.gallery-item:nth-child(5) { grid-column: 7 / 13; grid-row: span 2; }

/* ─── Visit ─── */
.visit {
    padding: 120px 0;
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-details {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}
.visit-icon {
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 2px;
}
.visit-detail strong {
    display: block;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--forest-dark);
    margin-bottom: 4px;
}
.visit-detail span,
.visit-detail a {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}
.visit-detail a:hover { color: var(--forest); }

.visit-map {
    margin-top: 32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.cta-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
}
.cta-card--light {
    background: var(--forest-mist);
    border: 1px solid var(--forest-pale);
}

.cta-icon {
    color: var(--forest);
    margin-bottom: 20px;
}
.cta-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}
.cta-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ─── Contact ─── */
.contact {
    padding: 120px 0;
    background: var(--off-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-text p {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.8;
}

.contact-form-wrap {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--forest-dark);
    margin-bottom: 8px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.9375rem;
    color: var(--text-dark);
    background: var(--off-white);
    border: 1.5px solid var(--forest-pale);
    border-radius: var(--radius);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--forest);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(45, 90, 63, 0.1);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--warm-gray);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 14px 18px;
    background: var(--forest-mist);
    border: 1px solid var(--forest-pale);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--forest-dark);
}
.form-success svg { color: var(--forest); flex-shrink: 0; }

/* ─── Footer ─── */
.site-footer {
    background: var(--forest-dark);
    color: var(--off-white);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 56px;
}

.footer-brand p {
    color: rgba(250, 249, 246, 0.6);
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-top: 16px;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--forest-pale);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    font-size: 0.9375rem;
    color: rgba(250, 249, 246, 0.6);
    transition: var(--transition);
}
.footer-links a:hover { color: var(--off-white); }

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(250, 249, 246, 0.6);
    line-height: 1.8;
    margin-bottom: 4px;
}
.footer-contact a {
    color: rgba(250, 249, 246, 0.8);
    transition: var(--transition);
}
.footer-contact a:hover { color: var(--off-white); }

.footer-bottom {
    border-top: 1px solid rgba(250, 249, 246, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}
.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(250, 249, 246, 0.4);
}

/* ─── Reveal animations (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal-item {
        opacity: 1;
        transform: translateY(0);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal-item.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    /* Default state for JS-enhanced reveals: visible */
    .reveal-item[data-reveal] {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal-item[data-reveal].revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Mobile Nav ─── */
@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .main-nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 249, 246, 0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        padding: 24px;
        border-bottom: 1px solid rgba(45, 90, 63, 0.08);
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        transition: var(--transition);
        pointer-events: none;
    }
    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    .main-nav ul {
        flex-direction: column;
        gap: 4px;
        align-items: stretch;
    }
    .main-nav a {
        padding: 14px 16px;
        font-size: 1rem;
        border-radius: var(--radius);
    }
    .main-nav a:hover { background: var(--forest-mist); }
    .main-nav .btn { justify-content: center; margin-top: 8px; }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    .about-images { height: 400px; }
    .about-img-main { height: 340px; }
    .about-img-float { height: 200px; }

    .menu-grid { grid-template-columns: 1fr; gap: 0; }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item:nth-child(1) { grid-column: 1 / 2; grid-row: span 1; }
    .gallery-item:nth-child(2) { grid-column: 2 / 3; }
    .gallery-item:nth-child(3) { grid-column: 1 / 2; }
    .gallery-item:nth-child(4) { grid-column: 2 / 3; }
    .gallery-item:nth-child(5) { grid-column: 1 / 3; }
    .gallery-item--tall { grid-row: span 1; }
    .gallery-item { height: 240px; }
    .gallery-item--tall img,
    .gallery-item img { height: 100%; }

    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .form-row { grid-template-columns: 1fr; }
    .about-stats { flex-direction: column; gap: 20px; }
    .contact-form-wrap { padding: 24px; }
    .cta-card { padding: 28px; }
}
