*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --emerald: #1a5c3a;
    --emerald-dark: #13472b;
    --emerald-light: #237a4d;
    --cream: #f5f0e8;
    --cream-light: #faf7f2;
    --cream-dark: #e8e0d0;
    --text: #1a1a1a;
    --text-light: #4a4a4a;
    --text-muted: #7a7a7a;
    --white: #ffffff;
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--text);
    background: var(--cream-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

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

/* Side lines */
.line-left,
.line-right {
    position: fixed;
    top: 0;
    width: 1px;
    height: 100vh;
    background: var(--cream-dark);
    z-index: 100;
    pointer-events: none;
}
.line-left { left: 2rem; }
.line-right { right: 2rem; }

@media (max-width: 768px) {
    .line-left, .line-right { display: none; }
}

/* ─── NAV ─── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 1.5rem 0;
    transition: all 0.5s var(--ease-out);
}

.nav.scrolled {
    background: rgba(245, 240, 232, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo-mark {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--emerald);
    border: 1px solid var(--emerald);
    padding: 0.25rem 0.5rem;
    transition: all 0.3s var(--ease-out);
}

.nav-logo:hover .nav-logo-mark {
    background: var(--emerald);
    color: var(--cream);
}

.nav-logo-text {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text);
}

.nav.scrolled .nav-logo-text { color: var(--text); }
.nav:not(.scrolled) .nav-logo-text { color: var(--white); }

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text);
    position: relative;
    transition: color 0.3s;
}

.nav:not(.scrolled) .nav-links a { color: var(--white); }

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--emerald);
    transition: width 0.3s var(--ease-out);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover { color: var(--emerald); }
.nav:not(.scrolled) .nav-links a:hover { color: var(--cream); }

.nav-cta {
    border: 1px solid currentColor;
    padding: 0.5rem 1.25rem;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
    background: var(--emerald) !important;
    border-color: var(--emerald) !important;
    color: var(--cream) !important;
}

.nav:not(.scrolled) .nav-cta:hover {
    background: var(--cream) !important;
    border-color: var(--cream) !important;
    color: var(--emerald) !important;
}

/* Hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 201;
}

.hamburger {
    display: block;
    width: 22px;
    height: 1px;
    background: var(--text);
    position: relative;
    transition: all 0.3s var(--ease-out);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    left: 0;
    width: 22px;
    height: 1px;
    background: var(--text);
    transition: all 0.3s var(--ease-out);
}

.hamburger::before { top: -7px; }
.hamburger::after { top: 7px; }

.nav.scrolled .hamburger,
.nav.scrolled .hamburger::before,
.nav.scrolled .hamburger::after {
    background: var(--text);
}

.nav:not(.scrolled) .hamburger,
.nav:not(.scrolled) .hamburger::before,
.nav:not(.scrolled) .hamburger::after {
    background: var(--white);
}

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

@media (max-width: 768px) {
    .nav-toggle { display: block; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--cream);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: right 0.5s var(--ease-out);
    }

    .nav-links.open { right: 0; }

    .nav-links a {
        font-size: 1rem;
        color: var(--text) !important;
    }

    .nav-links a:hover { color: var(--emerald) !important; }
}

/* ─── HERO ─── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    transition: transform 8s var(--ease-out);
}

.hero.in-view .hero-bg img {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 30, 18, 0.45) 0%,
        rgba(10, 30, 18, 0.55) 50%,
        rgba(10, 30, 18, 0.75) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 720px;
    padding: 0 2rem;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.3s forwards;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.2;
    color: var(--cream);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-headline em {
    font-style: italic;
    color: #a8d5ba;
}

.hero-sub {
    font-size: 1.0625rem;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.8);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.9s forwards;
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 1rem 2.25rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.btn-primary {
    background: var(--emerald);
    color: var(--cream);
    border-color: var(--emerald);
}

.btn-primary:hover {
    background: var(--emerald-dark);
    border-color: var(--emerald-dark);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--cream);
    border-color: rgba(245, 240, 232, 0.5);
}

.btn-outline:hover {
    background: var(--cream);
    color: var(--emerald);
    border-color: var(--cream);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Scroll indicator */
.hero-scroll {
    position: absolute;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    opacity: 0;
    animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

.hero-scroll span {
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--cream);
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, var(--cream), 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); }
}

/* ─── SECTION COMMON ─── */
section {
    padding: 8rem 0;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald);
    margin-bottom: 1.25rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 400;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 1.5rem;
}

/* Reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

/* ─── FEATURES ─── */
.features {
    background: var(--cream);
    padding: 6rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.feature {
    padding: 2rem 0;
    border-top: 1px solid var(--cream-dark);
}

.feature-number {
    font-family: var(--font-serif);
    font-size: 0.875rem;
    color: var(--emerald);
    margin-bottom: 1.25rem;
    font-style: italic;
}

.feature h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.feature p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.75;
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* ─── ABOUT ─── */
.about {
    background: var(--cream-light);
}

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

.about-image {
    overflow: hidden;
    aspect-ratio: 4/5;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.about-image:hover img {
    transform: scale(1.03);
}

.about-text p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.85;
    margin-bottom: 1.25rem;
}

.about-stats {
    display: flex;
    gap: 3rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--cream-dark);
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--emerald);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .about-image { aspect-ratio: 16/9; }
}

/* ─── MENU ─── */
.menu {
    background: var(--cream);
}

.menu-header {
    text-align: center;
    margin-bottom: 3rem;
}

.menu-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.menu-tab {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.75rem 1.75rem;
    background: none;
    border: 1px solid var(--cream-dark);
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
}

.menu-tab:hover {
    border-color: var(--emerald);
    color: var(--emerald);
}

.menu-tab.active {
    background: var(--emerald);
    border-color: var(--emerald);
    color: var(--cream);
}

.menu-panel {
    max-width: 900px;
    margin: 0 auto;
}

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

.menu-item {
    padding: 1.75rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.menu-item-top {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 0.5rem;
    gap: 1rem;
}

.menu-item h4 {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 400;
    color: var(--text);
}

.menu-item-top span {
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.menu-item-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.menu-panel {
    display: none;
    animation: fadeIn 0.4s var(--ease-out);
}

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

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

@media (max-width: 640px) {
    .menu-grid { grid-template-columns: 1fr; }
}

/* ─── GALLERY ─── */
.gallery {
    background: var(--cream-light);
    padding: 6rem 0;
}

.gallery .container {
    max-width: 1400px;
}

.gallery .section-label,
.gallery .section-title {
    margin-bottom: 3rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.gallery-item {
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

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

@media (max-width: 768px) {
    .gallery-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
    .gallery-grid { grid-template-columns: 1fr; }
}

/* ─── VISIT ─── */
.visit {
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.visit-detail {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--cream-dark);
}

.visit-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--emerald);
    margin-top: 0.2rem;
}

.visit-detail-label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.35rem;
}

.visit-detail-value {
    display: block;
    font-size: 0.9375rem;
    color: var(--text);
    line-height: 1.7;
}

.visit-detail-value a {
    color: var(--emerald);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s;
}

.visit-detail-value a:hover {
    border-color: var(--emerald);
}

.visit-map {
    aspect-ratio: 4/3;
    background: var(--cream-dark);
    overflow: hidden;
}

.visit-map iframe {
    width: 100%;
    height: 100%;
}

@media (max-width: 900px) {
    .visit-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .visit-map { aspect-ratio: 16/9; }
}

/* ─── CONTACT ─── */
.contact {
    background: var(--emerald);
    padding: 8rem 0;
}

.contact-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact .section-label { color: rgba(245, 240, 232, 0.6); }

.contact .section-title {
    color: var(--cream);
    margin-bottom: 1rem;
}

.contact-text p {
    font-size: 1rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.8;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.6);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    padding: 0.875rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(245, 240, 232, 0.2);
    color: var(--cream);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 240, 232, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cream);
}

.form-group select {
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(245,240,232,0.6)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0 center;
    padding-right: 2rem;
}

.form-group select option {
    background: var(--emerald-dark);
    color: var(--cream);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--cream);
}

.btn-submit {
    background: var(--cream);
    color: var(--emerald);
    border: 1px solid var(--cream);
    padding: 1rem 2.25rem;
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.4s var(--ease-out);
}

.btn-submit:hover {
    background: transparent;
    color: var(--cream);
}

.form-success {
    font-size: 0.9375rem;
    color: #a8d5ba;
    text-align: center;
    padding: 1rem;
}

@media (max-width: 768px) {
    .contact-inner { grid-template-columns: 1fr; gap: 3rem; }
    .form-row { grid-template-columns: 1fr; }
}

/* ─── FOOTER ─── */
.footer {
    background: var(--text);
    color: var(--cream);
    padding: 4rem 0 2rem;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(245, 240, 232, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-brand .nav-logo-mark {
    display: inline-block;
    width: fit-content;
}

.footer-brand-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    color: var(--cream);
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(245, 240, 232, 0.5);
}

.footer-nav {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-nav a {
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.3s;
}

.footer-nav a:hover { color: var(--cream); }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 2rem;
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.4);
}

.footer-bottom a {
    color: rgba(245, 240, 232, 0.4);
    transition: color 0.3s;
}

.footer-bottom a:hover { color: var(--cream); }

@media (max-width: 768px) {
    .footer-top { flex-direction: column; }
    .footer-nav { gap: 1.25rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}
