/* ==========================================================================
   Bassett Creek Saloon and Eatery — modernization concept
   Static CSS. Mobile-first. Warm rustic-modern saloon vibe.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
  /* Warm saloon palette: charred wood, ember amber, creek slate, cream */
  --wood-900: #1c1410;
  --wood-800: #2a1f18;
  --wood-700: #3a2c21;
  --ember-500: #d98324;   /* primary amber */
  --ember-400: #e89b3f;
  --ember-300: #f2b872;
  --creek-600: #2f5d62;   /* deep teal accent (the "creek") */
  --creek-400: #4a8b91;
  --cream-50: #faf5ec;
  --cream-100: #f2e9d8;
  --cream-200: #e6d7bd;
  --ink: #201811;
  --muted: #6b5c4a;
  --line: rgba(32, 24, 17, 0.12);

  --bg: var(--cream-50);
  --surface: #ffffff;

  --shadow-sm: 0 1px 3px rgba(28, 20, 16, 0.08), 0 1px 2px rgba(28, 20, 16, 0.06);
  --shadow-md: 0 8px 24px rgba(28, 20, 16, 0.10);
  --shadow-lg: 0 20px 50px rgba(28, 20, 16, 0.20);

  --radius: 14px;
  --radius-sm: 8px;
  --radius-lg: 24px;

  --font-head: "Georgia", "Times New Roman", serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --maxw: 1180px;
  --pad: clamp(1.1rem, 4vw, 2.5rem);

  --step-fluid: clamp(1rem, 0.9rem + 0.5vw, 1.15rem);
}

/* ---- Reset-ish ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--step-fluid);
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--creek-600); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 0.5em;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 1.6rem + 3vw, 4rem); }
h2 { font-size: clamp(1.7rem, 1.3rem + 1.8vw, 2.7rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + 0.7vw, 1.55rem); }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }
.section { padding-block: clamp(3rem, 8vw, 6rem); }
.section--tight { padding-block: clamp(2rem, 5vw, 3.5rem); }

/* screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* skip link */
.skip-link {
  position: absolute; left: 8px; top: -60px; background: var(--ember-500);
  color: var(--wood-900); padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  font-weight: 700; z-index: 200; transition: top 0.2s;
}
.skip-link:focus { top: 8px; }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ember-500); color: var(--wood-900); box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--ember-400); box-shadow: var(--shadow-md); }
.btn--ghost { background: transparent; color: var(--cream-50); border-color: rgba(250,245,236,0.55); }
.btn--ghost:hover { background: rgba(250,245,236,0.12); border-color: var(--cream-50); }
.btn--dark { background: var(--wood-800); color: var(--cream-50); }
.btn--dark:hover { background: var(--wood-700); }

/* ---- Header / Nav ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(28, 20, 16, 0.92);
  backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(250,245,236,0.10);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.7rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--cream-50); }
.brand__mark {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: radial-gradient(circle at 30% 25%, var(--ember-400), var(--ember-500) 55%, #b96a17);
  color: var(--wood-900); font-family: var(--font-head); font-weight: 700; font-size: 1.2rem;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.15);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand__sub { font-size: 0.65rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ember-300); }

.nav__links { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  color: var(--cream-100); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.5rem 0.85rem; border-radius: 999px; transition: background 0.15s, color 0.15s;
}
.nav__links a:hover { background: rgba(250,245,236,0.10); }
.nav__links a[aria-current="page"] { color: var(--ember-300); }
.nav__cta { margin-left: 0.4rem; }

.nav__toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 0.5rem;
  color: var(--cream-50);
}
.nav__toggle svg { width: 28px; height: 28px; }

@media (max-width: 820px) {
  .nav__toggle { display: inline-flex; }
  .nav__menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--wood-900); border-top: 1px solid rgba(250,245,236,0.10);
    display: none; padding: 0.6rem var(--pad) 1.2rem;
  }
  .nav__menu.is-open { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 0.15rem; }
  .nav__links a { padding: 0.85rem 1rem; font-size: 1.05rem; }
  .nav__cta { margin: 0.6rem 0 0; }
  .nav__cta .btn { width: 100%; justify-content: center; }
}

/* ---- Hero --------------------------------------------------------------- */
/* IMAGE SLOT: replace this gradient with a real wide photo of the venue /
   patio / smoker (approx 1920x1000, warm dusk tones). See CONTENT-REFERENCE. */
.hero {
  position: relative; color: var(--cream-50);
  background:
    linear-gradient(180deg, rgba(28,20,16,0.55) 0%, rgba(28,20,16,0.82) 100%),
    radial-gradient(120% 100% at 70% 0%, #6b3f1a 0%, #3a2118 45%, #1c1410 100%);
  overflow: hidden;
}
.hero::after {
  /* subtle wood-grain / smoke texture using layered gradients */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0.35;
  background:
    repeating-linear-gradient(92deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 9px),
    radial-gradient(60% 50% at 15% 90%, rgba(217,131,36,0.25), transparent 70%);
  mix-blend-mode: screen;
}
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 11vw, 8rem); }
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ember-300); margin-bottom: 1rem; font-weight: 700;
}
.hero__eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--ember-500); }
.hero h1 { max-width: 16ch; margin-bottom: 0.5rem; }
.hero__lede { font-size: clamp(1.05rem, 0.95rem + 0.6vw, 1.4rem); max-width: 46ch; color: var(--cream-100); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.8rem; }
.hero__meta {
  display: flex; flex-wrap: wrap; gap: 1.2rem 2rem; margin-top: 2.4rem;
  font-size: 0.95rem; color: var(--cream-100);
}
.hero__meta strong { color: var(--cream-50); display: block; font-family: var(--font-head); font-size: 1.15rem; }

/* rating badge */
.rating {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(250,245,236,0.10); border: 1px solid rgba(250,245,236,0.2);
  padding: 0.5rem 0.9rem; border-radius: 999px; font-size: 0.9rem; color: var(--cream-50);
}
.rating .stars { color: var(--ember-300); letter-spacing: 1px; }

/* ---- Generic section header -------------------------------------------- */
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-block; font-size: 0.75rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ember-500); font-weight: 700; margin-bottom: 0.6rem;
}
.lede { color: var(--muted); font-size: 1.1rem; }

/* ---- Feature cards ------------------------------------------------------ */
.grid { display: grid; gap: clamp(1rem, 2.5vw, 1.6rem); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.card__icon {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-100); color: var(--ember-500); margin-bottom: 1rem;
  font-size: 1.5rem;
}
.card h3 { margin-bottom: 0.35rem; }
.card p { color: var(--muted); margin: 0; }

/* ---- Split (about) ------------------------------------------------------ */
.split { display: grid; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
@media (min-width: 780px) { .split { grid-template-columns: 1fr 1fr; } }
/* IMAGE SLOT: real photo of owner Chris at the smoker or the back patio.
   Approx 900x1100 portrait. Replace this decorative panel. */
.split__media {
  border-radius: var(--radius-lg); min-height: 340px; box-shadow: var(--shadow-md);
  background:
    linear-gradient(135deg, rgba(28,20,16,0.15), rgba(47,93,98,0.25)),
    radial-gradient(90% 80% at 20% 15%, var(--ember-400), var(--ember-500) 40%, var(--creek-600) 120%);
  position: relative; overflow: hidden; display: grid; place-items: center; text-align: center;
  color: rgba(255,255,255,0.85); padding: 2rem;
}
.split__media span { font-family: var(--font-head); font-size: 1.1rem; max-width: 22ch; }
.split__media::after {
  content: ""; position: absolute; inset: 0; opacity: 0.25;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,0.06) 0 3px, transparent 3px 14px);
}

/* ---- Reviews ------------------------------------------------------------ */
.reviews { background: var(--wood-900); color: var(--cream-50); }
.reviews .eyebrow { color: var(--ember-300); }
.reviews h2 { color: var(--cream-50); }
.quote {
  background: rgba(250,245,236,0.05); border: 1px solid rgba(250,245,236,0.12);
  border-radius: var(--radius); padding: 1.6rem;
}
.quote__stars { color: var(--ember-300); letter-spacing: 2px; margin-bottom: 0.6rem; }
.quote p { font-family: var(--font-head); font-size: 1.2rem; line-height: 1.4; color: var(--cream-50); margin-bottom: 0.8rem; }
.quote cite { font-style: normal; font-size: 0.85rem; color: var(--cream-200); }

/* ---- Menu preview strip ------------------------------------------------- */
.dayspecials { display: grid; gap: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.dayspecial {
  background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--ember-500);
  border-radius: var(--radius-sm); padding: 1rem 1.1rem;
}
.dayspecial .day { font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ember-500); font-weight: 700; }
.dayspecial .dish { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; }
.dayspecial small { color: var(--muted); }

/* ---- Menu page ---------------------------------------------------------- */
.menu-hero { background: var(--wood-900); color: var(--cream-50); }
.menu-hero .lede { color: var(--cream-200); }

.menu-nav {
  position: sticky; top: 62px; z-index: 40; background: var(--cream-100);
  border-bottom: 1px solid var(--line); overflow-x: auto; -webkit-overflow-scrolling: touch;
}
.menu-nav ul {
  display: flex; gap: 0.4rem; list-style: none; margin: 0; padding: 0.6rem var(--pad);
  white-space: nowrap;
}
.menu-nav a {
  text-decoration: none; color: var(--wood-800); font-weight: 700; font-size: 0.85rem;
  padding: 0.4rem 0.85rem; border-radius: 999px; background: rgba(255,255,255,0.6);
  border: 1px solid var(--line);
}
.menu-nav a:hover { background: var(--ember-300); }

.menu-cat { scroll-margin-top: 120px; }
.menu-cat + .menu-cat { margin-top: clamp(2.2rem, 5vw, 3.5rem); }
.menu-cat__head { border-bottom: 3px solid var(--ember-500); padding-bottom: 0.4rem; margin-bottom: 0.3rem; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.menu-cat__note { color: var(--muted); font-style: italic; margin: 0.6rem 0 1.4rem; }

.menu-list { display: grid; gap: 0.9rem; }
.menu-item {
  display: grid; grid-template-columns: 1fr auto; gap: 0.4rem 1rem; align-items: baseline;
  padding-bottom: 0.9rem; border-bottom: 1px dashed var(--line);
}
.menu-item__name { font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.menu-item__desc { grid-column: 1 / -1; color: var(--muted); font-size: 0.92rem; margin: 0; }
.menu-item__price { font-weight: 700; color: var(--ember-500); font-variant-numeric: tabular-nums; white-space: nowrap; }

.menu-tag {
  display: inline-block; font-size: 0.62rem; letter-spacing: 0.12em; text-transform: uppercase;
  background: var(--creek-600); color: var(--cream-50); padding: 0.15rem 0.5rem; border-radius: 999px;
  margin-left: 0.5rem; vertical-align: middle; font-weight: 700;
}
.callout {
  background: var(--cream-100); border: 1px dashed var(--muted); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; color: var(--wood-800);
}

/* ---- Contact page ------------------------------------------------------- */
.contact-grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); }
@media (min-width: 860px) { .contact-grid { grid-template-columns: 1fr 1fr; } }

.info-block { display: grid; gap: 1.2rem; }
.info-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.info-item .ico {
  flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center;
  background: var(--cream-100); color: var(--ember-500); font-size: 1.2rem;
}
.info-item h3 { font-size: 1.05rem; margin: 0 0 0.15rem; }
.info-item a { font-weight: 600; }

.hours-table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); }
.hours-table th, .hours-table td { text-align: left; padding: 0.7rem 1rem; border-bottom: 1px solid var(--line); }
.hours-table th { font-family: var(--font-body); font-weight: 700; color: var(--wood-800); }
.hours-table td { text-align: right; font-variant-numeric: tabular-nums; color: var(--muted); }
.hours-table tr:last-child th, .hours-table tr:last-child td { border-bottom: 0; }
.hours-table tr.closed td { color: #b23a2e; font-weight: 700; }

.form { display: grid; gap: 1rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow-sm); }
.field { display: grid; gap: 0.35rem; }
.field label { font-weight: 700; font-size: 0.9rem; }
.field input, .field textarea, .field select {
  font: inherit; padding: 0.7rem 0.85rem; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--cream-50); color: var(--ink);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 2px solid var(--ember-500); outline-offset: 1px; border-color: var(--ember-500);
}
.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form__status { font-weight: 700; padding: 0.6rem 0; }
.form__status.ok { color: var(--creek-600); }

.map-embed {
  border: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius);
  box-shadow: var(--shadow-sm); background: var(--cream-100);
}

/* ---- Footer ------------------------------------------------------------- */
.site-footer { background: var(--wood-900); color: var(--cream-100); padding-block: clamp(2.5rem, 6vw, 4rem) 1.5rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.site-footer h4 { color: var(--cream-50); font-size: 1.05rem; margin-bottom: 0.7rem; }
.site-footer a { color: var(--ember-300); }
.site-footer p, .site-footer li { color: var(--cream-200); font-size: 0.92rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.3rem; }
.footer-note {
  margin-top: 2.5rem; padding-top: 1.4rem; border-top: 1px solid rgba(250,245,236,0.12);
  font-size: 0.8rem; color: var(--cream-200); text-align: center; line-height: 1.6;
}
.footer-note strong { color: var(--ember-300); }

/* focus visibility everywhere */
a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 3px solid var(--ember-400); outline-offset: 2px; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
