/* ============================================================
   CASK 'N FLAGON — Main Stylesheet
   Color palette:
     Navy   : #1B2A3B
     Gold   : #C9A84C
     Green  : #2E5B3A  (Fenway Green Monster nod)
     Cream  : #F8F5EF
     Dark   : #1A1A1A
     Muted  : #666
   ============================================================ */

:root {
  --navy: #1B2A3B;
  --navy-dark: #111D27;
  --gold: #C9A84C;
  --gold-dark: #a88535;
  --green: #2E5B3A;
  --cream: #F8F5EF;
  --white: #ffffff;
  --dark: #1A1A1A;
  --muted: #666666;
  --border: #e4e0d8;
  --radius: 6px;
  --shadow: 0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  background: var(--white);
  font-size: 15px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.2;
}

a { text-decoration: none; transition: color .2s, opacity .2s; }

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

/* ── Utility ── */
.fw-600 { font-weight: 600; }

/* ── Gold Button ── */
.btn-gold {
  background: var(--gold);
  color: var(--navy-dark) !important;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 2px solid var(--gold);
  border-radius: 2px;
  padding: 0.65rem 1.6rem;
  transition: background .2s, border-color .2s, color .2s;
}
.btn-gold:hover, .btn-gold:focus {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white) !important;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.cnf-navbar {
  background: var(--navy-dark);
  padding: 0.7rem 0;
  transition: background .3s, box-shadow .3s;
  z-index: 1000;
}
.cnf-navbar.scrolled {
  background: rgba(17,29,39,0.97);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-logo {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.05);
}
.brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.01em;
}
.cnf-navbar .nav-link {
  color: rgba(255,255,255,0.82) !important;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.5rem 0.75rem;
  transition: color .2s;
}
.cnf-navbar .nav-link:hover {
  color: var(--gold) !important;
}
.cnf-navbar .navbar-toggler {
  border-color: rgba(255,255,255,0.3);
}
.cnf-navbar .navbar-toggler-icon {
  filter: invert(1);
}

/* ============================================================
   HERO
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('img/CASK-N-FLAGON_13JANUARY2015-2-3-copy.jpg') center center / cover no-repeat;
  text-align: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(17,29,39,0.82) 0%,
    rgba(17,29,39,0.70) 60%,
    rgba(46,91,58,0.55) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem 1rem;
  max-width: 760px;
}
.hero-eyebrow {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.hero-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  letter-spacing: 0.04em;
  margin-bottom: 2.25rem;
  font-weight: 500;
}
.hero-ctas .btn {
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 0.85rem 2rem;
  border-radius: 2px;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.55);
  font-size: 1.6rem;
  animation: bounce 2s infinite;
  z-index: 2;
}
@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   AWARDS
   ============================================================ */
.awards-section {
  background: var(--navy);
  padding: 3.5rem 0;
}
.award-item {
  color: var(--white);
  padding: 1rem;
}
.award-icon {
  font-size: 1.8rem;
  color: var(--gold);
  display: block;
  margin: 0 auto 0.6rem;
}
.award-source {
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.3rem;
}
.award-text {
  font-style: italic;
  font-size: 1rem;
  color: rgba(255,255,255,0.9);
  margin: 0;
  font-family: 'Playfair Display', serif;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 0.75rem;
}
.section-title--light {
  color: var(--white);
}
.section-sub {
  color: var(--muted);
  font-size: 0.9rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================================
   MENU
   ============================================================ */
.menu-section {
  padding: 6rem 0;
  background: var(--cream);
}
.menu-tabs .nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
  background: transparent;
  border: 2px solid var(--border);
  border-radius: 2px;
  padding: 0.6rem 1.2rem;
  transition: all .2s;
}
.menu-tabs .nav-link:hover {
  border-color: var(--gold);
  color: var(--gold-dark);
}
.menu-tabs .nav-link.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white) !important;
}

.menu-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  height: 100%;
  transition: box-shadow .2s, transform .2s;
}
.menu-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.menu-card.featured-item {
  border-left: 3px solid var(--gold);
}
.menu-card-top {
  gap: 0.75rem;
  flex-wrap: wrap;
}
.menu-item-name {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.3rem;
  flex: 1;
}
.menu-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gold-dark);
  white-space: nowrap;
}
.menu-item-desc {
  color: var(--muted);
  font-size: 0.82rem;
  margin: 0;
  line-height: 1.6;
}
.badge-gs {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  background: var(--green);
  color: var(--white);
  border-radius: 2px;
  padding: 1px 5px;
  vertical-align: middle;
  letter-spacing: 0.05em;
}
.menu-subheading {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy);
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.4rem;
  margin-bottom: 0;
  display: inline-block;
}
.menu-note {
  color: var(--muted);
  font-size: 0.82rem;
  font-style: italic;
}
.menu-photo-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.menu-photo {
  border-radius: var(--radius);
  height: 220px;
  flex: 1 1 220px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.bbq-sides-box {
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  border-radius: var(--radius);
  font-size: 0.85rem;
}
.bbq-sides-box h6 {
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-section {
  padding: 6rem 0;
  background: var(--white);
}
.about-img-stack {
  position: relative;
}
.about-img-main {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-img-accent {
  position: absolute;
  bottom: -2rem;
  right: -1.5rem;
  width: 55%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 4px solid var(--white);
  aspect-ratio: 4/3;
  object-fit: cover;
}
.about-body {
  color: #444;
  font-size: 0.92rem;
  line-height: 1.85;
  margin-bottom: 1rem;
}
.accolade-badge {
  display: inline-flex;
  align-items: center;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 0.4rem 0.9rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--navy);
}
.accolade-badge .bi {
  color: var(--gold);
}

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-section {
  padding: 6rem 0;
  background: var(--cream);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto;
  gap: 0.75rem;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 1 / 1;
  cursor: pointer;
}
.gallery-item--tall {
  grid-row: span 2;
  aspect-ratio: unset;
}
.gallery-item--wide {
  grid-column: span 2;
  aspect-ratio: 2 / 1;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.06);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17,29,39,0.7) 0%, transparent 50%);
  display: flex;
  align-items: flex-end;
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay {
  opacity: 1;
}
.gallery-overlay span {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-item--tall { grid-row: span 1; aspect-ratio: 1/1; }
  .gallery-item--wide { grid-column: span 2; }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   EVENTS
   ============================================================ */
.events-section {
  padding: 6rem 0;
  background: var(--navy);
}
.events-body {
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.events-features {
  list-style: none;
  padding: 0;
  margin: 0;
}
.events-features li {
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  padding: 0.35rem 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.events-features li .bi {
  color: var(--gold);
  font-size: 1rem;
  flex-shrink: 0;
}
.events-img-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.events-img {
  border-radius: var(--radius);
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow-lg);
}
.events-img--top { aspect-ratio: 4/3; }
.events-img--bottom { aspect-ratio: 4/3; margin-top: 2rem; }

/* ============================================================
   LOCATIONS
   ============================================================ */
.locations-section {
  padding: 6rem 0;
  background: var(--white);
}
.location-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 100%;
}
.location-map {
  width: 100%;
}
.location-map iframe {
  display: block;
}
.location-info {
  padding: 2rem;
}
.location-name {
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.location-name .bi { color: var(--gold); }
.location-address, .location-phone {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0.2rem 0;
}
.location-phone a {
  color: var(--gold-dark);
  font-weight: 600;
}
.location-hours h6 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 1.25rem 0 0.5rem;
}
.hours-table {
  width: 100%;
  font-size: 0.82rem;
  border-collapse: collapse;
}
.hours-table td {
  padding: 0.2rem 0.5rem 0.2rem 0;
  vertical-align: top;
}
.hours-table td:first-child {
  color: var(--dark);
  font-weight: 600;
  min-width: 160px;
}
.hours-table td:last-child {
  color: var(--muted);
}
.hours-note {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--muted);
  margin-top: 0.5rem;
  margin-bottom: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
  padding: 5rem 0 2rem;
}
.footer-top {
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 3rem;
}
.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(1.1);
}
.footer-tagline {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin: 0;
}
.social-links a {
  color: rgba(255,255,255,0.55);
  font-size: 1.2rem;
  transition: color .2s;
}
.social-links a:hover { color: var(--gold); }

.footer-heading {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-address {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  font-style: normal;
  line-height: 1.8;
}
.footer-address a {
  color: var(--gold);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  margin-top: 1rem;
}
.footer-copy {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.35);
}
.wicked-fast-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.35);
  border-radius: 2px;
  padding: 0.4rem 0.9rem;
  font-size: 0.72rem;
  font-family: 'Montserrat', sans-serif;
  color: rgba(255,255,255,0.7);
  transition: all .2s;
}
.wicked-fast-badge span { opacity: 0.7; }
.wicked-fast-badge strong { color: var(--gold); font-weight: 700; }
.wicked-fast-badge .bi { color: var(--gold); font-size: 0.9rem; }
.wicked-fast-badge:hover {
  background: rgba(201,168,76,0.2);
  border-color: var(--gold);
  color: var(--white);
}

/* ============================================================
   RESPONSIVE OVERRIDES
   ============================================================ */
@media (max-width: 991px) {
  .about-img-accent {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    border: none;
    margin-top: 1rem;
  }
  .about-img-stack { margin-bottom: 1rem; }
  .events-img-grid { grid-template-columns: 1fr; }
  .events-img--bottom { margin-top: 0; }
}

@media (max-width: 767px) {
  .hero-headline { font-size: 3rem; }
  .menu-section,
  .about-section,
  .gallery-section,
  .events-section,
  .locations-section { padding: 4rem 0; }
  .section-title { font-size: 2rem; }
  .menu-photo { height: 160px; }
}
