/* ============================================
   SMITTEN WINERY — Bold Editorial Style
   Forest Green + Off-White Palette
   ============================================ */

/* ---------- RESET & BASE ---------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --forest: #0F3D2E;
    --forest-light: #1A5C43;
    --forest-dark: #0A2A1F;
    --cream: #F5F0E8;
    --cream-light: #FAF7F2;
    --cream-dark: #E8E0D0;
    --gold: #C8A96E;
    --gold-light: #D4B97A;
    --text-dark: #1A1A1A;
    --text-medium: #3D3D3D;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', 'Helvetica Neue', Arial, 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);
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- TYPOGRAPHY ---------- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--forest);
}

.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 24px;
    color: var(--forest);
}

.lead {
    font-size: 1.125rem;
    color: var(--text-medium);
    line-height: 1.8;
    max-width: 560px;
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 16px 36px;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--forest-light);
    border-color: var(--forest-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(15, 61, 46, 0.3);
}

.btn-outline-light {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
}

.btn-sm {
    padding: 10px 24px;
    font-size: 0.75rem;
}

.btn-full {
    width: 100%;
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 240, 232, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(15, 61, 46, 0.08);
    transition: all 0.4s var(--ease-out);
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-mark {
    width: 44px;
    height: 44px;
    background: var(--forest);
    color: var(--white);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: transform 0.3s var(--ease-out);
}

.logo:hover .logo-mark {
    transform: rotate(-5deg) scale(1.05);
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--forest);
    letter-spacing: 0.02em;
}

.site-nav ul {
    display: flex;
    align-items: center;
    gap: 36px;
}

.site-nav a {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-medium);
    position: relative;
    transition: color 0.3s ease;
}

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

.site-nav a:hover {
    color: var(--forest);
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

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

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--forest);
    transition: all 0.3s var(--ease-out);
}

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

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}

.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.mobile-menu-btn[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;
    background: var(--forest-dark);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 42, 31, 0.85) 0%,
        rgba(15, 61, 46, 0.7) 40%,
        rgba(26, 92, 67, 0.6) 70%,
        rgba(15, 61, 46, 0.8) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.75rem, 7vw, 5.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.08;
    margin-bottom: 28px;
    font-style: italic;
}

.hero-headline br {
    display: none;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 44px;
    font-weight: 300;
}

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

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.6875rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    animation: float 2.5s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
}

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

/* ---------- SECTIONS ---------- */
.section {
    padding: 120px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 72px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-light);
    line-height: 1.8;
}

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

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

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    border-radius: 4px;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--gold);
    border-radius: 4px;
    z-index: -1;
}

.about-content {
    padding: 20px 0;
}

.about-content .lead {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-medium);
    margin-bottom: 16px;
    font-size: 1.0rem;
}

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

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--forest);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-light);
}

/* ---------- WINES ---------- */
.wines {
    background: var(--cream);
}

.wine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 72px;
}

.wine-card {
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
    transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.wine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(15, 61, 46, 0.12);
}

.wine-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
}

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

.wine-card:hover .wine-card-image img {
    transform: scale(1.05);
}

.wine-type {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--forest);
    color: var(--white);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 2px;
}

.wine-card-body {
    padding: 28px 24px;
}

.wine-card-body h3 {
    font-size: 1.375rem;
    margin-bottom: 10px;
    color: var(--forest);
}

.wine-card-body p {
    font-size: 0.9375rem;
    color: var(--text-light);
    line-height: 1.7;
}

.wine-cta {
    text-align: center;
    background: var(--forest);
    border-radius: 4px;
    padding: 56px 40px;
}

.wine-cta p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.wine-cta .btn-primary {
    background: var(--white);
    color: var(--forest);
    border-color: var(--white);
}

.wine-cta .btn-primary:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--forest-dark);
}

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

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

.visit-content {
    order: 1;
}

.visit-image {
    order: 2;
}

.visit-image img {
    width: 100%;
    height: 640px;
    object-fit: cover;
    border-radius: 4px;
}

.visit-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.visit-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.visit-item svg {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-item strong {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    color: var(--forest);
    margin-bottom: 4px;
}

.visit-item p {
    color: var(--text-medium);
    font-size: 0.9375rem;
    line-height: 1.6;
}

.visit-item a {
    color: var(--forest);
    font-weight: 700;
    transition: color 0.3s ease;
}

.visit-item a:hover {
    color: var(--gold);
}

/* ---------- CONTACT ---------- */
.contact {
    background: var(--forest);
    color: var(--white);
}

.contact .section-eyebrow {
    color: var(--gold);
}

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

.contact .lead {
    color: rgba(255, 255, 255, 0.7);
}

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

.contact-details {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9375rem;
}

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

.contact-item a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--gold);
}

.contact-form-wrapper {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 48px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    padding: 14px 16px;
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.1);
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(200, 169, 110, 0.15);
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: 4px;
    color: var(--gold-light);
    font-size: 0.9375rem;
}

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

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--forest-dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 80px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 64px;
    padding-bottom: 64px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text {
    color: var(--white);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    max-width: 300px;
}

.footer-links h4,
.footer-hours h4 {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

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

.footer-hours p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 4px;
}

.footer-hours a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-hours a:hover {
    color: var(--gold);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 32px 0;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

.footer-bottom .disclaimer {
    font-size: 0.75rem;
}

/* ---------- MOBILE NAV OVERLAY ---------- */
.mobile-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 42, 31, 0.98);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay nav ul {
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-nav-overlay nav a {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--white);
    letter-spacing: 0.02em;
}

.mobile-nav-overlay nav a:hover {
    color: var(--gold);
}

/* ---------- SCROLL REVEAL (below fold only) ---------- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .wine-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-grid,
    .visit-grid,
    .contact-grid {
        gap: 48px;
    }
}

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

    .mobile-menu-btn {
        display: block;
    }

    .header-inner {
        height: 70px;
    }

    .hero {
        min-height: 100svh;
    }

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

    .hero-headline br {
        display: block;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }

    .section {
        padding: 80px 0;
    }

    .about-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .visit-content {
        order: 1;
    }

    .visit-image {
        order: 2;
    }

    .about-image img,
    .visit-image img {
        height: 400px;
    }

    .about-image::before {
        display: none;
    }

    .about-stats {
        gap: 32px;
    }

    .wine-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .contact-form-wrapper {
        padding: 32px 24px;
    }

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

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

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

    .hero-headline {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .about-stats {
        flex-direction: column;
        gap: 24px;
    }
}

/* ---------- 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;
    }

    .scroll-indicator {
        animation: none;
    }
}
