/* ══════════════════════════════════════════════════
   Pour Friday — Shared Styles
   Used across index.html, about.html, news.html, pours.html
   ══════════════════════════════════════════════════ */

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

:root {
  --gold:       #c19033;
  --gold-hover: #e2a93d;
  --gold-dark:  #967026;
  --dark:       #161616;
  --text:       #1b1b1b;
  --light-text: #f7f7f7;
  --mid-text:   #474747;
  --border:     #e2e2e2;
}

html { scroll-behavior: smooth; }

body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: 'League Spartan', Arial, Helvetica, sans-serif;
}

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

a { color: inherit; text-decoration: none; }

/* ── Nav ─────────────────────────────────────────── */
.nav {
  background: #fff;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.nav .nav-brand {
  font-family: 'League Spartan', Arial, Helvetica, sans-serif;
  font-size: 22px;
  color: var(--gold);
  font-weight: 400;
  letter-spacing: 1px;
  margin-right: 8px;
  transition: color .15s ease;
}

.nav .nav-brand:hover {
  color: var(--gold-dark);
}

.nav .nav-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav .nav-links a {
  font-family: 'League Spartan', Arial, Helvetica, sans-serif;
  font-size: 15px;
  color: var(--mid-text);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color .15s ease, border-color .15s ease;
}

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

@media (max-width: 600px) {
  .nav { gap: 12px; padding: 14px 16px; }
  .nav .nav-links { gap: 16px; }
  .nav .nav-links a { font-size: 13px; }
}

/* ── Page header (used on secondary pages instead of full hero) ── */
.page-header {
  padding: 64px 24px 40px;
  text-align: center;
  background: var(--dark);
}

.page-header h1 {
  color: var(--gold);
  font-size: 34px;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.page-header p {
  color: #ccc;
  font-size: 16px;
  max-width: 560px;
  margin: 0 auto;
}

/* ── Section wrapper ─────────────────────────────── */
.section {
  padding: 56px 24px;
}

.section-inner {
  max-width: 900px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 700px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--gold);
  text-align: center;
  margin-bottom: 40px;
  letter-spacing: 1px;
}

/* ── Footer ──────────────────────────────────────── */
.footer {
  background: var(--dark);
  padding: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer p {
  font-size: 12px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer a {
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .15s ease;
}

.footer a:hover {
  color: var(--gold);
}

/* ── Read more link (used on homepage under About + Tastings) ── */
.read-more-wrap {
  text-align: center;
  margin-top: 36px;
}

.read-more {
  display: inline-block;
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-bottom: 2px solid transparent;
  padding-bottom: 2px;
  transition: color .15s ease, border-color .15s ease;
}

.read-more:hover {
  color: var(--gold-hover);
  border-bottom-color: var(--gold-hover);
}

/* ── Shared form fields (used by Contact + Recommendation forms) ── */
.form-group {
  position: relative;
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 23px 8px 8px;
  font-size: 16px;
  font-family: inherit;
  color: var(--mid-text);
  line-height: 1.71;
  background: transparent;
  outline: none;
  transition: border-color .15s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

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

.form-group label {
  position: absolute;
  top: 30%;
  left: 8px;
  font-size: 16px;
  color: var(--mid-text);
  pointer-events: none;
  transition: all .15s ease;
}

.form-group input:focus + label,
.form-group input:not([value=""]) + label,
.form-group input.has-value + label {
  font-size: 12px;
  top: 8px;
  color: var(--gold);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 20px;
  font-size: 14px;
  color: var(--mid-text);
  line-height: 1.4;
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 32px;
  min-height: 56px;
  background-color: var(--gold);
  color: #000;
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.083em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color .2s ease;
  width: 100%;
  margin-top: 8px;
}

.btn:hover { background-color: var(--gold-hover); }
.btn:active { background-color: var(--gold-dark); }

.form-success {
  display: none;
  text-align: center;
  color: var(--gold);
  font-size: 16px;
  padding: 16px 0;
}

/* ── Inline text link (e.g. "tell us here") ── */
.inline-link {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: color .15s ease;
}

.inline-link:hover { color: var(--gold-hover); }

.recommend-prompt {
  margin-top: 24px;
}

/* ── Modal (used for the Pours page recommendation form) ── */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 1000;
}

.modal-overlay.open { display: flex; }

.modal-card {
  position: relative;
  background: #fff;
  max-width: 420px;
  width: 100%;
  padding: 40px 32px;
  box-shadow: rgba(0,0,0,0.18) 2px 6px 30px 0px;
}

.modal-card h2 {
  font-size: 22px;
  text-align: center;
  color: var(--text);
  margin-bottom: 4px;
}

.modal-card .subtitle {
  text-align: center;
  color: var(--mid-text);
  font-size: 14px;
  margin-bottom: 24px;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  line-height: 1;
  color: var(--mid-text);
  cursor: pointer;
  padding: 4px;
}

.modal-close:hover { color: var(--gold); }

/* ══════════════════════════════════════════════════
   About page
   ══════════════════════════════════════════════════ */

.story {
  font-size: 17px;
  line-height: 1.9;
  color: var(--mid-text);
}

.story p {
  margin-bottom: 24px;
}

.story p:last-child { margin-bottom: 0; }

.story .founded {
  display: inline-block;
  margin-top: 8px;
  font-family: 'League Spartan', Arial, sans-serif;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
}

/* ══════════════════════════════════════════════════
   News page
   ══════════════════════════════════════════════════ */

.news-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.news-entry {
  border-bottom: 1px solid var(--border);
  padding-bottom: 32px;
}

.news-entry:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.news-date {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  display: block;
}

.news-title {
  font-size: 21px;
  color: var(--text);
  margin-bottom: 10px;
  font-weight: 700;
}

.news-body {
  font-size: 16px;
  line-height: 1.75;
  color: var(--mid-text);
}

/* ══════════════════════════════════════════════════
   Pours page (drink list — reuses tasting-row visual language)
   ══════════════════════════════════════════════════ */

.pours-section {
  padding: 56px 24px;
  background: #111;
}

.pours-section .section-title { color: var(--gold); }

.pours-list {
  max-width: 900px;
  margin: 0 auto;
}

.pour-row {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid #333;
}

.pour-row:first-child { border-top: 1px solid #333; }

.pour-image {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

/* Shown until a real bottle photo is added for this entry */
.pour-image.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #222;
  font-size: 36px;
}

.pour-info { flex: 1; }

.pour-name {
  font-size: 17px;
  color: #fff;
  margin-bottom: 4px;
}

.pour-type {
  font-size: 13px;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.pour-link {
  flex-shrink: 0;
  white-space: nowrap;
}

.pours-sort {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  max-width: 900px;
  margin: 0 auto 24px;
}

.pours-sort label {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #aaa;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.pours-sort select {
  font-family: 'League Spartan', Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--gold);
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 6px;
  padding: 8px 32px 8px 14px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'><path fill='%23c19033' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 10px;
  transition: border-color .15s ease;
}

.pours-sort select:hover,
.pours-sort select:focus {
  border-color: var(--gold);
}

@media (max-width: 600px) {
  .pour-row { flex-wrap: wrap; gap: 12px; }
  .pour-link { margin-left: 124px; }
  .pours-sort { justify-content: space-between; }
}

/* ══════════════════════════════════════════════════
   Privacy Policy page
   ══════════════════════════════════════════════════ */

.policy {
  font-size: 16px;
  line-height: 1.8;
  color: var(--mid-text);
}

.policy h2 {
  font-size: 19px;
  color: var(--text);
  margin: 32px 0 10px;
}

.policy h2:first-child { margin-top: 0; }

.policy p { margin-bottom: 14px; }

.policy ul {
  margin: 0 0 14px 20px;
}

.policy li { margin-bottom: 6px; }

.policy .updated {
  font-size: 13px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 28px;
  display: block;
}