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

:root {
    --green-900: #0B1F14;
    --green-800: #1B4332;
    --green-700: #2D6A4F;
    --green-600: #40916C;
    --green-500: #52B788;
    --green-100: #D8F3DC;
    --green-50:  #F0FFF4;
    --cream:     #FAFAF7;
    --cream-dark:#F2F2ED;
    --white:     #FFFFFF;
    --black:     #0A0A0A;
    --gray-900:  #1A1A1A;
    --gray-700:  #3A3A3A;
    --gray-500:  #6B6B6B;
    --gray-300:  #B0B0B0;
    --gray-200:  #D4D4D4;
    --gray-100:  #EAEAEB;
    --gold:      #D4A84B;
    --gold-light:#F5E6C4;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-serif: 'Playfair Display', Georgia, serif;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --easeInOut: cubic-bezier(0.65, 0, 0.35, 1);

    --radius: 2px;
    --radius-lg: 8px;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-700);
    background: var(--cream);
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

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

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

/* ── Loader ───────────────────────────────────────── */
#loader {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: var(--green-800);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.loader-mark {
    width: 32px;
    height: 32px;
    border: 1.5px solid var(--green-600);
    border-top-color: var(--gold);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Overlay (mobile nav) ─────────────────────────── */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 31, 20, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 40;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s var(--ease-out), visibility 0.4s;
}
.overlay.active { opacity: 1; visibility: visible; }

/* ── Header ────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 0 24px;
    transition: background 0.4s, box-shadow 0.4s, padding 0.3s;
}
.site-header.scrolled {
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--gray-200);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 500;
    color: var(--green-800);
    letter-spacing: -0.01em;
}
.logo--light { color: var(--white); }
.logo-icon { color: var(--gold); flex-shrink: 0; }

.nav-list {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-list a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-700);
    position: relative;
    transition: color 0.3s;
}
.nav-list a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green-600);
    transition: width 0.3s var(--ease-out);
}
.nav-list a:hover { color: var(--green-700); }
.nav-list a:hover::after { width: 100%; }

.btn-nav {
    border: 1px solid var(--green-700) !important;
    padding: 8px 20px !important;
    border-radius: var(--radius) !important;
    transition: background 0.3s, color 0.3s !important;
}
.btn-nav::after { display: none !important; }
.btn-nav:hover {
    background: var(--green-700) !important;
    color: var(--white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 60;
}
.nav-toggle-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--green-800);
    transition: transform 0.3s var(--ease-out), opacity 0.3s;
    transform-origin: center;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Buttons ───────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 14px 28px;
    border-radius: var(--radius);
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}
.btn-primary {
    background: var(--green-800);
    color: var(--white);
    border: 1px solid var(--green-800);
}
.btn-primary:hover {
    background: var(--green-700);
    border-color: var(--green-700);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(27, 67, 50, 0.2);
}
.btn-outline {
    background: transparent;
    color: var(--green-800);
    border: 1px solid var(--green-700);
}
.btn-outline:hover {
    background: var(--green-800);
    color: var(--white);
}
.btn-text {
    padding: 14px 0;
    color: var(--green-700);
}
.btn-text:hover { color: var(--green-600); }
.btn-text svg { transition: transform 0.3s var(--ease-out); }
.btn-text:hover svg { transform: translateX(4px); }
.btn-full { width: 100%; justify-content: center; }

/* ── Section Labels & Titles ───────────────────────── */
.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 16px;
}
.section-title {
    font-family: var(--font-serif);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 400;
    line-height: 1.15;
    color: var(--green-800);
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--cream);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--green-100) 0%, transparent 70%);
    opacity: 0.5;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.hero-content { position: relative; z-index: 1; }

.hero-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--green-600);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.hero-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: var(--green-500);
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 400;
    line-height: 1.1;
    color: var(--green-800);
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}
.hero-title em {
    font-style: italic;
    color: var(--green-700);
}

.hero-desc {
    font-size: 17px;
    line-height: 1.75;
    color: var(--gray-500);
    max-width: 440px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-image { position: relative; }
.hero-img-wrap {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--green-100);
}
.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}
.hero-img-wrap:hover img { transform: scale(1.02); }

.hero-accent {
    position: absolute;
    bottom: -24px;
    left: -24px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
}
.accent-line {
    width: 48px;
    height: 1px;
    background: var(--gold);
}
.hero-accent span {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gray-500);
}

/* ── About ─────────────────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--white);
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--cream-dark);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text .section-title { margin-bottom: 20px; }
.about-text p {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 16px;
}
.about-divider {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin: 32px 0;
}
.about-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-features li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 15px;
    color: var(--gray-700);
}
.about-features svg {
    color: var(--green-600);
    flex-shrink: 0;
}

/* ── Menu ──────────────────────────────────────────── */
.menu {
    padding: 120px 0;
    background: var(--cream);
}
.menu-header {
    text-align: center;
    max-width: 560px;
    margin: 0 auto 72px;
}
.menu-intro {
    font-size: 16px;
    line-height: 1.75;
    color: var(--gray-500);
}
.menu-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px;
}
.menu-category {
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-100);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.menu-category:hover {
    border-color: var(--green-100);
    box-shadow: 0 8px 32px rgba(27, 67, 50, 0.06);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-100);
}
.category-icon { color: var(--green-600); }
.category-header h3 {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 400;
    color: var(--green-800);
    letter-spacing: -0.01em;
}

.menu-list { display: flex; flex-direction: column; gap: 16px; }
.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 16px;
}
.item-name {
    font-size: 15px;
    font-weight: 400;
    color: var(--gray-900);
}
.item-desc {
    font-size: 13px;
    color: var(--gray-500);
    white-space: nowrap;
}
.menu-list li::before {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--gray-100);
    margin-bottom: 6px;
}

.menu-note {
    text-align: center;
    margin-top: 56px;
    font-size: 13px;
    color: var(--gray-500);
    font-style: italic;
}

/* ── Gallery ───────────────────────────────────────── */
.gallery {
    padding: 120px 0 80px;
    background: var(--white);
}
.gallery-header {
    text-align: center;
    max-width: 480px;
    margin: 0 auto 64px;
}
.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;
    background: var(--cream-dark);
    position: relative;
}
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(27, 67, 50, 0);
    transition: background 0.4s;
    pointer-events: none;
}
.gallery-item:hover::after { background: rgba(27, 67, 50, 0.08); }
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out);
}
.gallery-item:hover img { transform: scale(1.04); }

.gallery-item--wide { grid-column: span 6; }
.gallery-item:nth-child(2) { grid-column: 1 / span 4; }
.gallery-item:nth-child(3) { grid-column: 5 / span 4; }
.gallery-item:nth-child(4) { grid-column: 9 / span 4; }
.gallery-item:nth-child(5) { grid-column: 1 / span 4; }
.gallery-item:nth-child(6) { grid-column: 5 / span 8; }

/* ── Visit ─────────────────────────────────────────── */
.visit {
    padding: 120px 0;
    background: var(--cream);
}
.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.visit-info .section-title { margin-bottom: 40px; }

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 32px;
}
.visit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}
.visit-item svg {
    color: var(--green-600);
    flex-shrink: 0;
    margin-top: 2px;
}
.visit-item strong {
    display: block;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--green-800);
    margin-bottom: 6px;
}
.visit-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gray-500);
}
.visit-item a {
    color: var(--green-700);
    border-bottom: 1px solid var(--green-100);
    transition: border-color 0.3s;
}
.visit-item a:hover { border-color: var(--green-600); }

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--green-100);
}
.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--green-100) 0%, var(--cream-dark) 100%);
}
.map-placeholder svg { color: var(--green-600); }
.map-placeholder p {
    font-size: 14px;
    color: var(--gray-500);
    max-width: 240px;
}

/* ── Contact ───────────────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--green-800);
    color: var(--white);
}
.contact .section-label { color: var(--green-500); }
.contact .section-title { color: var(--white); margin-bottom: 16px; }
.contact .section-title em { font-style: italic; color: var(--green-300); }
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}
.contact-text p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}
.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 15px;
    font-weight: 300;
    color: var(--white);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius);
    padding: 14px 16px;
    outline: none;
    transition: border-color 0.3s, background 0.3s;
    -webkit-appearance: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255, 255, 255, 0.25); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green-500);
    background: rgba(255, 255, 255, 0.08);
}
.form-group select {
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}
.form-group select option { background: var(--green-800); color: var(--white); }
.form-group textarea { resize: vertical; min-height: 120px; }

.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 48px 24px;
    text-align: center;
}
.form-success svg { color: var(--green-500); }
.form-success p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
}
.form-success.show { display: flex; }
.contact-form.hidden { display: none; }

/* ── Footer ────────────────────────────────────────── */
.site-footer {
    background: var(--green-900);
    padding: 56px 0 32px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 24px;
}
.footer-tagline {
    font-size: 13px;
    letter-spacing: 0.04em;
}
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
}
.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s;
}
.footer-bottom a:hover { color: var(--white); }

/* ── Scroll to top ─────────────────────────────────── */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--green-800);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 30;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s var(--ease-out), background 0.3s;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover { background: var(--green-700); }

/* ── Scroll-reveal (progressive enhancement) ───────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.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; }

/* ── Reduced motion ────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; }
    .hero-img-wrap img { transition: none; }
    .gallery-item img { transition: none; }
    .gallery-item::after { transition: none; }
}

/* ── Tablet ────────────────────────────────────────── */
@media (max-width: 960px) {
    .hero-grid { gap: 48px; }
    .about-grid { gap: 48px; }
    .visit-grid { gap: 48px; }
    .contact-grid { gap: 48px; }
    .menu-grid { gap: 24px; }
    .menu-category { padding: 28px; }

    .gallery-grid {
        grid-template-rows: repeat(3, 200px);
    }
    .gallery-item--wide { grid-column: span 6; }
    .gallery-item:nth-child(2) { grid-column: 1 / span 6; }
    .gallery-item:nth-child(3) { grid-column: 7 / span 6; }
    .gallery-item:nth-child(4) { grid-column: 1 / span 6; }
    .gallery-item:nth-child(5) { grid-column: 7 / span 6; }
    .gallery-item:nth-child(6) { grid-column: span 12; }
}

/* ── Mobile ────────────────────────────────────────── */
@media (max-width: 768px) {
    .container { padding: 0 20px; }

    .nav-toggle { display: flex; }
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--white);
        padding: 100px 40px 40px;
        z-index: 50;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.08);
    }
    .nav.open { transform: translateX(0); }
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    .nav-list a {
        font-size: 15px;
        letter-spacing: 0.06em;
    }

    .hero { padding: 100px 0 60px; min-height: auto; }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-image { order: -1; }
    .hero-img-wrap { aspect-ratio: 16/10; }
    .hero-accent { display: none; }
    .hero-title { font-size: clamp(32px, 8vw, 48px); }
    .hero-desc { font-size: 15px; }
    .hero-actions { flex-direction: column; align-items: flex-start; }

    .about { padding: 80px 0; }
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-image { aspect-ratio: 16/9; }

    .menu { padding: 80px 0; }
    .menu-grid { grid-template-columns: 1fr; gap: 20px; }
    .menu-category { padding: 24px; }

    .gallery { padding: 80px 0 60px; }
    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    .gallery-item,
    .gallery-item--wide,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(6) {
        grid-column: span 1;
    }
    .gallery-item { aspect-ratio: 4/3; }

    .visit { padding: 80px 0; }
    .visit-grid { grid-template-columns: 1fr; gap: 48px; }
    .visit-map { aspect-ratio: 16/9; }

    .contact { padding: 80px 0; }
    .contact-grid { grid-template-columns: 1fr; gap: 48px; }
    .form-row { grid-template-columns: 1fr; }

    .site-footer { padding: 40px 0 24px; }
    .footer-top { flex-direction: column; align-items: flex-start; gap: 12px; }
    .footer-bottom { flex-direction: column; align-items: flex-start; }

    .scroll-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: clamp(28px, 10vw, 40px); }
    .section-title { font-size: clamp(24px, 6vw, 36px); }
}
