/* ========================================
   Appalachian High Country Wine Trail — Shared Styles
   ======================================== */

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

:root {
    --wine: #722f37;
    --wine-dark: #5a2129;
    --wine-light: #8b3a44;
    --gold: #c5a547;
    --gold-light: #d4b85a;
    --cream: #faf5ef;
    --sage: #6b7c5e;
    --sage-light: #8a9e78;
    --forest: #2d4a2d;
    --white: #ffffff;
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-400: #9ca3af;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 48px rgba(0,0,0,0.12);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

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

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; color: var(--wine); line-height: 1.2; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.3rem; }

a { color: var(--wine); text-decoration: none; transition: color 0.3s; }
a:hover { color: var(--gold); }

/* ========== Navigation ========== */
nav {
    position: fixed; top: 0; left: 0; right: 0;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 0.7rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}
.nav-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; text-decoration: none; gap: 0.5rem; }
.nav-logo i { font-size: 1.3rem; color: var(--wine); }
.nav-logo span { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 0.95rem; color: var(--wine); white-space: nowrap; }
.nav-links { display: flex; list-style: none; gap: 1.3rem; align-items: center; }
.nav-links a { color: var(--gray-700); text-decoration: none; font-weight: 500; font-size: 0.9rem; transition: color 0.3s; }
.nav-links a:hover { color: var(--wine); }
.nav-links .btn-nav { background: var(--wine); color: #fff; padding: 0.5rem 1.2rem; border-radius: 8px; font-weight: 600; }
.nav-links .btn-nav:hover { background: var(--wine-dark); color: #fff; }
.mobile-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--wine); cursor: pointer; }

/* ========== Hero ========== */
.hero {
    position: relative; padding: 8rem 0 5rem; min-height: 90vh;
    display: flex; align-items: center;
    background: linear-gradient(135deg, var(--wine-dark) 0%, var(--wine) 40%, var(--forest) 100%);
    overflow: hidden;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 400"><path fill="%23ffffff08" d="M0,250 C150,200 350,180 500,220 C650,260 800,200 1000,180 C1150,165 1300,200 1440,250 L1440,400 L0,400Z"/><path fill="%23ffffff05" d="M0,300 C200,270 400,260 600,280 C800,300 1000,260 1200,270 C1350,280 1440,300 1440,320 L1440,400 L0,400Z"/></svg>') no-repeat bottom / cover;
}
.hero .container { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(197,165,71,0.2); color: var(--gold-light);
    padding: 0.4rem 1.2rem; border-radius: 20px;
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1.5rem;
    border: 1px solid rgba(197,165,71,0.3);
}
.hero h1 { color: #fff; margin-bottom: 1rem; font-size: clamp(2.4rem, 5.5vw, 3.8rem); }
.hero h1 .accent { color: var(--gold); }
.hero .tagline { color: rgba(255,255,255,0.8); font-size: 1.2rem; margin-bottom: 2.5rem; max-width: 650px; margin-left: auto; margin-right: auto; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; }

.btn-primary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: var(--gold); color: var(--wine-dark); padding: 0.9rem 2rem;
    border-radius: 10px; font-weight: 700; font-size: 1rem;
    border: none; cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(197,165,71,0.3); color: var(--wine-dark); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(255,255,255,0.12); color: #fff; padding: 0.9rem 2rem;
    border-radius: 10px; font-weight: 600; font-size: 1rem;
    border: 2px solid rgba(255,255,255,0.25); cursor: pointer; transition: all 0.3s; text-decoration: none;
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); border-color: #fff; color: #fff; }

/* ========== Sections ========== */
.section { padding: 5rem 0; }
.section-cream { background: var(--cream); }
.section-wine { background: var(--wine); color: #fff; }
.section-wine h2 { color: #fff; }
.section-forest { background: var(--forest); color: #fff; }
.section-forest h2 { color: #fff; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 3rem; }
.section-header p { color: var(--gray-600); margin-top: 0.8rem; font-size: 1.05rem; }
.section-wine .section-header p, .section-forest .section-header p { color: rgba(255,255,255,0.7); }

/* ========== Winery Cards ========== */
.winery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.winery-card {
    background: var(--white); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid var(--gray-200);
}
.winery-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.winery-img {
    height: 200px; background: linear-gradient(135deg, var(--sage), var(--forest));
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.6); font-size: 3rem; position: relative;
}
.winery-img .badge {
    position: absolute; top: 12px; right: 12px;
    background: var(--gold); color: var(--wine-dark);
    padding: 0.2rem 0.8rem; border-radius: 20px;
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
}
.winery-content { padding: 1.5rem; }
.winery-content h3 { margin-bottom: 0.3rem; font-size: 1.15rem; }
.winery-content .location { color: var(--gray-400); font-size: 0.85rem; margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.3rem; }
.winery-content p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 1rem; }
.winery-content .tags { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.winery-content .tag {
    background: var(--cream); color: var(--wine); padding: 0.2rem 0.6rem;
    border-radius: 4px; font-size: 0.75rem; font-weight: 500;
}
.winery-link { display: block; padding: 0.8rem 1.5rem; background: var(--cream); color: var(--wine); font-weight: 600; text-align: center; font-size: 0.9rem; transition: all 0.3s; }
.winery-link:hover { background: var(--wine); color: #fff; }

/* ========== Trail Features ========== */
.trail-features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.trail-feature {
    text-align: center; padding: 2rem 1.5rem;
    background: rgba(255,255,255,0.08); border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.1);
}
.trail-feature i { font-size: 2.2rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.trail-feature h3 { color: #fff; margin-bottom: 0.5rem; }
.trail-feature p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ========== Vine Line (Shuttle) ========== */
.vine-line-section { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.vine-line-info h2 { margin-bottom: 1rem; }
.vine-line-info p { color: var(--gray-600); margin-bottom: 1rem; }
.vine-line-routes { list-style: none; margin-top: 1.5rem; }
.vine-line-routes li {
    display: flex; align-items: center; gap: 0.8rem;
    padding: 0.8rem 0; border-bottom: 1px solid var(--gray-100);
    color: var(--gray-700);
}
.vine-line-routes li i { color: var(--wine); font-size: 1rem; }
.vine-line-routes li strong { color: var(--wine); }

.vine-line-visual {
    background: linear-gradient(135deg, var(--cream), #f0e8d8);
    border-radius: var(--radius); padding: 2.5rem;
    text-align: center; border: 1px solid var(--gray-200);
}
.vine-line-visual i { font-size: 3rem; color: var(--wine); margin-bottom: 1rem; display: block; }

/* ========== Founding ========== */
.founding-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.founding-card {
    background: rgba(255,255,255,0.08); border-radius: var(--radius);
    padding: 2rem; border: 1px solid rgba(255,255,255,0.12);
}
.founding-card i { font-size: 1.5rem; color: var(--gold); margin-bottom: 0.8rem; display: block; }
.founding-card h3 { color: #fff; margin-bottom: 0.5rem; }
.founding-card p { color: rgba(255,255,255,0.7); font-size: 0.9rem; }

/* ========== Events ========== */
.events-list { max-width: 700px; margin: 0 auto; }
.event-card {
    display: flex; gap: 1.5rem; padding: 1.5rem;
    background: var(--white); border-radius: var(--radius);
    box-shadow: var(--shadow); margin-bottom: 1.5rem;
    border: 1px solid var(--gray-200); align-items: center;
}
.event-date {
    min-width: 70px; text-align: center;
    background: var(--wine); color: #fff; border-radius: 8px; padding: 0.8rem 0.5rem;
}
.event-date .month { font-size: 0.75rem; text-transform: uppercase; font-weight: 600; }
.event-date .day { font-size: 1.5rem; font-weight: 900; font-family: 'Playfair Display', serif; }
.event-info h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.event-info p { color: var(--gray-600); font-size: 0.9rem; }

/* ========== Footer ========== */
footer { background: var(--gray-900); color: var(--gray-400); padding: 3rem 0 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; margin-top: 0.8rem; }
.footer-links h4 { color: #fff; margin-bottom: 1rem; font-size: 0.95rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: var(--gray-400); font-size: 0.9rem; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.85rem;
}
.footer-bottom a { color: var(--gray-400); }
.footer-bottom a:hover { color: var(--gold); }

/* ========== Contact Form ========== */
.contact-wrapper { max-width: 700px; margin: 0 auto; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-bottom: 1.2rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; color: var(--wine); margin-bottom: 0.4rem; font-size: 0.9rem; }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border: 2px solid var(--gray-200);
    border-radius: 8px; font-size: 0.95rem; font-family: inherit; transition: border-color 0.3s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--wine); outline: none; }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-submit {
    width: 100%; padding: 1rem; background: var(--wine); color: #fff;
    border: none; border-radius: 10px; font-weight: 700; font-size: 1.05rem;
    cursor: pointer; transition: background 0.3s;
}
.form-submit:hover { background: var(--wine-dark); }

/* ========== CTA Banner ========== */
.cta-banner { background: linear-gradient(135deg, var(--wine-dark), var(--wine)); padding: 4rem 0; text-align: center; }
.cta-banner h2 { color: #fff; margin-bottom: 1rem; }
.cta-banner p { color: rgba(255,255,255,0.8); margin-bottom: 2rem; font-size: 1.1rem; max-width: 600px; margin-left: auto; margin-right: auto; margin-bottom: 2rem; }

/* ========== Responsive ========== */
@media (max-width: 968px) {
    .winery-grid { grid-template-columns: 1fr 1fr; }
    .trail-features { grid-template-columns: 1fr; }
    .vine-line-section { grid-template-columns: 1fr; }
    .founding-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 1rem; gap: 0.8rem; box-shadow: var(--shadow); }
    .nav-links.active { display: flex; }
    .mobile-toggle { display: block; }
    .winery-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .hero { padding: 7rem 0 3rem; min-height: auto; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .contact-wrapper { padding: 1.5rem; }
    .event-card { flex-direction: column; text-align: center; }
}
