:root {
    --green-deep: #1a3c2a;
    --green-mid: #2d5a3f;
    --green-light: #3d7a54;
    --green-faint: #e8f0eb;
    --cream: #faf9f7;
    --cream-dark: #f3f1ed;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-mid: #4a4a4a;
    --text-light: #7a7a7a;
    --text-lighter: #a0a0a0;
    --line: #e5e2dd;
    --line-light: #f0ede8;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

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

/* Loader */
.loader {
    position: fixed;
    inset: 0;
    background: var(--green-deep);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease-out), visibility 0.6s;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-line {
    width: 60px;
    height: 1px;
    background: var(--cream);
    animation: loaderLine 1.2s var(--ease-in-out) infinite;
}

@keyframes loaderLine {
    0%, 100% { transform: scaleX(0.2); opacity: 0.3; }
    50% { transform: scaleX(1); opacity: 1; }
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.25rem 0;
    transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}

.nav.scrolled {
    background: rgba(250, 249, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--line-light);
}

.nav.scrolled .nav-logo,
.nav.scrolled .nav-links a {
    color: var(--text-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.6rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    letter-spacing: 0.02em;
    color: var(--white);
    transition: color 0.4s;
}

.nav-logo-icon {
    color: var(--white);
    transition: color 0.4s;
}

.nav.scrolled .nav-logo-icon {
    color: var(--green-deep);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

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

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

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

.nav-toggle {
    display: none;
    color: var(--white);
    padding: 0.5rem;
    transition: color 0.4s;
}

.nav.scrolled .nav-toggle {
    color: var(--text-dark);
}

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

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

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(26, 60, 42, 0.55) 0%,
        rgba(26, 60, 42, 0.4) 50%,
        rgba(26, 60, 42, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: 0 2rem;
    margin-left: 8%;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 249, 247, 0.7);
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 0.5s forwards;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero-title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
}

.hero-title-line:nth-child(1) { animation: fadeUp 0.8s var(--ease-out) 0.7s forwards; }
.hero-title-line:nth-child(2) { animation: fadeUp 0.8s var(--ease-out) 0.85s forwards; }
.hero-title-line:nth-child(3) { animation: fadeUp 0.8s var(--ease-out) 1s forwards; }

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(250, 249, 247, 0.8);
    max-width: 480px;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s var(--ease-out) 1.2s forwards;
}

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

.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(250, 249, 247, 0.5);
    animation: scrollBounce 2s ease-in-out infinite;
    z-index: 2;
}

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

@keyframes scrollBounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 0;
    transition: all 0.3s var(--ease-out);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--green-deep);
    color: var(--white);
    border-color: var(--green-deep);
}

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

.btn-ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(250, 249, 247, 0.4);
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(250, 249, 247, 0.1);
}

.btn-light {
    background: var(--white);
    color: var(--green-deep);
    border-color: var(--white);
}

.btn-light:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Section divider */
.section-divider {
    padding: 0;
    overflow: hidden;
}

.divider-line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: var(--line);
    padding: 0 2rem;
}

/* Section label */
.section-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--green-mid);
    margin-bottom: 1.25rem;
}

.section-label-light {
    display: block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(250, 249, 247, 0.6);
    margin-bottom: 1.25rem;
}

/* Section title */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.section-title em {
    font-style: italic;
    color: var(--green-mid);
}

.section-title-light {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.section-title-light em {
    font-style: italic;
    color: rgba(250, 249, 247, 0.7);
}

/* Intro */
.intro {
    padding: 8rem 0;
}

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

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

.intro-image {
    position: relative;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.intro-image::before {
    content: '';
    position: absolute;
    top: -1rem;
    right: -1rem;
    width: 100%;
    height: 100%;
    border: 1px solid var(--green-light);
    z-index: -1;
}

/* Features */
.features {
    padding: 6rem 0;
    background: var(--white);
}

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

.feature {
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--line);
    transition: border-color 0.3s;
}

.feature:hover {
    border-color: var(--green-light);
}

.feature-icon {
    color: var(--green-mid);
    margin-bottom: 1.25rem;
}

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

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

/* Menu tease */
.menu-tease {
    position: relative;
    padding: 8rem 0;
    overflow: hidden;
}

.menu-bg {
    position: absolute;
    inset: 0;
}

.menu-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.menu-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 60, 42, 0.82);
}

.menu-content {
    position: relative;
    z-index: 2;
    max-width: 640px;
}

.menu-desc {
    font-size: 1.05rem;
    line-height: 1.85;
    color: rgba(250, 249, 247, 0.75);
    margin-bottom: 3rem;
}

.menu-categories {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.menu-cat {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(250, 249, 247, 0.15);
}

.menu-cat-name {
    display: block;
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.menu-cat-detail {
    font-size: 0.85rem;
    color: rgba(250, 249, 247, 0.5);
    line-height: 1.5;
}

/* Plates */
.plates {
    padding: 8rem 0;
}

.plates-header {
    text-align: center;
    margin-bottom: 4rem;
}

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

.plate {
    group: plate;
}

.plate img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    margin-bottom: 1.25rem;
    transition: transform 0.6s var(--ease-out);
}

.plate:hover img {
    transform: scale(1.02);
}

.plate-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.plate-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.75;
}

/* Hours */
.hours {
    padding: 8rem 0;
    background: var(--green-deep);
    color: var(--white);
}

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

.hours-left .section-label {
    color: rgba(250, 249, 247, 0.5);
}

.hours-left .section-title {
    color: var(--white);
}

.hours-card {
    background: rgba(250, 249, 247, 0.06);
    border: 1px solid rgba(250, 249, 247, 0.1);
    padding: 2.5rem;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(250, 249, 247, 0.08);
}

.hours-row:last-of-type {
    border-bottom: none;
}

.hours-day {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(250, 249, 247, 0.7);
}

.hours-time {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--white);
}

.hours-divider {
    height: 1px;
    background: rgba(250, 249, 247, 0.15);
    margin: 1rem 0;
}

.hours-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: rgba(250, 249, 247, 0.45);
    line-height: 1.6;
}

/* Map */
.map-section {
    height: 400px;
    position: relative;
}

.map-container {
    height: 100%;
    filter: grayscale(0.6) contrast(1.05);
    transition: filter 0.4s;
}

.map-section:hover .map-container {
    filter: grayscale(0.3) contrast(1.05);
}

/* Contact */
.contact {
    padding: 8rem 0;
    background: var(--cream-dark);
}

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

.contact-desc {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.85;
    margin-bottom: 2.5rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    color: var(--text-mid);
    transition: color 0.3s;
}

.contact-item:hover {
    color: var(--green-mid);
}

.contact-item svg {
    color: var(--green-mid);
    flex-shrink: 0;
}

/* Form */
.contact-form-wrap {
    background: var(--white);
    padding: 2.5rem;
    border: 1px solid var(--line);
}

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

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 0;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 300;
    color: var(--text-dark);
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--line);
    outline: none;
    transition: border-color 0.3s;
    resize: none;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-lighter);
}

.form-success {
    display: none;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    margin-top: 1rem;
    color: var(--green-mid);
    font-size: 0.9rem;
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
}

/* Footer */
.footer {
    background: var(--green-deep);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(250, 249, 247, 0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.footer-tagline {
    font-size: 0.85rem;
    color: rgba(250, 249, 247, 0.45);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(250, 249, 247, 0.6);
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--white);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p,
.footer-contact a {
    font-size: 0.9rem;
    color: rgba(250, 249, 247, 0.6);
    transition: color 0.3s;
}

.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: rgba(250, 249, 247, 0.3);
}

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

.reveal.visible {
    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; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* Mobile menu */
.nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 249, 247, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--line);
}

.nav-links.mobile-open a {
    color: var(--text-dark) !important;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .intro-grid {
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .nav-toggle {
        display: block;
    }
    
    .hero-content {
        margin-left: 0;
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.5rem);
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
    }
    
    .intro-image {
        order: -1;
    }
    
    .intro-image img {
        height: 350px;
    }
    
    .intro-image::before {
        display: none;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .menu-categories {
        grid-template-columns: 1fr;
    }
    
    .plates-grid {
        grid-template-columns: 1fr;
    }
    
    .hours-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .hero-scroll {
        display: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .nav-inner {
        padding: 0 1.25rem;
    }
    
    .intro {
        padding: 5rem 0;
    }
    
    .contact-form-wrap {
        padding: 1.5rem;
    }
    
    .hours-card {
        padding: 1.5rem;
    }
}
