/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --gold: #C9962A;
  --gold-light: #E8B84B;
  --gold-dim: rgba(201,150,42,0.18);
  --dark: #0C0A06;
  --dark-mid: #141009;
  --surface: #1C1508;
  --surface-2: #231B0A;
  --text: #F0EAD8;
  --text-muted: rgba(240,234,216,0.55);
  --border: rgba(201,150,42,0.14);
  --white: #FFFFFF;
  --radius: 14px;
  --shadow: 0 4px 28px rgba(0,0,0,0.5);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.65);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, sans-serif;
  --spirits-accent: #A0622A;
  --wine-accent: #8B2D45;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  font-size: 16px;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.section { padding: 88px 0; }
.section-alt { background: var(--dark-mid); }

.section-header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  color: var(--white);
  line-height: 1.15;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 540px;
  line-height: 1.7;
}

.section-header .section-rule {
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

/* ===== NAV ===== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12,10,6,0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold-light);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.logo span { color: rgba(240,234,216,0.5); font-size: 0.85rem; font-family: var(--font-sans); font-weight: 400; }

.nav-links { display: flex; list-style: none; gap: 28px; }

.nav-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 1.5px solid transparent;
}

.nav-links a:hover { color: var(--gold-light); border-bottom-color: var(--gold-light); }

.nav-toggle { display: none; background: none; border: none; color: var(--gold-light); font-size: 1.4rem; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(175deg, rgba(5,4,2,0.88) 0%, rgba(12,10,6,0.72) 50%, rgba(10,20,8,0.6) 100%),
    url('https://images.unsplash.com/photo-1608377229419-3b5168b6c3da?w=1600&q=80&auto=format&fit=crop') center/cover no-repeat,
    linear-gradient(135deg, #0C0A06 0%, #1C1508 100%);
  overflow: hidden;
  text-align: center;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--dark), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 28px 60px;
  max-width: 760px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  color: var(--white);
  line-height: 1.0;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hero h1 em { color: var(--gold-light); font-style: italic; }

.hero-sub {
  color: rgba(240,234,216,0.7);
  font-size: clamp(1rem, 2vw, 1.12rem);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.75;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.22s;
  cursor: pointer;
  border: none;
  letter-spacing: 0.02em;
}

.btn-primary { background: var(--gold); color: var(--dark); }
.btn-primary:hover { background: var(--gold-light); color: var(--dark); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(201,150,42,0.35); }

.btn-secondary { background: transparent; color: var(--text); border: 1.5px solid var(--border); }
.btn-secondary:hover { border-color: var(--gold); color: var(--gold-light); }

/* ===== FACTS BAR ===== */
.facts-bar {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 32px 28px;
}

.facts-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 24px;
}

.fact { text-align: center; display: flex; flex-direction: column; gap: 5px; }
.fact-num { font-family: var(--font-serif); font-size: 1.9rem; color: var(--gold-light); font-weight: 700; line-height: 1; }
.fact-label { color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ===== CATEGORY TABS ===== */
.category-tabs {
  background: var(--dark-mid);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 62px;
  z-index: 90;
}

.tabs-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  gap: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs-inner::-webkit-scrollbar { display: none; }

.tab-btn {
  flex-shrink: 0;
  padding: 14px 20px;
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.tab-btn:hover { color: var(--text); }
.tab-btn.active { color: var(--gold-light); border-bottom-color: var(--gold); }

/* ===== DRINK CARDS ===== */
.drinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.drink-card {
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.drink-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
  border-color: rgba(201,150,42,0.35);
}

.drink-card-img {
  height: 230px;
  background: #080604;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}

.drink-card-img img {
  max-height: 190px;
  width: auto;
  max-width: 80%;
  object-fit: contain;
  transition: transform 0.35s ease;
}

.drink-card:hover .drink-card-img img { transform: scale(1.07); }

.drink-card-img.spirits-img { background: linear-gradient(135deg, #150A02 0%, #2C1608 100%); }
.drink-card-img.wine-img    { background: linear-gradient(135deg, #100310 0%, #2A0820 100%); }
.drink-card-img.trad-img    { background: linear-gradient(135deg, #0C0802 0%, #221408 100%); }

.drink-card-icon { font-size: 4rem; opacity: 0.35; display: block; }

.drink-card-body {
  padding: 18px 18px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 1px solid var(--border);
}

.drink-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.drink-type {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

.drink-abv { font-size: 0.65rem; color: var(--text-muted); }
.drink-sep { color: rgba(201,150,42,0.3); font-size: 0.7rem; }

.drink-card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 8px;
}

.drink-desc {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.drink-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 12px; }

.drink-tags span {
  font-size: 0.65rem;
  background: rgba(201,150,42,0.1);
  border: 1px solid rgba(201,150,42,0.2);
  color: var(--gold-light);
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.drink-badge {
  position: absolute;
  top: 12px; right: 12px;
  z-index: 2;
  background: var(--gold);
  color: var(--dark);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}

.drink-badge.badge-spirits { background: #D4820A; }
.drink-badge.badge-wine { background: #8B2D45; color: #fff; }
.drink-badge.badge-traditional { background: var(--surface-2); color: var(--gold-light); border: 1px solid var(--gold); }

/* ===== CATEGORY HEADER (per section) ===== */
.category-section-header {
  margin-bottom: 40px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.category-section-header h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 6px;
}

.category-section-header p {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 540px;
}

/* ===== DIVIDER SECTION ===== */
.drinks-divider {
  position: relative;
  padding: 72px 28px;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,150,42,0.08) 0%, transparent 70%), var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.divider-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.divider-content blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  line-height: 1.45;
  font-style: italic;
  margin-bottom: 16px;
}

.divider-content blockquote span { color: var(--gold-light); }

.divider-content cite {
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-style: normal;
}

/* ===== BREWERIES ===== */
.brewery-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }

.brewery-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px;
  border: 1px solid var(--border);
  position: relative;
  transition: border-color 0.2s;
}

.brewery-card:hover { border-color: rgba(201,150,42,0.3); }

.brewery-card h3 { font-family: var(--font-serif); font-size: 1.2rem; margin-bottom: 6px; color: var(--white); }
.brewery-location { color: var(--gold); font-size: 0.82rem; font-weight: 500; margin-bottom: 12px; display: block; }
.brewery-card p:not(.brewery-location) { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; margin-bottom: 10px; }
.brewery-card p:last-child { margin-bottom: 0; color: var(--text-muted); }
.brewery-card strong { color: var(--gold-light); }

.emerging-tag {
  display: inline-block;
  background: #2A4A28;
  color: #7EC87A;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ===== LOCATION GRID ===== */
.location-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 18px; }

.location-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.location-card:hover { border-color: rgba(201,150,42,0.3); }
.location-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 10px; color: var(--white); }
.location-card p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; }

/* ===== TRAVEL ===== */
.travel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 22px; margin-bottom: 48px; }

.travel-tip {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  transition: border-color 0.2s;
}

.travel-tip:hover { border-color: rgba(201,150,42,0.3); }
.travel-icon { font-size: 1.8rem; margin-bottom: 14px; }
.travel-tip h3 { font-family: var(--font-serif); font-size: 1.1rem; margin-bottom: 10px; color: var(--white); }
.travel-tip p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.65; margin-bottom: 14px; }
.travel-tip p:last-of-type { margin-bottom: 0; }
.travel-link { font-size: 0.82rem; font-weight: 600; color: var(--gold); }
.travel-link:hover { color: var(--gold-light); }

/* ===== AFFILIATE BOX ===== */
.affiliate-box {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  border: 1px solid var(--border);
}

.affiliate-box h3 { font-family: var(--font-serif); font-size: 1.6rem; color: var(--white); margin-bottom: 12px; }
.affiliate-box > p { color: var(--text-muted); max-width: 480px; margin: 0 auto 28px; font-size: 0.92rem; }

.affiliate-links { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 0; }

.affiliate-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--dark);
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 8px;
  font-size: 0.88rem;
  transition: all 0.2s;
}

.affiliate-btn:hover { background: var(--gold-light); color: var(--dark); transform: translateY(-1px); }

/* ===== FAQ ===== */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] { border-color: rgba(201,150,42,0.35); }

.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text);
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--gold);
  line-height: 1;
  transition: transform 0.2s;
  flex-shrink: 0;
  margin-left: 12px;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  padding: 0 22px 18px;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.newsletter-box { max-width: 520px; margin: 0 auto; text-align: center; }
.newsletter-box h2 { font-family: var(--font-serif); font-size: 2rem; color: var(--white); margin-bottom: 12px; }
.newsletter-box > p { color: var(--text-muted); margin-bottom: 28px; font-size: 0.95rem; }

.newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.newsletter-form input {
  flex: 1; min-width: 220px;
  padding: 13px 18px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--dark-mid);
  color: var(--text);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-form input::placeholder { color: var(--text-muted); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-note { color: var(--text-muted); font-size: 0.75rem; margin-top: 12px; }

/* ===== FOOTER ===== */
.footer {
  background: #080604;
  border-top: 1px solid var(--border);
  padding: 56px 0 32px;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-about h4, .footer-links h4 { color: var(--gold-light); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-about p { color: var(--text-muted); font-size: 0.85rem; line-height: 1.65; max-width: 300px; }

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-bottom p { color: rgba(240,234,216,0.25); font-size: 0.75rem; }
.footer-bottom a { color: rgba(240,234,216,0.35); }
.footer-bottom a:hover { color: var(--gold-light); }

/* ===== SCROLL FADE-IN ===== */
.fade-in { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-about { grid-column: 1 / -1; }
}

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

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px; left: 0; right: 0;
    background: rgba(8,6,4,0.98);
    padding: 20px 28px;
    gap: 16px;
    border-bottom: 1px solid var(--border);
  }

  .section { padding: 60px 0; }
  .hero h1 { font-size: clamp(2.8rem, 10vw, 4rem); }
  .category-section-header { flex-direction: column; align-items: flex-start; gap: 8px; }
  .category-section-header p { text-align: left; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .affiliate-box { padding: 28px 20px; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; }
}

@media (max-width: 480px) {
  .facts-inner { gap: 28px; }
  .hero-cta { flex-direction: column; align-items: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { min-width: unset; width: 100%; }
  .drinks-grid { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
}
