/* ============================================================
   Morse Tavern — style.css
   Palette: forest green · warm gold · cream
   ============================================================ */

:root {
  --green-dark:  #1a3228;
  --green-mid:   #2b5040;
  --green-light: #3d7060;
  --gold:        #c9952b;
  --gold-light:  #e8b84b;
  --cream:       #f5f0e8;
  --warm-white:  #fdfaf5;
  --charcoal:    #1e1e1e;
  --text-muted:  #6b6b6b;
  --font-head:   'Cinzel', serif;
  --font-body:   'Lato', sans-serif;
}

/* ── Reset & Base ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  line-height: 1.7;
  background: var(--warm-white);
}

/* ── Typography helpers ────────────────────────────────── */
.section-pad { padding: 90px 0; }

.section-eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--green-dark);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* ── Colour backgrounds ────────────────────────────────── */
.bg-cream       { background: var(--cream); }
.bg-dark-green  { background: var(--green-dark); }
.bg-white       { background: #fff; }

/* ── Buttons ───────────────────────────────────────────── */
.btn-gold {
  background: var(--gold);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
}
.btn-gold:hover { background: var(--gold-light); color: #fff; transform: translateY(-1px); }

.btn-green {
  background: var(--green-mid);
  color: #fff;
  border: none;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: .04em;
  transition: background .2s, transform .15s;
}
.btn-green:hover { background: var(--green-light); color: #fff; transform: translateY(-1px); }

.btn-outline-green {
  border: 2px solid var(--green-mid);
  color: var(--green-mid);
  background: transparent;
  font-family: var(--font-body);
  font-weight: 700;
  transition: all .2s;
}
.btn-outline-green:hover { background: var(--green-mid); color: #fff; }

.text-gold { color: var(--gold) !important; }

/* ── NAVBAR ────────────────────────────────────────────── */
#mainNav {
  background: var(--green-dark);
  padding: .75rem 0;
  transition: padding .3s, box-shadow .3s;
  border-bottom: 2px solid rgba(201,149,43,.25);
}
#mainNav.scrolled {
  padding: .45rem 0;
  box-shadow: 0 4px 18px rgba(0,0,0,.35);
}

.navbar-brand .brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: .06em;
}

.nav-link {
  font-family: var(--font-body);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(255,255,255,.82) !important;
  padding: .4rem .7rem !important;
  transition: color .2s;
}
.nav-link:hover { color: var(--gold) !important; }

/* ── HERO ──────────────────────────────────────────────── */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: url('img/hero.webp') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 75% 65% at 50% 48%, rgba(0,0,0,0.38) 0%, rgba(0,0,0,0.04) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.12) 45%, rgba(0,0,0,0.50) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  width: 90%;
  padding: 2.5rem 3rem;
  background: rgba(0,0,0,0.20);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  border-radius: 4px;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 1px 12px rgba(0,0,0,0.95), 0 0 30px rgba(0,0,0,0.8);
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 700;
  letter-spacing: .05em;
  line-height: 1.05;
  color: #fff;
  text-shadow: 0 0 4px rgba(0,0,0,1), 0 2px 20px rgba(0,0,0,0.95), 0 0 60px rgba(0,0,0,0.8);
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,.92);
  letter-spacing: .1em;
  margin-top: .75rem;
  text-shadow: 0 0 3px rgba(0,0,0,1), 0 2px 16px rgba(0,0,0,0.95), 0 0 40px rgba(0,0,0,0.85);
}

/* ── HIGHLIGHTS STRIP ─────────────────────────────────── */
.highlights-strip { background: var(--green-mid); }

.highlight-tile {
  padding: 2.2rem 1.8rem;
  border-right: 1px solid rgba(255,255,255,.12);
}
.highlight-tile:last-child { border-right: none; }
.highlight-tile--alt { background: rgba(0,0,0,.12); }

.highlight-inner { color: #fff; text-align: center; }

.highlight-inner i {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: .75rem;
  display: block;
}
.highlight-inner h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .4rem;
  color: #fff;
}
.highlight-inner p {
  font-size: .88rem;
  color: rgba(255,255,255,.78);
  margin: 0;
  line-height: 1.5;
}

/* ── MENU CARDS ────────────────────────────────────────── */
.menu-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem 1.75rem;
  border: 1px solid rgba(0,0,0,.07);
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.menu-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.12); transform: translateY(-3px); }

.menu-card-icon {
  width: 52px; height: 52px;
  background: var(--green-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
}
.menu-card-icon i { font-size: 1.4rem; color: var(--gold); }

.menu-card h5 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: .6rem;
}
.menu-card p { font-size: .9rem; color: var(--text-muted); margin: 0; }

/* ── GALLERY ───────────────────────────────────────────── */
.gallery-cell {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 4px;
  background: var(--green-dark);
}

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.gallery-cell:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.72));
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 1.5rem .75rem .55rem;
  opacity: 0;
  transition: opacity .3s;
}
.gallery-cell:hover .gallery-caption { opacity: 1; }

/* ── ENTERTAINMENT ─────────────────────────────────────── */
.ent-card {
  background: #fff;
  border-radius: 8px;
  padding: 2rem;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 3px 16px rgba(0,0,0,.07);
  display: flex;
  flex-direction: column;
}

.ent-card--trivia { background: var(--green-dark); color: #fff; }
.ent-card--trivia h4 { color: #fff; }
.ent-card--trivia p { color: rgba(255,255,255,.85); }

.ent-card-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.4rem;
}
.ent-card-header i { font-size: 1.5rem; color: var(--gold); }
.ent-card-header h4 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-dark);
  margin: 0;
}

.schedule-grid { display: flex; flex-direction: column; gap: .3rem; }

.schedule-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .55rem .75rem;
  border-radius: 4px;
  background: var(--cream);
}
.schedule-row:nth-child(even) { background: #f0ebe0; }

.sched-date {
  font-size: .82rem;
  font-weight: 700;
  color: var(--gold);
  min-width: 48px;
  letter-spacing: .03em;
}

.sched-band {
  font-family: var(--font-head);
  font-size: .95rem;
  color: var(--green-dark);
}

.schedule-row--footer {
  background: transparent !important;
  padding-top: .75rem;
  font-size: .82rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(0,0,0,.1);
  margin-top: .5rem;
}
.schedule-row--footer a { color: var(--gold); }

.trivia-details {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.trivia-details li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .95rem;
  color: rgba(255,255,255,.88);
}
.trivia-details i { color: var(--gold); font-size: 1rem; flex-shrink: 0; }

/* ── FUNCTIONS ─────────────────────────────────────────── */
.func-card {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 3px 16px rgba(0,0,0,.08);
  display: flex;
  flex-direction: column;
  transition: box-shadow .2s;
}
.func-card:hover { box-shadow: 0 10px 32px rgba(0,0,0,.15); }

.func-card-img { aspect-ratio: 16/9; overflow: hidden; }
.func-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.func-card:hover .func-card-img img { transform: scale(1.04); }

.func-card-body { padding: 1.75rem; background: #fff; flex: 1; }
.func-card-body h4 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  color: var(--green-dark);
  margin-bottom: .4rem;
}
.func-capacity { font-size: .85rem; font-weight: 700; color: var(--gold); letter-spacing: .04em; margin-bottom: .75rem; }
.func-capacity i { margin-right: .3rem; }
.func-card-body p { font-size: .92rem; color: var(--text-muted); margin: 0; }

.catering-banner {
  background: var(--green-dark);
  border-radius: 8px;
  padding: 2.2rem 2.5rem;
  color: #fff;
}
.catering-banner h4 { font-family: var(--font-head); font-size: 1.2rem; color: #fff; margin-bottom: .5rem; }
.catering-banner p { color: rgba(255,255,255,.82); font-size: .95rem; }
.catering-banner .btn-gold { font-size: 1rem; }

/* ── HISTORY / ABOUT ───────────────────────────────────── */
#history .section-title { color: #fff; }
#history p { color: rgba(255,255,255,.85); font-size: .98rem; margin-bottom: 1rem; }
#history strong { color: var(--gold-light); }
#history em { font-style: italic; color: rgba(255,255,255,.9); }
.text-muted-light { color: rgba(255,255,255,.55) !important; font-size: .83rem; }
#history a.text-gold { text-decoration: underline; text-underline-offset: 3px; }

.about-img-wrap {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.4);
  border: 3px solid var(--gold);
}
.about-img { width: 100%; display: block; }

/* ── CONTACT ───────────────────────────────────────────── */
.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }

.contact-block h5 {
  font-family: var(--font-head);
  font-size: .95rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: .3rem;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.contact-block p { margin: 0; color: var(--text-muted); font-size: .95rem; }
.contact-link { color: var(--green-mid); font-weight: 700; text-decoration: none; }
.contact-link:hover { color: var(--gold); }

.hours-table { width: 100%; font-size: .9rem; border-collapse: collapse; }
.hours-table td { padding: .3rem 0; color: var(--text-muted); }
.hours-table td:last-child { font-weight: 700; color: var(--green-dark); text-align: right; }

.social-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 700;
  color: #1877f2;
  text-decoration: none;
  font-size: .95rem;
  transition: opacity .2s;
}
.social-link:hover { opacity: .75; }

.map-wrap {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,.12);
  border: 1px solid rgba(0,0,0,.08);
  height: 100%;
  min-height: 420px;
}
.map-wrap iframe { display: block; height: 100%; min-height: 420px; }

/* ── FOOTER ────────────────────────────────────────────── */
.site-footer {
  background: var(--green-dark);
  color: rgba(255,255,255,.7);
  padding: 3rem 0 1.5rem;
}

.footer-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: .2rem;
}
.footer-address, .footer-phone { font-size: .85rem; margin-bottom: .1rem; }
.footer-phone a { color: rgba(255,255,255,.75); text-decoration: none; }
.footer-phone a:hover { color: var(--gold); }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .3rem 1rem;
}
.footer-nav a {
  font-size: .8rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: rgba(255,255,255,.65);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--gold); }

.footer-social a {
  font-size: 1.4rem;
  color: rgba(255,255,255,.55);
  transition: color .2s;
}
.footer-social a:hover { color: #1877f2; }

.wf-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  line-height: 1.2;
  transition: opacity .2s;
}
.wf-badge:hover { opacity: .8; }
.wf-label { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.45); }
.wf-brand { font-family: var(--font-head); font-size: .95rem; font-weight: 600; color: var(--gold); letter-spacing: .04em; }

.footer-divider { border-color: rgba(255,255,255,.1); margin: 1.75rem 0 1rem; }

.footer-copy { text-align: center; font-size: .78rem; color: rgba(255,255,255,.35); margin: 0; }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 991px) {
  .highlight-tile { border-right: none; border-bottom: 1px solid rgba(255,255,255,.12); }
  .highlight-tile:nth-child(2n) { border-right: none; }
  .highlight-tile { text-align: center; }

  .section-pad { padding: 65px 0; }

  .catering-banner { text-align: center; }
  .catering-banner .btn-gold { margin-top: .75rem; }

  .wf-badge { align-items: center; margin-top: .5rem; }
}

@media (max-width: 767px) {
  .hero-content { padding: 1.75rem 1.5rem; }
  .hero-title { font-size: 2.6rem; }

  .highlight-tile {
    border-bottom: 1px solid rgba(255,255,255,.12);
    border-right: none;
  }
  .highlight-tile:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.12); }
  .highlight-tile:last-child, .highlight-tile:nth-last-child(2):nth-child(odd) { border-bottom: none; }

  .func-card-img { aspect-ratio: 4/3; }

  .hours-table td:last-child { text-align: left; padding-left: 1rem; }

  .about-img-wrap { margin-top: 1.5rem; }

  .schedule-row { flex-wrap: wrap; gap: .25rem; }
}

@media (max-width: 575px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; }

  .gallery-cell { aspect-ratio: 1; }

  .ent-card { padding: 1.5rem; }
}
