/* ============================================
   La Linea Wine Bar — Styles
   Palette: Emerald (#064e3b) + Cream (#faf8f5)
   Fonts: Cormorant Garamond + Inter
   ============================================ */

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

:root {
    --emerald-950: #042f23;
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --cream-50: #faf8f5;
    --cream-100: #f5f0ea;
    --cream-200: #ede6db;
    --warm-100: #f9f7f4;
    --warm-200: #f0ebe3;
    --warm-800: #1c1917;
    --warm-700: #292524;
    --warm-600: #44403c;
    --warm-500: #57534e;
    --warm-400: #78716c;
    --warm-300: #a8a29e;
    --warm-200: #d6d3d1;
    --warm-100: #e7e5e4;
    --white: #ffffff;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--warm-800);
    background-color: var(--cream-50);
    line-height: 1.7;
    font-size: 15px;
    overflow-x: hidden;
}

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

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

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

/* ============================================
   Typography
   ============================================ */

.section-eyebrow {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.15;
    color: var(--warm-800);
    margin-bottom: 24px;
    letter-spacing: -0.01em;
}

.section-lead {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--warm-600);
    max-width: 520px;
    font-weight: 300;
}

/* ============================================
   Buttons
   ============================================ */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.06em;
    border: none;
    cursor: pointer;
    transition: all 0.35s var(--ease-out);
    text-decoration: none;
}

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

.btn-primary:hover {
    background: var(--emerald-800);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(6, 78, 59, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--warm-700);
    border: 1px solid var(--warm-200);
    border-radius: 2px;
}

.btn-ghost:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-800);
}

/* ============================================
   Navigation
   ============================================ */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 248, 245, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease-smooth);
}

.nav.scrolled {
    border-bottom-color: var(--warm-100);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 400;
    color: var(--emerald-900);
    letter-spacing: 0.02em;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.7;
}

.nav-logo-icon {
    flex-shrink: 0;
}

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

.nav-links a {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 0.04em;
    color: var(--warm-600);
    transition: color 0.3s;
    position: relative;
}

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

.nav-links a:hover {
    color: var(--emerald-800);
}

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

.nav-cta {
    padding: 9px 22px;
    background: var(--emerald-900);
    color: var(--cream-50) !important;
    border-radius: 2px;
    letter-spacing: 0.06em;
    font-size: 12px;
    transition: background 0.3s, transform 0.3s;
}

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

.nav-cta:hover {
    background: var(--emerald-800);
    color: var(--cream-50) !important;
    transform: translateY(-1px);
}

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 110;
}

.nav-toggle-line {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--warm-700);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(4px, 5px);
}

.nav-toggle.active .nav-toggle-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -5px);
}

/* Mobile nav */
.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: min(320px, 85vw);
    height: 100vh;
    background: var(--cream-50);
    flex-direction: column;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    box-shadow: -8px 0 40px rgba(0,0,0,0.08);
    z-index: 100;
}

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

.nav-links a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--warm-700);
}

.nav-links a::after {
    display: none;
}

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
    z-index: 99;
}

.nav-overlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   Hero
   ============================================ */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: var(--cream-50);
    padding-top: 72px;
}

.hero-bg-accent {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 65%;
    height: 130%;
    background: linear-gradient(135deg, var(--cream-100) 0%, var(--cream-200) 100%);
    border-radius: 0 0 0 40%;
    pointer-events: none;
    z-index: 0;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-left {
    padding-right: 20px;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: 24px;
    font-weight: 400;
}

.hero-headline {
    font-family: var(--font-display);
    font-weight: 300;
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    line-height: 1.1;
    color: var(--warm-800);
    margin-bottom: 28px;
    letter-spacing: -0.015em;
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--warm-500);
    margin-bottom: 40px;
    max-width: 440px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--warm-400);
    letter-spacing: 0.02em;
}

.meta-dot {
    color: var(--warm-200);
}

.hero-right {
    position: relative;
}

.hero-image-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    aspect-ratio: 640 / 820;
    background: var(--cream-200);
}

.hero-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out);
}

.hero-image-wrap:hover img {
    transform: scale(1.02);
}

.hero-accent-line {
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 120px;
    height: 120px;
    border-left: 1px solid var(--emerald-200, #a7f3d0);
    border-bottom: 1px solid var(--emerald-200, #a7f3d0);
    pointer-events: none;
    opacity: 0.6;
}

/* ============================================
   Divider
   ============================================ */

.divider {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.divider-line {
    height: 1px;
    background: var(--warm-100);
}

/* ============================================
   About
   ============================================ */

.about {
    padding: 120px 0;
}

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

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

.about-text-col p {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--warm-600);
    margin-bottom: 20px;
    font-weight: 300;
}

.about-stats {
    display: flex;
    gap: 32px;
    margin-top: 48px;
    padding-top: 40px;
    border-top: 1px solid var(--warm-100);
}

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

.stat-number {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 300;
    color: var(--emerald-800);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--warm-400);
    text-transform: uppercase;
}

.stat-divider {
    width: 1px;
    background: var(--warm-200);
    align-self: stretch;
}

/* ============================================
   Wine
   ============================================ */

.wine {
    padding: 100px 0;
    background: var(--warm-100);
}

.wine-header {
    text-align: center;
    margin-bottom: 64px;
}

.wine-header .section-lead {
    margin: 0 auto;
}

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

.wine-card {
    background: var(--cream-50);
    padding: 40px 28px;
    border-radius: 3px;
    border: 1px solid var(--warm-100);
    transition: all 0.4s var(--ease-out);
}

.wine-card:hover {
    border-color: var(--emerald-200, #a7f3d0);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(6, 78, 59, 0.06);
}

.wine-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    color: var(--emerald-700);
}

.wine-card-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--warm-800);
    margin-bottom: 12px;
}

.wine-card-desc {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--warm-500);
    font-weight: 300;
}

.wine-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--warm-400);
    font-style: italic;
    font-family: var(--font-display);
    font-size: 1.1rem;
}

/* ============================================
   Food
   ============================================ */

.food {
    padding: 120px 0;
}

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

.food-text-col .section-lead {
    margin-bottom: 32px;
}

.food-highlights {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.food-highlights li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 0.95rem;
    color: var(--warm-700);
    font-weight: 300;
    line-height: 1.6;
}

.highlight-dot {
    display: block;
    width: 6px;
    height: 6px;
    background: var(--emerald-600);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 9px;
}

.food-image-col img {
    border-radius: 3px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ============================================
   Visit
   ============================================ */

.visit {
    padding: 120px 0;
    background: var(--emerald-900);
    color: var(--cream-50);
}

.visit .section-eyebrow {
    color: var(--emerald-400, #6ee7b7);
}

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

.visit .section-lead {
    color: rgba(250, 248, 245, 0.65);
    margin-bottom: 48px;
}

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

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

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

.visit-detail svg {
    color: var(--emerald-400, #6ee7b7);
    flex-shrink: 0;
    margin-top: 3px;
}

.visit-detail strong {
    display: block;
    font-weight: 500;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--cream-50);
    margin-bottom: 6px;
}

.visit-detail span,
.visit-detail a {
    font-size: 0.95rem;
    color: rgba(250, 248, 245, 0.7);
    font-weight: 300;
    line-height: 1.7;
    transition: color 0.3s;
}

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

.map-placeholder {
    border-radius: 3px;
    overflow: hidden;
    aspect-ratio: 4 / 3.5;
    background: var(--emerald-800);
    border: 1px solid rgba(255,255,255,0.08);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    filter: saturate(0.3) brightness(1.1) contrast(0.95);
    transition: filter 0.4s;
}

.map-placeholder:hover iframe {
    filter: saturate(0.5) brightness(1.05) contrast(0.95);
}

/* ============================================
   Footer
   ============================================ */

.footer {
    background: var(--emerald-950);
    color: rgba(250, 248, 245, 0.5);
    padding: 56px 0 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 32px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo-icon {
    color: rgba(250, 248, 245, 0.6);
}

.footer-name {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 400;
    color: rgba(250, 248, 245, 0.85);
}

.footer-nav {
    display: flex;
    gap: 32px;
}

.footer-nav a {
    font-size: 13px;
    font-weight: 300;
    color: rgba(250, 248, 245, 0.45);
    transition: color 0.3s;
    letter-spacing: 0.03em;
}

.footer-nav a:hover {
    color: rgba(250, 248, 245, 0.85);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
    font-weight: 300;
}

.footer-bottom a {
    color: rgba(250, 248, 245, 0.45);
    transition: color 0.3s;
}

.footer-bottom a:hover {
    color: rgba(250, 248, 245, 0.85);
}

/* ============================================
   Scroll animations (progressive enhancement)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s var(--ease-out), transform 0.7s 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; }
}

/* ============================================
   Responsive
   ============================================ */

@media (max-width: 1024px) {
    .hero-inner {
        gap: 40px;
    }

    .wine-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

    .nav-links {
        display: flex;
    }

    .hero {
        padding-top: 72px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-bg-accent {
        width: 100%;
        height: 50%;
        top: auto;
        bottom: -10%;
        right: 0;
        border-radius: 50% 50% 0 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .hero-left {
        padding-right: 0;
        order: 1;
    }

    .hero-right {
        order: 2;
    }

    .hero-image-wrap {
        aspect-ratio: 4/3;
    }

    .hero-accent-line {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

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

    .about,
    .food {
        padding: 80px 0;
    }

    .about-grid,
    .food-grid,
    .visit-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-col,
    .food-image-col {
        order: -1;
    }

    .about-image-col img,
    .food-image-col img {
        aspect-ratio: 4/3;
    }

    .wine {
        padding: 80px 0;
    }

    .wine-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

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

    .visit {
        padding: 80px 0;
    }

    .visit-details {
        gap: 24px;
    }

    .footer-top {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

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

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

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

    .nav-inner {
        padding: 0 20px;
    }

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

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