/* ─────────────────────────────────────────────
   Jesse's Hideaway — Styles
   Palette: Emerald (#047857 / #065F46) + Cream (#FDF8F0 / #F5EFE6)
   Fonts: Playfair Display (headlines) + Inter (body)
──────────────────────────────────────────── */

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #1a1a1a;
    background-color: #FDF8F0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

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

/* ── Skip Link ── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: #047857;
    color: #fff;
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 9999;
    font-weight: 600;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* ── Typography ── */
.section-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #047857;
    margin-bottom: 16px;
}

.section-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.15;
    color: #065F46;
    margin-bottom: 24px;
}

.section-sub {
    font-size: 1.125rem;
    color: #4a4a4a;
    max-width: 560px;
    line-height: 1.7;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 100px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: #047857;
    color: #fff;
    border-color: #047857;
}
.btn-primary:hover,
.btn-primary:focus-visible {
    background: #065F46;
    border-color: #065F46;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(4, 120, 87, 0.3);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
    background: #fff;
    color: #047857;
    border-color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 40px;
    font-size: 16px;
}

/* ─────────────────────────────────────────────
   Header / Navigation
──────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(253, 248, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(4, 120, 87, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #065F46;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #047857;
    color: #fff;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.main-nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
}

.main-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #1a1a1a;
    transition: color 0.2s;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #047857;
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: #047857;
}

.nav-cta {
    background: #047857;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s ease !important;
}

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

.nav-cta:hover {
    background: #065F46 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(4,120,87,0.3);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    position: relative;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #1a1a1a;
    left: 0;
    transition: all 0.3s ease;
}

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

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

/* ─────────────────────────────────────────────
   Hero
──────────────────────────────────────────── */
.hero {
    position: relative;
    min-height: 100vh;
    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;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(6, 95, 70, 0.72) 0%,
        rgba(4, 72, 51, 0.82) 50%,
        rgba(2, 40, 28, 0.90) 100%
    );
}

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

.hero-eyebrow {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
}

.hero-headline {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 7vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

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

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

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

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(255,255,255,0.5);
    font-size: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ─────────────────────────────────────────────
   About
──────────────────────────────────────────── */
.about {
    padding: 120px 0;
    background: #FDF8F0;
}

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

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 24px 64px rgba(4, 120, 87, 0.15);
}

.about-text p {
    color: #4a4a4a;
    margin-bottom: 20px;
    font-size: 1.0625rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid rgba(4, 120, 87, 0.15);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: #047857;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

/* ─────────────────────────────────────────────
   Menu
──────────────────────────────────────────── */
.menu {
    padding: 120px 0;
    background: #065F46;
}

.menu .section-eyebrow {
    color: #6ee7b7;
}

.menu .section-headline {
    color: #fff;
}

.menu .section-sub {
    color: rgba(255,255,255,0.7);
}

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

.section-header .section-sub {
    margin: 0 auto;
}

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

.menu-tab {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 12px 28px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    background: transparent;
    color: rgba(255,255,255,0.7);
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-tab:hover {
    border-color: rgba(255,255,255,0.5);
    color: #fff;
}

.menu-tab.active {
    background: #fff;
    border-color: #fff;
    color: #065F46;
}

.menu-panel {
    display: none;
}

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

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

.menu-item {
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}

.menu-item:hover {
    background: rgba(255,255,255,0.04);
}

.menu-item-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.menu-item-desc {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

/* ─────────────────────────────────────────────
   Gallery
──────────────────────────────────────────── */
.gallery {
    padding: 120px 0;
    background: #FDF8F0;
}

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

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
}

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

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

.gallery-item--wide {
    grid-column: span 2;
    grid-row: span 2;
}

/* ─────────────────────────────────────────────
   Visit
──────────────────────────────────────────── */
.visit {
    padding: 120px 0;
    background: #F5EFE6;
}

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

.visit-detail {
    display: flex;
    gap: 20px;
    margin-bottom: 36px;
}

.visit-icon {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    color: #047857;
    margin-top: 2px;
}

.visit-detail-label {
    font-family: 'Playfair Display', serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: #065F46;
    margin-bottom: 6px;
}

.visit-detail p {
    color: #4a4a4a;
    line-height: 1.7;
}

.visit-detail a {
    color: #047857;
    font-weight: 600;
    transition: color 0.2s;
}

.visit-detail a:hover {
    color: #065F46;
    text-decoration: underline;
}

.visit-map {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(4, 120, 87, 0.12);
    min-height: 480px;
}

/* ─────────────────────────────────────────────
   Footer
──────────────────────────────────────────── */
.site-footer {
    background: #042e22;
    color: rgba(255,255,255,0.6);
    padding: 64px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 32px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-brand .logo-mark {
    width: 48px;
    height: 48px;
    font-size: 16px;
}

.footer-brand .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #6ee7b7;
}

.footer-copy {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

/* ─────────────────────────────────────────────
   Scroll Reveal (progressive enhancement)
──────────────────────────────────────────── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(32px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default: always visible (no-JS safe) */
.reveal {
    opacity: 1;
    transform: none;
}

/* ─────────────────────────────────────────────
   Responsive
──────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid {
        gap: 48px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

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

    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: #FDF8F0;
        padding: 100px 32px 40px;
        transform: translateX(100%);
        transition: transform 0.35s ease;
        box-shadow: -8px 0 32px rgba(0,0,0,0.1);
    }

    .main-nav.open {
        transform: translateX(0);
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .main-nav a {
        font-size: 18px;
    }

    .nav-cta {
        margin-top: 16px;
    }

    .hero-headline {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        max-height: 400px;
    }

    .about-image img {
        height: 100%;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 200px);
    }

    .gallery-item--wide {
        grid-column: span 2;
        grid-row: span 1;
    }

    .visit-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .visit-map {
        min-height: 320px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .menu-tabs {
        flex-direction: column;
        align-items: center;
    }

    .menu-tab {
        width: 100%;
        max-width: 240px;
        text-align: center;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .gallery-item--wide {
        grid-column: span 1;
    }

    .gallery-item {
        height: 220px;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}
