/* ========================================
   Smokin' Barrel Winery — Styles
   Charcoal + Coral | Playfair Display + Inter
   ======================================== */

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

:root {
    --charcoal: #1a1a1a;
    --charcoal-light: #2d2d2d;
    --charcoal-mid: #3a3a3a;
    --coral: #c45a4a;
    --coral-light: #d4756a;
    --coral-dark: #a84638;
    --cream: #f5f0eb;
    --cream-light: #faf7f4;
    --cream-dark: #e8e0d8;
    --gold: #c9a96e;
    --gold-light: #d4b87a;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --text-light: #8a8a8a;
    --white: #ffffff;
    --serif: 'Playfair Display', Georgia, serif;
    --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --shadow-sm: 0 1px 3px rgba(26,26,26,0.08);
    --shadow-md: 0 4px 20px rgba(26,26,26,0.1);
    --shadow-lg: 0 8px 40px rgba(26,26,26,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--sans);
    color: var(--text-primary);
    background: var(--cream-light);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    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(--sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 16px;
}

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

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
}

.lead-text {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--sans);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--coral-dark);
    border-color: var(--coral-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(196, 90, 74, 0.3);
}

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

.btn-ghost:hover {
    background: var(--white);
    color: var(--charcoal);
    border-color: var(--white);
}

.btn-ghost-light {
    background: transparent;
    color: var(--coral);
    border-color: var(--coral);
}

.btn-ghost-light:hover {
    background: var(--coral);
    color: var(--white);
}

.btn-accent {
    background: var(--coral);
    color: var(--white);
    border: none;
    padding: 10px 24px;
    font-size: 0.8rem;
}

.btn-accent:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
}

.btn-full {
    width: 100%;
}

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

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.logo-icon {
    color: var(--coral-light);
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

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

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

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

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

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

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

/* --- Hero --- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: 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(26,26,26,0.45) 50%,
        rgba(26,26,26,0.7) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 80px;
    max-width: 720px;
}

.hero-eyebrow {
    font-family: var(--sans);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--coral-light);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.3s forwards;
}

.hero-headline {
    font-family: var(--serif);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.08;
    color: var(--white);
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.8s 0.5s forwards;
}

.hero-sub {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 520px;
    opacity: 0;
    animation: fadeUp 0.8s 0.7s forwards;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.8s 0.9s forwards;
}

.hero-scroll {
    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.6);
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 48px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
    animation: scrollPulse 2s infinite;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% { opacity: 0.4; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

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

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

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

.about-img-main {
    width: 75%;
    height: 450px;
    border-radius: 8px;
    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: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--cream-light);
}

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

.about-badge {
    position: absolute;
    top: 50%;
    right: 20%;
    transform: translateY(-50%);
    background: var(--charcoal);
    color: var(--white);
    padding: 24px 20px;
    border-radius: 8px;
    text-align: center;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.about-badge .badge-number {
    display: block;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--coral-light);
}

.about-badge .badge-text {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-top: 4px;
}

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

.about-content .section-title {
    margin-bottom: 28px;
}

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

.stat {
    text-align: left;
}

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

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

/* --- Wines --- */
.wines {
    padding: 120px 0;
    background: var(--charcoal);
}

.wines .section-eyebrow {
    color: var(--coral-light);
}

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

.wines .section-subtitle {
    color: rgba(255,255,255,0.6);
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

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

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

.wine-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-color: rgba(196, 90, 74, 0.3);
}

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

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

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

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

.wine-name {
    font-family: var(--serif);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 10px;
    line-height: 1.3;
}

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

.wine-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--coral-light);
    border: 1px solid rgba(196, 90, 74, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 6px;
    margin-bottom: 6px;
}

/* --- Tasting --- */
.tasting {
    padding: 120px 0;
    background: var(--cream);
}

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

.tasting-features {
    list-style: none;
    margin: 32px 0 40px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tasting-features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.tasting-features svg {
    color: var(--coral);
    flex-shrink: 0;
    margin-top: 2px;
}

.tasting-visual {
    border-radius: 8px;
    overflow: hidden;
    height: 560px;
    box-shadow: var(--shadow-lg);
}

.tasting-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Events --- */
.events {
    padding: 120px 0;
    background: var(--cream-light);
}

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

.events-visual {
    border-radius: 8px;
    overflow: hidden;
    height: 400px;
    box-shadow: var(--shadow-lg);
}

.events-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 32px 0 40px;
}

.event-item h4 {
    font-family: var(--serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 6px;
}

.event-item p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.visit .section-eyebrow {
    color: var(--coral-light);
}

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

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

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

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

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

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

.visit-item p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.6;
}

.visit-item a {
    color: var(--coral-light);
    transition: var(--transition);
}

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

.visit-map {
    border-radius: 8px;
    overflow: hidden;
    height: 420px;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(255,255,255,0.08);
}

/* --- CTA / Contact --- */
.cta {
    padding: 120px 0;
    background: var(--cream);
}

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

.cta-content .section-title {
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-form-wrap {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
}

.cta-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--cream-dark);
    border-radius: 4px;
    font-family: var(--sans);
    font-size: 0.95rem;
    color: var(--text-primary);
    background: var(--cream-light);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--coral);
    box-shadow: 0 0 0 3px rgba(196, 90, 74, 0.1);
}

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

.form-success {
    text-align: center;
    padding: 40px 20px;
}

.form-success svg {
    color: var(--coral);
    margin: 0 auto 16px;
}

.form-success h3 {
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* --- Footer --- */
.footer {
    background: var(--charcoal);
    padding: 80px 0 0;
}

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

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

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-hours h4 {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

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

.footer-hours p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
}

.footer-hours .hours-note {
    font-size: 0.8rem;
    color: rgba(255,255,255,0.3);
    margin-top: 8px;
    font-style: italic;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

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

/* --- Scroll Animations --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* --- Responsive --- */
@media (max-width: 1024px) {
    .about-grid,
    .tasting-layout,
    .events-layout,
    .visit-layout,
    .cta-inner {
        gap: 48px;
    }

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

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

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

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        justify-content: center;
        gap: 24px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1rem;
    }

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .about-grid,
    .tasting-layout,
    .events-layout,
    .visit-layout,
    .cta-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .about-images {
        height: 400px;
    }

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

    .tasting-visual {
        height: 360px;
        order: -1;
    }

    .events-visual {
        height: 280px;
    }

    .visit-map {
        height: 280px;
    }

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

    .cta-form-wrap {
        padding: 28px;
    }

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

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

    .hero-actions {
        flex-direction: column;
    }

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

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

    .about, .wines, .tasting, .events, .visit, .cta {
        padding: 80px 0;
    }

    .about-images {
        height: 320px;
    }

    .about-img-main {
        height: 300px;
    }

    .about-img-secondary {
        height: 200px;
    }

    .about-badge {
        padding: 16px 14px;
    }

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

    .wine-card-img {
        height: 220px;
    }
}
