/* ========================================
   The Beaten Path — Stylesheet
   Palette: Emerald Green (#064E3B) + Cream (#F5F0E8)
   Fonts: Playfair Display + Inter
   ======================================== */

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

:root {
    --emerald-900: #064E3B;
    --emerald-800: #065F46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50:  #F5F0E8;
    --cream-100: #EDE6D6;
    --cream-200: #E8DFC8;
    --neutral-50:  #FAFAF8;
    --neutral-100: #F5F5F4;
    --neutral-200: #E7E5E4;
    --neutral-300: #D4D2D0;
    --neutral-400: #A8A29E;
    --neutral-500: #78716C;
    --neutral-600: #57534E;
    --neutral-700: #44403C;
    --neutral-800: #292524;
    --neutral-900: #1C1917;
    
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
    
    --space-xs:  0.5rem;
    --space-sm:  0.75rem;
    --space-md:  1rem;
    --space-lg:  1.5rem;
    --space-xl:  2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --shadow-sm: 0 1px 2px rgba(6, 78, 59, 0.06);
    --shadow-md: 0 4px 12px rgba(6, 78, 59, 0.08);
    --shadow-lg: 0 8px 30px rgba(6, 78, 59, 0.10);
    --shadow-xl: 0 16px 50px rgba(6, 78, 59, 0.12);
}

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

body {
    font-family: var(--font-body);
    color: var(--neutral-800);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

/* ── Typography ── */
.section-eyebrow {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.15;
    color: var(--emerald-900);
    margin-bottom: var(--space-lg);
}

.section-sub {
    font-size: 1.0625rem;
    color: var(--neutral-500);
    max-width: 520px;
    line-height: 1.65;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.8125rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

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

.btn--primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

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

.btn--ghost:hover {
    background: rgba(245, 240, 232, 0.1);
    border-color: var(--cream-50);
}

.btn--full {
    width: 100%;
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(6, 78, 59, 0.0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    transition: all 0.35s ease;
    border-bottom: 1px solid transparent;
}

.nav.scrolled {
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom-color: var(--cream-200);
    box-shadow: var(--shadow-sm);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream-50);
    transition: color 0.3s ease;
}

.nav.scrolled .nav__logo {
    color: var(--emerald-900);
}

.nav__logo-icon {
    flex-shrink: 0;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav__link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.85);
    transition: color 0.25s ease;
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width 0.25s ease;
}

.nav__link:hover::after {
    width: 100%;
}

.nav__link:hover {
    color: var(--cream-50);
}

.nav.scrolled .nav__link {
    color: var(--neutral-600);
}

.nav.scrolled .nav__link:hover {
    color: var(--emerald-900);
}

.nav__link--cta {
    padding: 0.5rem 1.125rem;
    background: var(--cream-50);
    color: var(--emerald-900) !important;
    border-radius: var(--radius-md);
    font-weight: 600;
}

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

.nav__link--cta:hover {
    background: var(--cream-100);
}

.nav.scrolled .nav__link--cta {
    background: var(--emerald-900);
    color: var(--cream-50) !important;
}

.nav__link--cta:hover {
    background: var(--emerald-800);
}

/* Mobile toggle */
.nav__toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    color: var(--cream-50);
    transition: color 0.3s ease;
}

.nav.scrolled .nav__toggle {
    color: var(--emerald-900);
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    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, 78, 59, 0.55) 0%,
        rgba(6, 78, 59, 0.65) 50%,
        rgba(6, 78, 59, 0.80) 100%
    );
}

.hero__content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 780px;
    padding: 0 var(--space-xl);
}

.hero__eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.75);
    margin-bottom: var(--space-lg);
}

.hero__headline {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--cream-50);
    margin-bottom: var(--space-lg);
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(245, 240, 232, 0.8);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

.hero__actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    color: rgba(245, 240, 232, 0.5);
    animation: bounce 2s infinite;
}

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

/* ── Sections ── */
.section {
    padding: var(--space-4xl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

/* ── About ── */
.about {
    background: var(--neutral-50);
}

.about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about__image {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6/7;
}

.about__body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
}

.about__stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid var(--neutral-200);
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat__number {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-900);
}

.stat__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--neutral-500);
    letter-spacing: 0.04em;
}

/* ── Products ── */
.products {
    background: var(--cream-50);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-200);
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--emerald-700);
}

.product-card__img {
    overflow: hidden;
    aspect-ratio: 4/3;
}

.product-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-card__img img {
    transform: scale(1.05);
}

.product-card__body {
    padding: var(--space-xl);
}

.product-card__title {
    font-family: var(--font-display);
    font-size: 1.3125rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: var(--space-sm);
}

.product-card__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--neutral-500);
}

/* ── Visit ── */
.visit {
    background: var(--neutral-50);
}

.visit__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: stretch;
}

.visit__info {
    padding: var(--space-3xl);
    background: var(--emerald-900);
    border-radius: var(--radius-xl);
    color: var(--cream-50);
}

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

.visit__info .section-title {
    color: var(--cream-50);
}

.visit__details {
    margin-top: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.visit-detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.visit-detail svg {
    flex-shrink: 0;
    margin-top: 0.125rem;
    color: var(--emerald-600);
}

.visit-detail strong {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.6);
    margin-bottom: 0.375rem;
}

.visit-detail p {
    font-size: 1rem;
    color: var(--cream-50);
    line-height: 1.6;
}

.visit-detail a {
    color: var(--cream-50);
    transition: color 0.2s ease;
}

.visit-detail a:hover {
    color: var(--cream-200);
}

.visit__map {
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 400px;
    box-shadow: var(--shadow-lg);
}

/* ── Contact ── */
.contact {
    background: var(--cream-50);
}

.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

.contact__body {
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--neutral-500);
    margin-bottom: var(--space-2xl);
}

.contact__quick {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact__quick-item {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--emerald-700);
    transition: color 0.2s ease;
}

.contact__quick-item:hover {
    color: var(--emerald-900);
}

/* ── Contact Form ── */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

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

.form-label {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--neutral-600);
}

.form-input {
    padding: 0.75rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: var(--neutral-50);
    border: 1.5px solid var(--neutral-200);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.form-input::placeholder {
    color: var(--neutral-400);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--space-md);
    padding: var(--space-3xl) var(--space-xl);
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    border: 1px solid var(--neutral-200);
}

.contact-form__success svg {
    color: var(--emerald-600);
}

.contact-form__success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--emerald-900);
}

.contact-form__success p {
    font-size: 0.9375rem;
    color: var(--neutral-500);
    line-height: 1.6;
    max-width: 300px;
}

/* ── Footer ── */
.footer {
    background: var(--emerald-900);
    color: var(--cream-50);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xl);
    text-align: center;
}

.footer__brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--cream-50);
}

.footer__brand p {
    font-size: 0.875rem;
    color: rgba(245, 240, 232, 0.6);
}

.footer__brand a {
    color: rgba(245, 240, 232, 0.6);
    transition: color 0.2s ease;
}

.footer__brand a:hover {
    color: var(--cream-50);
}

.footer__links {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
    justify-content: center;
}

.footer__links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(245, 240, 232, 0.7);
    transition: color 0.2s ease;
}

.footer__links a:hover {
    color: var(--cream-50);
}

.footer__copyright {
    font-size: 0.8125rem;
    color: rgba(245, 240, 232, 0.4);
}

/* ── Scroll Animations ── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .about__grid {
        gap: var(--space-2xl);
    }
}

@media (max-width: 768px) {
    .nav__toggle {
        display: block;
    }
    
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--emerald-900);
        flex-direction: column;
        justify-content: center;
        gap: var(--space-xl);
        padding: var(--space-2xl);
        transition: right 0.35s ease;
        box-shadow: -8px 0 30px rgba(0, 0, 0, 0.2);
    }
    
    .nav__menu.open {
        right: 0;
    }
    
    .nav__menu .nav__link {
        color: rgba(245, 240, 232, 0.85);
        font-size: 1rem;
    }
    
    .nav__menu .nav__link--cta {
        background: var(--cream-50);
        color: var(--emerald-900) !important;
        text-align: center;
        width: 100%;
        padding: 0.75rem 1.125rem;
    }
    
    .nav__overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }
    
    .nav__overlay.active {
        display: block;
    }
    
    .about__grid {
        grid-template-columns: 1fr;
    }
    
    .about__image {
        order: -1;
        aspect-ratio: 4/3;
    }
    
    .products__grid {
        grid-template-columns: 1fr;
    }
    
    .visit__inner {
        grid-template-columns: 1fr;
    }
    
    .visit__map {
        min-height: 280px;
    }
    
    .contact__grid {
        grid-template-columns: 1fr;
    }
    
    .hero__actions {
        flex-direction: column;
    }
    
    .hero__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    .nav__inner {
        padding: var(--space-md) var(--space-md);
    }
    
    .section {
        padding: var(--space-3xl) 0;
    }
    
    .about__stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
}
