/* ===== The Lower Tavern — Orcas Island sports tavern ===== */

:root {
  --maroon-900: #2f0c0c;
  --maroon-800: #471212;
  --maroon-700: #5c1616;
  --maroon: #6a1a18;
  --red: #c43a26;
  --red-bright: #d6492e;
  --cream: #f5efe1;
  --cream-2: #ece1cd;
  --gold: #c9a96a;
  --gold-dark: #b9954f;
  --ink: #2a211c;
  --muted: #6f6055;
  --line: rgba(42, 33, 28, .14);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container { width: min(1180px, 92%); margin: 0 auto; }

/* ---- Display type ---- */
.section-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .01em;
  line-height: 1.02;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--ink);
}
.section-title.light { color: var(--cream); }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .9rem;
  text-decoration: none;
  padding: .85rem 1.9rem;
  border-radius: 3px;
  transition: transform .15s ease, background .2s ease, color .2s ease;
  cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--red); color: var(--cream); }
.btn-primary:hover { background: var(--red-bright); }
.btn-outline { background: transparent; color: var(--red); border: 2px solid var(--red); padding: .75rem 1.8rem; }
.btn-outline:hover { background: var(--red); color: var(--cream); }
.btn-ghost-light { background: transparent; color: var(--cream); border: 2px solid rgba(245,239,225,.4); padding: .75rem 1.8rem; }
.btn-ghost-light:hover { background: var(--cream); color: var(--maroon-800); border-color: var(--cream); }
.btn-gold { background: var(--gold); color: var(--maroon-900); }
.btn-gold:hover { background: var(--gold-dark); }
.hero-order { display: none; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s ease, box-shadow .3s ease, padding .3s ease;
  padding: .35rem 0;
}
.nav.scrolled {
  background: var(--maroon-900);
  box-shadow: 0 6px 24px rgba(0,0,0,.3);
}
.nav-inner {
  width: min(1180px, 92%);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.brand { display: flex; align-items: center; }
.brand-logo { height: 46px; width: auto; transition: height .3s ease; }
.nav.scrolled .brand-logo { height: 40px; }

.nav-menu { margin-left: auto; display: flex; align-items: center; gap: 1.6rem; }
.nav-menu a {
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
  font-size: .82rem;
  color: var(--cream);
  text-decoration: none;
  padding: .4rem 0;
  position: relative;
  transition: color .2s ease;
}
.nav-menu a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--gold); transition: width .25s ease;
}
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }
.nav-menu a:hover::after, .nav-menu a.active::after { width: 100%; }

.btn-order {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: .82rem;
  background: var(--gold);
  color: var(--maroon-900);
  text-decoration: none;
  padding: .7rem 1.4rem;
  border-radius: 3px;
  transition: background .2s ease, transform .15s ease;
}
.btn-order:hover { background: var(--gold-dark); transform: translateY(-2px); }

.nav-toggle {
  display: none;
  background: none; border: none; cursor: pointer;
  width: 32px; height: 26px; position: relative;
}
.nav-toggle span {
  display: block; height: 3px; border-radius: 2px; background: var(--cream);
  position: absolute; left: 0; right: 0; transition: .25s ease;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 11px; }
.nav-toggle span:nth-child(3) { top: 22px; }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('https://media.freewave.dev/u6y2v7/images/unsplash-4f32441961ec.webp') center/cover no-repeat;
  transform: scale(1.05);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(28,10,10,.92) 0%, rgba(28,10,10,.7) 45%, rgba(28,10,10,.35) 100%),
    linear-gradient(0deg, rgba(20,7,7,.85) 0%, rgba(20,7,7,.1) 40%);
}
.hero-inner { position: relative; width: min(1180px, 92%); margin: 0 auto; padding: 7rem 0 4rem; }
.hero-content { max-width: 620px; }
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: .98;
  font-size: clamp(2.7rem, 6.5vw, 5rem);
  color: var(--cream);
  letter-spacing: .005em;
}
.hero-title span { display: block; }
.hero-title .accent { color: var(--red-bright); }
.hero-tag {
  margin: 1.6rem 0 1rem;
  font-size: 1.15rem;
  color: rgba(245,239,225,.85);
  max-width: 30ch;
}
.hero-address {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 2rem;
  font-weight: 500;
  font-size: 1rem;
  color: rgba(245,239,225,.92);
  text-decoration: none;
  transition: color .2s ease;
}
.hero-address svg { width: 19px; height: 19px; color: var(--gold); flex-shrink: 0; }
.hero-address:hover { color: var(--gold); }
.hero-address:hover svg { color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ===== FEATURE STRIP ===== */
.strip { background: var(--cream); padding: 3.2rem 0; border-bottom: 1px solid var(--line); }
.strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.strip-item { text-align: center; padding: 0 .5rem; position: relative; }
.strip-item:not(:last-child)::after {
  content: ""; position: absolute; right: -.75rem; top: 10%; bottom: 10%;
  width: 1px; background: var(--line);
}
.strip-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; color: var(--red); margin-bottom: .9rem;
}
.strip-icon svg { width: 38px; height: 38px; }
.strip-item h3 {
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1rem; color: var(--ink); margin-bottom: .3rem;
}
.strip-item p { font-size: .9rem; color: var(--muted); }

/* ===== LOCALS / ABOUT ===== */
.locals { background: var(--cream-2); padding: 5.5rem 0; }
.locals-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center;
}
.locals-text .section-title { margin-bottom: 1.3rem; }
.locals-text p { color: var(--muted); margin-bottom: 1rem; max-width: 46ch; }
.locals-text .btn { margin-top: 1rem; }
.locals-image img {
  width: 100%; height: 420px; object-fit: cover; border-radius: 6px;
  box-shadow: 0 24px 48px rgba(42,18,12,.28);
}

/* ===== MENU ===== */
.menu { background: var(--cream); padding: 5.5rem 0; }
.menu-head { text-align: center; max-width: 640px; margin: 0 auto 3.2rem; }
.menu-head .section-title { margin: .4rem 0 .8rem; }
.menu-head p { color: var(--muted); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem 4rem; align-items: start; }
.menu-cat { position: relative; align-self: start; }
.menu-cat-title {
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .04em; font-size: 1.2rem; color: var(--ink);
  padding-bottom: .8rem; margin-bottom: .4rem; border-bottom: 2px solid var(--red);
}
.menu-cat-note { font-size: .82rem; color: var(--muted); font-style: italic; margin: -.1rem 0 .2rem; }
.menu-clip { position: relative; max-height: 232px; overflow: hidden; transition: max-height .45s ease; }
.menu-cat.open .menu-clip { max-height: 1600px; }
.menu-cat.full .menu-clip { max-height: none; }
.menu-items { list-style: none; }
.menu-items li { padding: .85rem 0; border-bottom: 1px solid var(--line); }
.mi-row { display: flex; align-items: baseline; gap: .5rem; }
.mi-name { font-weight: 600; color: var(--ink); white-space: nowrap; }
.mi-dots { flex: 1; border-bottom: 1px dotted rgba(42,33,28,.28); transform: translateY(-3px); }
.mi-price { color: var(--red); font-weight: 600; white-space: nowrap; }
.mi-desc { font-size: .88rem; color: var(--muted); margin-top: .25rem; max-width: 42ch; }
.menu-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 72px;
  background: linear-gradient(rgba(245,239,225,0), var(--cream));
  pointer-events: none; opacity: 1; transition: opacity .3s ease;
}
.menu-cat.open .menu-fade { opacity: 0; }
.menu-more {
  margin-top: 1rem; background: none; border: none; cursor: pointer;
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .06em; font-size: .82rem; color: var(--red);
  display: inline-flex; align-items: center; gap: .4rem; padding: 0;
  transition: color .2s ease;
}
.menu-more::after { content: "+"; font-size: 1.05rem; line-height: 1; }
.menu-cat.open .menu-more::after { content: "\2212"; }
.menu-more:hover { color: var(--red-bright); }
.menu-note {
  margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid var(--line);
  font-size: .82rem; color: var(--muted); text-align: center; max-width: 760px;
  margin-left: auto; margin-right: auto; line-height: 1.6;
}

/* ===== EVENTS ===== */
.events { background: var(--maroon-800); padding: 5rem 0; color: var(--cream); }
.events-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1rem; flex-wrap: wrap;
}
.events-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem;
}
.event-card {
  background: var(--maroon-900);
  border-radius: 6px; overflow: hidden; position: relative;
  border: 1px solid rgba(245,239,225,.08);
  transition: transform .2s ease, box-shadow .2s ease;
}
.event-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(0,0,0,.4); }
.event-thumb { height: 130px; overflow: hidden; }
.event-thumb img { width: 100%; height: 100%; object-fit: cover; }
.event-date {
  position: absolute; top: 105px; left: 14px;
  background: var(--red); color: var(--cream);
  width: 52px; text-align: center; border-radius: 4px;
  padding: .35rem 0; line-height: 1; box-shadow: 0 4px 12px rgba(0,0,0,.35);
}
.event-date .m { display: block; font-family: 'Oswald', sans-serif; font-size: .68rem; text-transform: uppercase; letter-spacing: .06em; }
.event-date .d { display: block; font-family: 'Oswald', sans-serif; font-weight: 700; font-size: 1.4rem; }
.event-body { padding: 1.4rem 1.1rem 1.3rem; }
.event-body h3 {
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .03em; font-size: 1.05rem; margin-bottom: .25rem;
}
.event-sub { font-size: .9rem; color: rgba(245,239,225,.7); margin-bottom: .55rem; }
.event-time { font-size: .82rem; color: var(--gold); font-weight: 500; }

/* ===== FOOTER ===== */
.footer { background: var(--maroon-900); color: rgba(245,239,225,.78); padding: 4rem 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3rem;
}
.footer-logo { height: 58px; width: auto; margin-bottom: 1.2rem; }
.footer-brand p { font-size: .92rem; max-width: 34ch; }
.socials { display: flex; gap: .7rem; margin-top: 1.2rem; }
.socials a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid rgba(245,239,225,.25); color: var(--cream);
  transition: background .2s ease, border-color .2s ease;
}
.socials a:hover { background: var(--gold); border-color: var(--gold); color: var(--maroon-900); }
.socials svg { width: 18px; height: 18px; }
.footer-col h4 {
  font-family: 'Oswald', sans-serif; font-weight: 600; text-transform: uppercase;
  letter-spacing: .08em; font-size: .85rem; color: var(--gold); margin-bottom: 1rem;
}
.footer-col p { font-size: .92rem; margin-bottom: .5rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; max-width: 230px; }
.hours-row span:first-child { color: rgba(245,239,225,.6); }
.footer-link { color: var(--cream); text-decoration: none; transition: color .2s ease; }
.footer-link:hover { color: var(--gold); }
.footer-col .footer-link { display: inline-block; margin-top: .4rem; font-weight: 500; }

.footer-bottom {
  border-top: 1px solid rgba(245,239,225,.12);
  padding: 1.3rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .6rem;
  font-size: .82rem; color: rgba(245,239,225,.55);
}
.footer-legal { display: flex; gap: 1.4rem; }
.footer-legal a { color: rgba(245,239,225,.55); text-decoration: none; text-transform: uppercase; letter-spacing: .05em; font-size: .76rem; }
.footer-legal a:hover { color: var(--gold); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .nav-toggle { display: block; margin-left: auto; }
  .btn-order { display: none; }
  .nav-menu {
    position: fixed; top: 0; right: 0; bottom: 0; width: 75%; max-width: 320px;
    background: var(--maroon-900); flex-direction: column; align-items: flex-start;
    gap: .4rem; padding: 6rem 2rem 2rem; margin-left: 0;
    transform: translateX(100%); transition: transform .3s ease; box-shadow: -10px 0 40px rgba(0,0,0,.4);
  }
  body.nav-open .nav-menu { transform: translateX(0); }
  body.nav-open .nav-toggle span:nth-child(1) { top: 11px; transform: rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { top: 11px; transform: rotate(-45deg); }
  .nav-menu a { font-size: 1.05rem; }

  .hero-order { display: inline-block; }
  .hero-actions { width: 100%; max-width: 360px; gap: .8rem; }
  .hero-actions .btn { flex: 1; text-align: center; padding-left: 1rem; padding-right: 1rem; white-space: nowrap; }

  .strip-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .strip-item:nth-child(2)::after { display: none; }
  .strip-item::after { display: none; }
  .menu-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .locals-grid { grid-template-columns: 1fr; gap: 2rem; }
  .locals-image { order: -1; }
  .locals-image img { height: 300px; }
  .events-row { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 540px) {
  .hero-inner { padding-top: 6rem; }
  .strip-grid { grid-template-columns: 1fr; }
  .events-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { justify-content: center; text-align: center; }
}
