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

:root {
    --plum: #5B2C6F;
    --plum-dark: #3D1D4D;
    --plum-light: #7D3C99;
    --plum-muted: #F4ECF7;
    --amber: #B8860B;
    --amber-light: #D4A843;
    --amber-dark: #8B6508;
    --cream: #FDF8F0;
    --cream-dark: #F5EDE0;
    --charcoal: #1A1A1A;
    --text-dark: #2C2C2C;
    --text-muted: #6B6B6B;
    --text-light: #FDF8F0;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Lato', 'Helvetica Neue', Arial, sans-serif;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--sans);
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--plum); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--amber); }

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

.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--plum); color: #fff; padding: 8px 16px;
    border-radius: 0 0 4px 4px; z-index: 9999; font-size: 0.875rem;
}
.skip-link:focus { top: 0; }

/* ─── Typography ─── */
.section-tag {
    font-family: var(--sans);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--amber);
    margin-bottom: 12px;
}

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

.section-title--light { color: #fff; }

.section-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
}

.section-desc--light { color: rgba(255,255,255,0.8); }

.section-header { text-align: center; margin-bottom: 64px; }
.section-header .section-desc { margin: 0 auto; }

/* ─── Buttons ─── */
.btn {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-plum {
    background: var(--plum);
    color: #fff;
    border-color: var(--plum);
}
.btn-plum:hover {
    background: var(--plum-dark);
    border-color: var(--plum-dark);
    color: #fff;
}

.btn-amber {
    background: var(--amber);
    color: #fff;
    border-color: var(--amber);
}
.btn-amber:hover {
    background: var(--amber-dark);
    border-color: var(--amber-dark);
    color: #fff;
}

.btn-light {
    background: #fff;
    color: var(--plum);
    border-color: #fff;
}
.btn-light:hover {
    background: var(--cream);
    color: var(--plum-dark);
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.6);
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* ─── Header ─── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition);
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
}

.logo-star { transition: transform var(--transition); }
.logo:hover .logo-star { transform: rotate(15deg); }

.logo--light { color: #fff; }

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

.nav-menu a {
    color: rgba(255,255,255,0.85);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; left: 0;
    width: 0; height: 1px;
    background: var(--amber);
    transition: width var(--transition);
}

.nav-menu a:hover { color: #fff; }
.nav-menu a:hover::after { width: 100%; }

.nav-cta {
    background: var(--amber) !important;
    color: #fff !important;
    padding: 10px 20px !important;
    border-radius: 4px;
    font-weight: 700 !important;
    letter-spacing: 0.06em !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--amber-dark) !important; }

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

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all var(--transition);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ─── 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(26, 26, 26, 0.55) 0%,
        rgba(61, 29, 77, 0.65) 50%,
        rgba(26, 26, 26, 0.80) 100%
    );
    z-index: 1;
}

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

.hero-tag {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 20px;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 24px;
}

.hero-sub {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}

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

.hero-scroll {
    position: absolute;
    bottom: 36px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.6);
    animation: bobble 2s ease-in-out infinite;
}

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

/* ─── About ─── */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

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

.about-img-main {
    position: absolute;
    top: 0; left: 0;
    width: 65%;
    height: 80%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.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: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
    border: 4px solid var(--cream);
}

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

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}

.about-stats {
    display: flex;
    gap: 48px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid rgba(91, 44, 111, 0.15);
}

.stat-number {
    display: block;
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--plum);
    line-height: 1;
    margin-bottom: 8px;
}

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

/* ─── Wines ─── */
.wines {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
}

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

.wines-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wines::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 26, 0.88);
    z-index: 1;
}

.wines .container { position: relative; z-index: 2; }

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

.wine-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: all var(--transition);
}

.wine-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.1);
    border-color: rgba(184, 134, 11, 0.4);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.wine-card-img {
    height: 280px;
    overflow: hidden;
}

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

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

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

.wine-card-appellation {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--amber-light);
    margin-bottom: 8px;
}

.wine-card-name {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 12px;
}

.wine-card-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 16px;
}

.wine-card-vintage {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    font-style: italic;
}

.wines-cta { text-align: center; }

/* ─── Visit ─── */
.visit {
    padding: 120px 0;
    background: var(--cream);
}

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

.visit-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 40px;
}

.visit-details {
    list-style: none;
    margin-bottom: 40px;
}

.visit-details li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(91, 44, 111, 0.12);
    font-size: 1rem;
    color: var(--text-dark);
}

.visit-details li svg {
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--amber);
}

.visit-details a {
    color: var(--plum);
    text-decoration: none;
}
.visit-details a:hover { color: var(--amber); text-decoration: underline; }

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    position: relative;
}

.visit-map a {
    display: block;
    position: relative;
    text-decoration: none;
}

.visit-map img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.map-link {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--plum);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 4px;
    transition: background var(--transition);
}

.map-link:hover { background: var(--plum-dark); color: #fff; }

/* ─── Contact ─── */
.contact {
    padding: 120px 0;
    background: var(--plum);
}

.contact .section-tag { color: var(--amber-light); }
.contact .section-title { color: #fff; }
.contact .section-desc { color: rgba(255,255,255,0.7); }

.contact-form {
    max-width: 680px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--sans);
    font-size: 1rem;
    color: #fff;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    transition: all var(--transition);
    outline: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--amber);
    background: rgba(255,255,255,0.12);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='rgba(255,255,255,0.6)' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

.form-group select option { background: var(--plum-dark); color: #fff; }

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

.btn-submit {
    width: 100%;
    padding: 16px;
    font-size: 0.9rem;
}

.form-success {
    text-align: center;
    margin-top: 20px;
    padding: 16px 24px;
    background: rgba(184, 134, 11, 0.2);
    border: 1px solid var(--amber);
    border-radius: 4px;
    color: var(--amber-light);
    font-size: 0.95rem;
}

/* ─── Footer ─── */
.footer {
    background: var(--charcoal);
    color: rgba(255,255,255,0.7);
    padding: 80px 0 0;
}

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

.footer-brand p {
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 8px;
}

.footer-brand a { color: rgba(255,255,255,0.7); }
.footer-brand a:hover { color: var(--amber-light); }

.footer h4 {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links ul { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    text-decoration: none;
    transition: color var(--transition);
}

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

.footer-hours p {
    font-size: 0.95rem;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 24px 0;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
    text-align: center;
}

/* ─── Mobile Menu Overlay ─── */
.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(26, 26, 26, 0.97);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

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

.mobile-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
}

.mobile-nav a {
    font-family: var(--serif);
    font-size: 1.75rem;
    color: #fff;
    text-decoration: none;
    transition: color var(--transition);
}

.mobile-nav a:hover { color: var(--amber-light); }

/* ─── Scroll Reveal ─── */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
    .wine-grid { grid-template-columns: repeat(2, 1fr); }
    .about-grid { gap: 48px; }
    .visit-grid { gap: 48px; }
}

@media (max-width: 768px) {
    .nav { position: relative; }

    .nav-menu {
        position: fixed;
        top: 0; right: 0;
        width: 300px;
        height: 100vh;
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        background: rgba(26, 26, 26, 0.97);
        padding: 40px;
        transform: translateX(100%);
        transition: transform 0.4s ease;
    }

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

    .nav-toggle { display: flex; }

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

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

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

    .about-stats { gap: 32px; }

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

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

    .form-row { grid-template-columns: 1fr; }

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

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; text-align: center; }
    .about-stats { flex-direction: column; gap: 24px; }
}
