/* ═══════════════════════════════════════════════════════════════
   OAKFIELD LIQUOR — GLOBAL STYLESHEET
   Shared across index.html, products.html, contact.html
   ═══════════════════════════════════════════════════════════════ */

/* ── DESIGN TOKENS ─────────────────────────────────────────────── */
:root {
  --red:          #8B1A1A;
  --red-dark:     #5C1010;
  --red-light:    #A52020;
  --gold:         #C4A44A;
  --gold-light:   #D4B86A;
  --black:        #1A0A0A;
  --off-white:    #F8F4F0;
  --white:        #FFFFFF;
  --text-muted:   #6B5B5B;
  --border:       rgba(196, 164, 74, 0.3);
  --border-light: #EDE8E2;
}

/* ── RESET ──────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Lato', sans-serif;
  background: var(--white);
  color: var(--black);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

/* ── UTILITY CLASSES ────────────────────────────────────────────── */
.eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold);
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--black);
}
.section-title em { color: var(--red); font-style: italic; }

.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  transition: background 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--red-light); transform: translateY(-1px); }

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background 0.25s, transform 0.2s;
}
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); }

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 16px 36px;
  transition: border-color 0.25s, background 0.25s;
}
.btn-outline:hover {
  border-color: var(--gold);
  background: rgba(196, 164, 74, 0.08);
}

/* ── SCROLL REVEAL ANIMATION ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ── HEADER / NAV ───────────────────────────────────────────────── */
header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
header.scrolled { box-shadow: 0 2px 24px rgba(0, 0, 0, 0.08); }

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo { height: 58px; width: auto; }

nav ul {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}
nav ul li a {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--black);
  transition: color 0.2s;
  position: relative;
}
nav ul li a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0; right: 100%;
  height: 1px;
  background: var(--red);
  transition: right 0.25s ease;
}
nav ul li a:hover        { color: var(--red); }
nav ul li a:hover::after { right: 0; }
nav ul li a.active        { color: var(--red); }
nav ul li a.active::after { right: 0; }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 10px 24px;
  font-size: 11px !important;
  letter-spacing: 0.2em !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }
.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: var(--black);
  transition: all 0.3s;
}

/* Mobile nav panel (injected via JS) */
nav ul.mobile-open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 80px; left: 0; right: 0;
  background: var(--white);
  padding: 20px 40px;
  gap: 16px;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  z-index: 99;
}

/* ── PAGE HERO (products + contact) ────────────────────────────── */
.page-hero {
  padding-top: 80px;
  background: var(--black);
  position: relative;
  overflow: hidden;
  min-height: 300px;
  display: flex;
  align-items: flex-end;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
}
.page-hero-red {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, transparent, var(--red), transparent);
}
.page-hero-inner {
  position: relative; z-index: 2;
  max-width: 1280px; margin: 0 auto;
  padding: 56px 40px;
  width: 100%;
}
.page-hero-inner .eyebrow { margin-bottom: 14px; }
.page-hero-inner h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
}
.page-hero-inner h1 em { color: var(--gold); font-style: italic; font-weight: 400; }

.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  margin-top: 20px;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
}
.breadcrumb a { color: rgba(255, 255, 255, 0.5); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { color: var(--gold); }

/* ── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--black);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer-main {
  max-width: 1280px; margin: 0 auto;
  padding: 64px 40px 40px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-brand p {
  font-size: 14px; font-weight: 300;
  line-height: 1.8; color: rgba(255, 255, 255, 0.45);
  max-width: 280px; margin-top: 20px;
}
.footer-brand .footer-logo { height: 70px; }
.footer-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 12px;
}
.footer-col h4 {
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col ul li a {
  font-size: 14px; font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--white); }

/* Contact column (contact.html footer) */
.footer-col .contact-line {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 14px;
}
.footer-col .contact-line svg {
  width: 14px; height: 14px; flex-shrink: 0;
  stroke: var(--gold); fill: none; stroke-width: 2;
  margin-top: 2px;
}
.footer-col .contact-line span,
.footer-col .contact-line a {
  font-size: 13px; font-weight: 300;
  color: rgba(255, 255, 255, 0.5); line-height: 1.5;
  transition: color 0.2s;
}
.footer-col .contact-line a:hover { color: var(--gold); }

/* Social links */
.footer-social { display: flex; gap: 16px; }
.social-link {
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex; align-items: center; justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}
.social-link:hover { border-color: var(--gold); background: rgba(196, 164, 74, 0.1); }
.social-link svg { width: 16px; height: 16px; fill: rgba(255, 255, 255, 0.5); transition: fill 0.2s; }
.social-link:hover svg { fill: var(--gold); }

.footer-social-text {
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start;
}
.footer-social-text a {
  display: flex; align-items: center;
  font-size: 13px; color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s;
}
.footer-social-text a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  max-width: 1280px; margin: 0 auto;
  padding: 24px 40px;
  display: flex; align-items: center;
  justify-content: space-between; gap: 20px;
}
.footer-bottom p { font-size: 12px; color: rgba(255, 255, 255, 0.3); }
.drink-responsibly {
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.2);
}

/* ── FORM ELEMENTS (shared) ─────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%; padding: 13px 16px;
  border: 1px solid var(--border-light);
  background: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 14px; color: var(--black);
  outline: none; transition: border-color 0.2s;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--red); }
.form-group textarea { height: 130px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-submit {
  width: 100%;
  background: var(--red); color: var(--white);
  border: none; padding: 16px;
  font-family: 'Lato', sans-serif;
  font-size: 11px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  cursor: pointer; transition: background 0.25s;
}
.form-submit:hover { background: var(--red-dark); }

/* ── RESPONSIVE — SHARED ────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-main { grid-template-columns: 1fr 1fr; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; }
  nav ul { display: none; }
  .hamburger { display: flex; }
  .footer-main { grid-template-columns: 1fr; padding: 48px 20px 32px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .form-row { grid-template-columns: 1fr; }
  .page-hero-inner { padding: 40px 20px; }
}
