/* ============================================
   Vineyards At Bennetts Creek — Stylesheet
   Palette: Emerald (#064e3b) + Cream (#faf8f5)
   ============================================ */

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

:root {
    --color-emerald-900: #042e23;
    --color-emerald-800: #064e3b;
    --color-emerald-700: #065f46;
    --color-emerald-600: #059669;
    --color-emerald-500: #10b981;
    --color-cream-50:  #faf8f5;
    --color-cream-100: #f5f0e8;
    --color-cream-200: #ece4d6;
    --color-warm-gray: #6b6560;
    --color-dark:      #1a1816;
    --color-white:     #ffffff;

    --font-serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans:   'Inter', system-ui, -apple-system, sans-serif;

    --radius-sm:  6px;
    --radius-md:  12px;
    --radius-lg:  20px;

    --shadow-sm:  0 1px 3px rgba(6, 78, 59, 0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 16px rgba(6, 78, 59, 0.10), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg:  0 12px 40px rgba(6, 78, 59, 0.14), 0 4px 12px rgba(0,0,0,0.08);

    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-sans);
    color: var(--color-dark);
    background-color: var(--color-cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

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 24px;
}

/* --- Typography --- */
.section-eyebrow {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-emerald-600);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-emerald-800);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-warm-gray);
    max-width: 560px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 64px;
}

.section-header.center {
    text-align: center;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

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

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

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

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

.btn-full {
    width: 100%;
    justify-content: center;
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-emerald-800);
    line-height: 1.2;
}

.logo-text-light {
    color: var(--color-cream-50);
}

.logo-footer {
    margin-bottom: 12px;
}

/* --- Nav --- */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav-menu a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-emerald-800);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-menu a:hover {
    background-color: rgba(6, 78, 59, 0.08);
    color: var(--color-emerald-600);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--color-emerald-800);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 2px;
    background: var(--color-emerald-800);
    transition: var(--transition);
}

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

.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;
    background-color: var(--color-emerald-900);
}

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

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        160deg,
        rgba(4, 46, 35, 0.92) 0%,
        rgba(6, 78, 59, 0.82) 50%,
        rgba(6, 78, 59, 0.70) 100%
    );
}

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

.hero-eyebrow {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-emerald-500);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(250, 248, 245, 0.80);
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto 40px;
}

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

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(250, 248, 245, 0.50);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.hero-scroll svg {
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(6px); }
}

/* --- About --- */
.about {
    padding: 100px 0;
    background-color: var(--color-cream-50);
}

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

.about-images {
    position: relative;
    height: 600px;
}

.about-img-main {
    position: absolute;
    top: 0;
    left: 0;
    width: 75%;
    height: 80%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 55%;
    height: 50%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 5px solid var(--color-cream-50);
}

.about-img-secondary img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-text .lead {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    color: var(--color-emerald-800);
    line-height: 1.6;
    margin-bottom: 16px;
}

.about-text p {
    color: var(--color-warm-gray);
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.about-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--color-cream-200);
}

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

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

.stat-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-warm-gray);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* --- Products --- */
.products {
    padding: 100px 0;
    background-color: var(--color-cream-100);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.product-card {
    background: var(--color-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-img {
    height: 240px;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-body {
    padding: 28px;
}

.product-title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-emerald-800);
    margin-bottom: 10px;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--color-warm-gray);
    line-height: 1.7;
}

/* --- Visit --- */
.visit {
    padding: 100px 0;
    background-color: var(--color-cream-50);
}

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

.visit-info .visit-desc {
    font-size: 1rem;
    color: var(--color-warm-gray);
    line-height: 1.7;
    margin-bottom: 36px;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 36px;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit-detail dt {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(6, 78, 59, 0.08);
    border-radius: var(--radius-sm);
    color: var(--color-emerald-700);
}

.visit-detail dd {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.visit-detail strong {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-emerald-800);
}

.visit-detail span,
.visit-detail a {
    font-size: 0.95rem;
    color: var(--color-warm-gray);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--color-emerald-600);
    text-decoration: underline;
}

.visit-map .map-placeholder {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.visit-map .map-placeholder img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.map-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--color-emerald-800);
    color: var(--color-white);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
}

.map-link:hover {
    background: var(--color-emerald-700);
    transform: translateY(-2px);
}

/* --- Contact --- */
.contact {
    padding: 100px 0;
    background-color: var(--color-emerald-800);
}

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

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

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

.contact-desc {
    font-size: 1rem;
    color: rgba(250, 248, 245, 0.70);
    line-height: 1.7;
    margin-bottom: 32px;
}

.contact-methods {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-methods li {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(250, 248, 245, 0.85);
    font-size: 0.95rem;
}

.contact-methods a {
    color: var(--color-emerald-500);
    transition: var(--transition);
}

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

.contact-methods svg {
    flex-shrink: 0;
    color: var(--color-emerald-500);
}

/* --- Form --- */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
}

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

.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-emerald-800);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--color-dark);
    background: var(--color-cream-50);
    border: 2px solid var(--color-cream-200);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--color-emerald-600);
    background: var(--color-white);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.12);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--color-warm-gray);
    opacity: 0.6;
}

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

.form-success {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px;
    background: rgba(6, 78, 59, 0.06);
    border-radius: var(--radius-sm);
    color: var(--color-emerald-800);
    font-size: 0.9rem;
    font-weight: 500;
}

.form-success svg {
    color: var(--color-emerald-600);
    flex-shrink: 0;
}

/* --- Footer --- */
.footer {
    background: var(--color-emerald-900);
    padding: 64px 0 0;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.55);
    line-height: 1.7;
    max-width: 280px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.65);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--color-white);
    padding-left: 4px;
}

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

.footer-contact a {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.65);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(250, 248, 245, 0.55);
}

.footer-bottom {
    border-top: 1px solid rgba(250, 248, 245, 0.10);
    padding: 24px 0;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(250, 248, 245, 0.35);
}

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

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

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

    .nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(320px, 85vw);
        height: 100dvh;
        background: var(--color-cream-50);
        flex-direction: column;
        align-items: stretch;
        padding: 96px 32px 40px;
        gap: 4px;
        box-shadow: -8px 0 32px rgba(0,0,0,0.15);
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    }

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

    .nav-menu a {
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: var(--radius-sm);
    }

    .nav-menu a:hover {
        background-color: rgba(6, 78, 59, 0.08);
    }

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

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

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

    .about-grid,
    .products-grid,
    .visit-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        height: 400px;
        order: -1;
    }

    .about-stats {
        gap: 24px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .visit-map .map-placeholder img {
        height: 280px;
    }

    .contact-form-wrapper {
        padding: 28px;
    }

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

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

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

    .about {
        padding: 64px 0;
    }

    .products {
        padding: 64px 0;
    }

    .visit {
        padding: 64px 0;
    }

    .contact {
        padding: 64px 0;
    }
}
