/* ============================================
   DISCH'S ROUTE 53 TAVERN — style.css
   Color palette: forest green + warm amber + cream
   ============================================ */

:root {
  --green-dark:  #1a3829;
  --green-mid:   #2c5c3e;
  --amber:       #c8892e;
  --amber-light: #e0a84a;
  --rust:        #b84a28;
  --cream:       #f7f3ec;
  --cream-dark:  #ede8df;
  --charcoal:    #1a1a18;
  --text-muted:  #6b6560;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'Raleway', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--charcoal);
  font-weight: 400;
  line-height: 1.7;
}

/* ── NAVBAR ── */
#mainNav {
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
  padding: 0.75rem 0;
}

#mainNav.scrolled {
  background: var(--green-dark);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.navbar-brand { gap: 0.6rem; }

.brand-name {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

#mainNav .nav-link {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 0.9rem;
  transition: color 0.2s;
}

#mainNav .nav-link:hover { color: var(--amber-light); }

#mainNav .btn-order {
  background: var(--amber);
  color: #fff;
  border-radius: 3px;
  padding: 0.45rem 1.1rem;
  font-weight: 600;
  transition: background 0.2s;
}
#mainNav .btn-order:hover { background: var(--amber-light); }

/* ── 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;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 50% 52%, rgba(18,8,2,0.52) 0%, rgba(10,4,0,0.06) 100%),
    linear-gradient(to bottom, rgba(0,0,0,0.38) 0%, rgba(8,4,0,0.10) 42%, rgba(0,0,0,0.62) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  padding: 4rem 2rem 3.5rem;
  max-width: 780px;
  width: 90vw;
  min-width: 0;
  box-sizing: border-box;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  color: var(--amber-light);
  margin-bottom: 0;
  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-eyebrow::after {
  content: '';
  display: block;
  width: 44px;
  height: 1px;
  background: var(--amber);
  margin: 1rem auto 1.4rem;
  opacity: 0.75;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  overflow-wrap: break-word;
  word-wrap: break-word;
  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-head);
  font-size: clamp(1.05rem, 2.8vw, 1.5rem);
  font-style: italic;
  font-weight: 400;
  color: var(--cream);
  margin-bottom: 0.5rem;
  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);
}

.hero-tagline {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.72);
  margin-bottom: 0;
  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.9);
}

.hero-ctas {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-top: 2.75rem;
}

.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  animation: heroScrollBounce 2.4s ease-in-out infinite;
  text-decoration: none;
}

.hero-scroll span {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.hero-scroll i {
  color: var(--amber-light);
  font-size: 1rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.9);
}

@keyframes heroScrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.7; }
  50%       { transform: translateX(-50%) translateY(7px); opacity: 1; }
}

.btn-primary-gold {
  background: var(--amber);
  color: #fff;
  border: none;
  padding: 0.75rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-primary-gold:hover { background: var(--amber-light); color: #fff; transform: translateY(-1px); }

.btn-outline-light {
  border: 2px solid rgba(255,255,255,0.75);
  padding: 0.75rem 1.8rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background 0.2s, border-color 0.2s;
}
.btn-outline-light:hover { background: rgba(255,255,255,0.15); }

/* ── SECTION SHARED ── */
section { padding: 5rem 0; }

.section-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.6rem;
}

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

.section-note {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0;
}

/* ── SIGNATURES ── */
.signatures-section {
  background: var(--cream-dark);
  padding: 5rem 0;
}

.signatures-grid { border-top: 3px solid var(--amber); }

.sig-card {
  overflow: hidden;
  transition: transform 0.3s;
}

.sig-card:hover { transform: translateY(-4px); }

.sig-img-wrap {
  height: 260px;
  overflow: hidden;
}
.sig-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}
.sig-card:hover .sig-img-wrap img { transform: scale(1.04); }

.sig-body {
  padding: 1.8rem 1.8rem 2rem;
  background: var(--cream);
}
.sig-card--dark .sig-body { background: var(--green-dark); color: #fff; }
.sig-card--dark .sig-body h3 { color: var(--amber-light); }
.sig-card--dark .sig-body p { color: rgba(255,255,255,0.85); }

.sig-body h3 {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.6rem;
}

.sig-body p { font-size: 0.92rem; margin-bottom: 0.75rem; }

.sig-link {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--amber-light);
  text-decoration: none;
}
.sig-link:hover { color: #fff; }

/* ── MENU ── */
.menu-section { background: #fff; }

.menu-tabs { gap: 0; border-bottom: 2px solid var(--cream-dark); }

.menu-tab-btn {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  padding: 0.75rem 2.5rem;
  margin-bottom: -2px;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
}
.menu-tab-btn:hover { color: var(--green-dark); }
.menu-tab-btn.active {
  color: var(--green-dark);
  border-bottom-color: var(--amber);
}

.menu-category { margin-bottom: 2.2rem; }

.menu-cat-title {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-dark);
  border-bottom: 1px solid var(--cream-dark);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}

.cat-sub {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
  font-style: normal;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.3rem 0;
  border-bottom: 1px dotted #e8e3da;
  font-size: 0.92rem;
  gap: 0.5rem;
}

.menu-item.sm { font-size: 0.86rem; }

.menu-item em {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-left: 0.4rem;
}

.price {
  font-weight: 600;
  color: var(--rust);
  white-space: nowrap;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.menu-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-style: italic;
  margin-top: 0.4rem;
  margin-bottom: 0;
}

/* ── GALLERY ── */
.gallery-section { background: var(--charcoal); padding: 5rem 0 0; }
.gallery-section .section-title { color: var(--cream); }
.gallery-section .section-eyebrow { color: var(--amber); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 260px);
}

.gallery-cell { overflow: hidden; }

.gallery-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.4s ease-out;
  filter: brightness(0.9);
}
.gallery-cell:hover img { transform: scale(1.07); filter: brightness(1.05); }

/* ── ABOUT ── */
.about-section { background: var(--cream); }

.about-img-wrap {
  position: relative;
  border-radius: 4px;
  overflow: visible;
}

.about-img-wrap img {
  width: 100%;
  border-radius: 4px;
  display: block;
  box-shadow: 8px 8px 0 var(--amber);
}

.about-badge {
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  background: var(--green-dark);
  color: var(--amber-light);
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.5rem 1rem;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.about-text {
  font-size: 0.95rem;
  color: var(--charcoal);
  margin-bottom: 1rem;
}

.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.value-chip {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--green-dark);
  color: var(--amber-light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.9rem;
  border-radius: 2px;
}

.value-chip i { font-size: 0.7rem; }

/* ── LOCATION ── */
.location-section { background: var(--green-dark); color: #fff; }
.location-section .section-title { color: var(--cream); }
.location-section .section-eyebrow { color: var(--amber); }

.location-info { display: flex; flex-direction: column; gap: 1.5rem; }

.loc-block {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.loc-icon {
  font-size: 1.3rem;
  color: var(--amber);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.loc-block h5 {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--amber-light);
  margin-bottom: 0.2rem;
}

.loc-block p { font-size: 0.92rem; margin: 0; color: rgba(255,255,255,0.85); }
.loc-block a { color: var(--amber-light); text-decoration: none; }
.loc-block a:hover { color: #fff; }

.hours-table { width: 100%; font-size: 0.88rem; color: rgba(255,255,255,0.85); }
.hours-table td { padding: 0.15rem 0.5rem 0.15rem 0; }
.hours-table td:first-child { font-weight: 600; white-space: nowrap; color: #fff; }

.hours-note { font-size: 0.78rem; color: rgba(255,255,255,0.6); font-style: italic; margin-top: 0.4rem; }

.map-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 3px solid var(--amber);
}

.social-links { display: flex; gap: 0.75rem; }

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 1.05rem;
  text-decoration: none;
  transition: background 0.2s;
}
.social-btn:hover { background: var(--amber); color: #fff; }

/* ── FOOTER ── */
.site-footer {
  background: #0f2219;
  color: rgba(255,255,255,0.7);
  padding: 3rem 0 1.5rem;
}

.footer-address {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.75rem;
}
.footer-address a { color: var(--amber-light); text-decoration: none; }

.footer-links { display: flex; justify-content: center; gap: 1.2rem; flex-wrap: wrap; }
.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--amber-light); }

.powered-by {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--amber);
  text-decoration: none;
  display: inline-block;
}
.powered-by:hover { color: var(--amber-light); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  margin-top: 1rem;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.4); margin: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 991.98px) {
  .brand-name { font-size: 0.95rem; }

  #mainNav.scrolled .navbar-collapse {
    background: var(--green-dark);
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .signatures-grid .col-md-4 + .col-md-4 { border-top: 1px solid var(--cream-dark); }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(4, 200px);
  }

  /* 12 items → 3×4 is fine */
}

@media (max-width: 767.98px) {
  .hero-content { padding: 2rem 1.25rem; max-width: 100%; box-sizing: border-box; }

  .sig-img-wrap { height: 200px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 180px);
  }

  .about-img-wrap { margin-bottom: 2rem; }
  .about-badge { bottom: -0.5rem; right: 0.5rem; }

  .menu-tab-btn { padding: 0.65rem 1.5rem; font-size: 0.82rem; }

  .values-grid .value-chip { font-size: 0.72rem; }

  .hero-tagline { font-size: 0.72rem; letter-spacing: 0.06em; }

  .social-links { justify-content: center; }
  .footer-links { gap: 0.8rem; }
}

@media (max-width: 575.98px) {
  .hero-ctas { flex-direction: column; align-items: center; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(6, 140px);
  }

  .brand-name { font-size: 0.78rem; letter-spacing: 0.01em; }
  .navbar-brand img { height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  .sig-card,
  .sig-img-wrap img,
  .gallery-cell img,
  .btn-primary-gold,
  #mainNav { transition-duration: 0.01ms !important; }
}
