/* ============================================================
   STEEL PAN PIZZA CO. — Shared Stylesheet
   Dyson Digital Gold Standard
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600;700&display=swap');

/* --- CSS Variables --- */
:root {
  --cream:      #faf7f2;
  --charcoal:   #1a1a1a;
  --red:        #c0392b;
  --red-dark:   #a93226;
  --gold:       #d4a843;
  --gold-light: #e8c76a;
  --mid-gray:   #4a4a4a;
  --light-gray: #e8e4dc;
  --white:      #ffffff;

  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', sans-serif;

  --radius:  6px;
  --radius-lg: 12px;
  --shadow:  0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.18);

  --nav-h: 76px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: inherit;
  opacity: 1;
}

p {
  opacity: 1;
  line-height: 1.6;
  overflow: visible;
}

/* --- Utility --- */
.container {
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: 80px;
  padding-bottom: 80px;
  padding-left: 20px;
  padding-right: 20px;
}

.section--dark {
  background-color: var(--charcoal);
  color: var(--cream);
}

.section--cream {
  background-color: var(--cream);
  color: var(--charcoal);
}

.section--red {
  background-color: var(--red);
  color: var(--white);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 12px;
  opacity: 1;
}

.section--dark .section-label {
  color: var(--gold);
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 20px;
  opacity: 1;
  overflow: visible;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--mid-gray);
  max-width: 560px;
  opacity: 1;
  overflow: visible;
  line-height: 1.6;
}

.section--dark .section-subtitle {
  color: rgba(250,247,242,0.75);
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
  white-space: nowrap;
  opacity: 1;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-primary {
  background-color: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-primary:hover {
  background-color: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-outline:hover {
  background-color: var(--white);
  color: var(--charcoal);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.btn-outline-dark:hover {
  background-color: var(--charcoal);
  color: var(--white);
}

.btn-gold {
  background-color: var(--gold);
  color: var(--charcoal);
  border-color: var(--gold);
}

.btn-gold:hover {
  background-color: var(--gold-light);
  border-color: var(--gold-light);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--charcoal);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 2px solid rgba(255,255,255,0.06);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.nav-logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 50%;
  background-color: var(--cream);
  padding: 2px;
}

.nav-logo-text {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.2;
  opacity: 1;
}

.nav-logo-text span {
  display: block;
  font-size: 0.68rem;
  font-family: var(--font-body);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 1;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(250,247,242,0.85);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  opacity: 1;
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
  background-color: rgba(255,255,255,0.08);
}

.nav-links a.nav-cta {
  background-color: var(--red);
  color: var(--white);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  margin-left: 8px;
}

.nav-links a.nav-cta:hover {
  background-color: var(--red-dark);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius);
  transition: background var(--transition);
}

.hamburger:hover {
  background-color: rgba(255,255,255,0.08);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--cream);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Mobile Menu Overlay */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background-color: var(--charcoal);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-top: 80px;
  padding-bottom: 40px;
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 1001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--cream);
  font-size: 1.4rem;
  transition: background var(--transition);
}

.mobile-menu-close:hover {
  background: rgba(255,255,255,0.2);
}

.mobile-menu a {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--cream);
  padding: 16px 40px;
  text-align: center;
  text-decoration: none;
  transition: color var(--transition);
  opacity: 1;
  line-height: 1.3;
}

.mobile-menu a:hover {
  color: var(--gold);
}

.mobile-menu a.nav-cta-mobile {
  margin-top: 16px;
  background-color: var(--red);
  border-radius: var(--radius);
  padding: 16px 40px;
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-menu a.nav-cta-mobile:hover {
  background-color: var(--red-dark);
  color: var(--white);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--charcoal);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.45;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

/* Respect reduced-motion preference — hide video, hero bg-color shows instead */
@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(26,26,26,0.82) 0%, rgba(26,26,26,0.45) 60%, rgba(192,57,43,0.15) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(212,168,67,0.18);
  border: 1px solid var(--gold);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 24px;
  opacity: 1;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.08;
  margin-bottom: 24px;
  opacity: 1;
  overflow: visible;
}

.hero-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(250,247,242,0.88);
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 1;
  overflow: visible;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(250,247,242,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll svg {
  width: 24px;
  height: 24px;
  stroke: rgba(250,247,242,0.5);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   PAGE HEADER (Interior Pages)
   ============================================================ */
.page-header {
  background-color: var(--charcoal);
  padding-top: 72px;
  padding-bottom: 72px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Default radial tint (no bg photo) */
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(192,57,43,0.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* --- Photo-backed page headers --- */
.page-header--img .page-header-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.38;
  z-index: 0;
}

/* Darken overlay for photo headers */
.page-header--img::before {
  background: linear-gradient(to bottom, rgba(26,26,26,0.72) 0%, rgba(26,26,26,0.58) 100%);
  z-index: 1;
}

.page-header-inner {
  position: relative;
  z-index: 2;
  width: 100%;
}

.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--cream);
  margin-bottom: 16px;
  opacity: 1;
  overflow: visible;
}

.page-header p {
  font-size: 1.05rem;
  color: rgba(250,247,242,0.82);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  opacity: 1;
  overflow: visible;
  line-height: 1.6;
}

/* ============================================================
   FEATURES / PILLARS
   ============================================================ */


.pillar-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius-lg);
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  transition: box-shadow var(--transition), transform var(--transition);
}

.pillar-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.section--dark .pillar-card {
  background-color: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.08);
}

.pillar-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
  display: block;
}

.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--charcoal);
  opacity: 1;
  overflow: visible;
}

.section--dark .pillar-card h3 {
  color: var(--cream);
}

.pillar-card p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.6;
  opacity: 1;
  overflow: visible;
}

.section--dark .pillar-card p {
  color: rgba(250,247,242,0.65);
}

/* ============================================================
   SPLIT SECTIONS
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 520px;
}

.split--reverse {
  direction: rtl;
}

.split--reverse > * {
  direction: ltr;
}

.split-img {
  width: 100%;
  height: 100%;
  min-height: 400px;
  object-fit: cover;
}

.split-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px 56px;
}

/* When split-body also carries section--dark, ensure text is readable */
.split-body.section--dark {
  background-color: var(--charcoal);
  color: var(--cream);
}

.split-body.section--dark h2,
.split-body.section--dark h3,
.split-body.section--dark .section-title {
  color: var(--cream);
}

.split-body.section--dark .section-subtitle {
  color: rgba(250,247,242,0.75);
}

.split-body.section--dark .section-label {
  color: var(--gold);
}

/* section-label inside photo page headers should be gold, not red */
.page-header--img .section-label {
  color: var(--gold);
}

.split-body .section-subtitle {
  margin-bottom: 32px;
}

/* menu-grid: prevent 280px minimum from overflowing narrow phones */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr));
  gap: 28px;
}

/* pillars-grid: safer minimum for very small screens */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: 32px;
  margin-top: 56px;
}

/* ============================================================
   MENU SECTION WRAPPERS (filter show/hide + spacing)
   ============================================================ */
.menu-section {
  margin-top: 56px;
}

.menu-section--first,
.menu-section:first-of-type {
  margin-top: 0;
}

.menu-section-heading {
  margin-top: 0;
}

/* ============================================================
   MENU PAGE
   ============================================================ */
.menu-categories {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.menu-cat-btn {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--light-gray);
  background: transparent;
  color: var(--mid-gray);
  cursor: pointer;
  transition: all var(--transition);
}

.menu-cat-btn.active,
.menu-cat-btn:hover {
  background-color: var(--red);
  border-color: var(--red);
  color: var(--white);
}


.menu-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  transition: box-shadow var(--transition), transform var(--transition);
}

.menu-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.menu-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.menu-card-body {
  padding: 22px 24px 28px;
}

.menu-card-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 6px;
  opacity: 1;
}

.menu-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--charcoal);
  opacity: 1;
  overflow: visible;
}

.menu-card-body p {
  font-size: 0.88rem;
  color: var(--mid-gray);
  line-height: 1.55;
  margin-bottom: 18px;
  opacity: 1;
  overflow: visible;
}

.menu-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-price {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--charcoal);
  opacity: 1;
}

/* ============================================================
   GALLERY PAGE
   ============================================================ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 260px;
  gap: 16px;
}

.gallery-item {
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  position: relative;
}

.gallery-item:nth-child(1) { grid-column: span 8; grid-row: span 2; }
.gallery-item:nth-child(2) { grid-column: span 4; }
.gallery-item:nth-child(3) { grid-column: span 4; }
.gallery-item:nth-child(4) { grid-column: span 6; }
.gallery-item:nth-child(5) { grid-column: span 6; }
.gallery-item:nth-child(6) { grid-column: span 4; }
.gallery-item:nth-child(7) { grid-column: span 4; }
.gallery-item:nth-child(8) { grid-column: span 4; }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,26,26,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-item-overlay svg {
  width: 36px;
  height: 36px;
  stroke: var(--white);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0,0,0,0.92);
  align-items: center;
  justify-content: center;
}

.lightbox.is-open {
  display: flex;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  z-index: 2001;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.12);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  color: var(--white);
  font-size: 1.4rem;
  transition: background var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.22);
}

/* ============================================================
   STORY PAGE
   ============================================================ */
.story-content {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.story-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--mid-gray);
  margin-bottom: 24px;
  opacity: 1;
  overflow: visible;
}

.story-content h2 {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  margin-top: 48px;
  margin-bottom: 20px;
  color: var(--charcoal);
  opacity: 1;
  overflow: visible;
}

.story-pull {
  border-left: 4px solid var(--red);
  padding-left: 28px;
  margin-top: 40px;
  margin-bottom: 40px;
}

.story-pull blockquote {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-style: italic;
  color: var(--charcoal);
  line-height: 1.5;
  opacity: 1;
  overflow: visible;
}

.timeline {
  margin-top: 60px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 24px;
  padding-bottom: 40px;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 49px;
  top: 36px;
  bottom: 0;
  width: 2px;
  background-color: var(--light-gray);
}

.timeline-item:last-child::before {
  display: none;
}

.timeline-year {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--red);
  padding-top: 4px;
  text-align: right;
  opacity: 1;
}

.timeline-dot {
  position: absolute;
  left: 43px;
  top: 8px;
  width: 14px;
  height: 14px;
  background-color: var(--red);
  border-radius: 50%;
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-body h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--charcoal);
  opacity: 1;
  overflow: visible;
}

.timeline-body p {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-bottom: 0;
  opacity: 1;
  overflow: visible;
}

/* ============================================================
   CATERING PAGE
   ============================================================ */
.catering-packages {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 28px;
  margin-top: 56px;
}

.package-card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: box-shadow var(--transition), transform var(--transition);
  position: relative;
  overflow: hidden;
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background-color: var(--red);
}

.package-card.featured::before {
  background-color: var(--gold);
}

.package-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.package-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background-color: var(--gold);
  color: var(--charcoal);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
  opacity: 1;
}

.package-card h3 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--charcoal);
  opacity: 1;
  overflow: visible;
}

.package-price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--red);
  margin-bottom: 20px;
  opacity: 1;
}

.package-price span {
  font-size: 0.9rem;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--mid-gray);
}

.package-features {
  margin-bottom: 28px;
}

.package-features li {
  font-size: 0.9rem;
  color: var(--mid-gray);
  padding: 8px 0;
  border-bottom: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 1;
  line-height: 1.6;
}

.package-features li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

/* Catering Form */
.catering-form-wrap {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 1;
}

.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--charcoal);
  background-color: var(--cream);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius);
  padding: 12px 16px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  line-height: 1.6;
  opacity: 1;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}

/* ============================================================
   LOCATIONS PAGE
   ============================================================ */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 28px;
  margin-top: 56px;
}

.location-card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}

.location-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.location-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.location-card-body {
  padding: 28px 28px 32px;
}

.location-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
  opacity: 1;
}

.location-card-body h3 {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--charcoal);
  opacity: 1;
  overflow: visible;
}

.location-detail {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: var(--mid-gray);
  line-height: 1.6;
  opacity: 1;
}

.location-detail-icon {
  flex-shrink: 0;
  font-size: 1rem;
  margin-top: 1px;
}

.location-hours {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--light-gray);
}

.location-hours h4 {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 10px;
  opacity: 1;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--mid-gray);
  padding: 4px 0;
  opacity: 1;
  line-height: 1.6;
}

.hours-today {
  color: var(--red);
  font-weight: 600;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--charcoal);
  opacity: 1;
  overflow: visible;
}

.contact-info p {
  font-size: 0.95rem;
  color: var(--mid-gray);
  margin-bottom: 32px;
  line-height: 1.7;
  opacity: 1;
  overflow: visible;
}

.contact-detail-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.contact-detail-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(192,57,43,0.1);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 2px;
  opacity: 1;
}

.contact-detail-text span {
  font-size: 0.9rem;
  color: var(--mid-gray);
  opacity: 1;
  line-height: 1.6;
}

.contact-form {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: 44px 48px;
}

.contact-form h3 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: var(--charcoal);
  opacity: 1;
  overflow: visible;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--charcoal);
  color: var(--cream);
  padding-top: 64px;
  padding-bottom: 32px;
  padding-left: 20px;
  padding-right: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 32px;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(250,247,242,0.6);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 260px;
  opacity: 1;
  overflow: visible;
}

.footer-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 50%;
  background-color: var(--cream);
  padding: 2px;
}

.footer-logo-name {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--cream);
  margin-top: 12px;
  opacity: 1;
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 1;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 0.88rem;
  color: rgba(250,247,242,0.65);
  transition: color var(--transition);
  text-decoration: none;
  opacity: 1;
  line-height: 1.6;
}

.footer-col ul li a:hover {
  color: var(--cream);
}

.footer-col p {
  font-size: 0.88rem;
  color: rgba(250,247,242,0.65);
  line-height: 1.7;
  opacity: 1;
  overflow: visible;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(250,247,242,0.4);
  opacity: 1;
  overflow: visible;
  line-height: 1.6;
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--gold-light);
}

/* ============================================================
   DEMO MODAL
   ============================================================ */
.demo-modal-bg {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 3000;
  background-color: rgba(0,0,0,0.75);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.demo-modal-bg.is-open {
  display: flex;
}

.demo-modal {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.demo-modal-icon {
  font-size: 2.8rem;
  margin-bottom: 20px;
  display: block;
}

.demo-modal h2 {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--charcoal);
  margin-bottom: 14px;
  opacity: 1;
  overflow: visible;
}

.demo-modal p {
  font-size: 0.95rem;
  color: var(--mid-gray);
  line-height: 1.7;
  margin-bottom: 28px;
  opacity: 1;
  overflow: visible;
}

.demo-modal p strong {
  color: var(--charcoal);
}

.demo-modal-close-btn {
  background-color: var(--charcoal);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 14px 36px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition);
}

.demo-modal-close-btn:hover {
  background-color: var(--red);
}

.demo-modal-built {
  font-size: 0.78rem;
  color: rgba(74,74,74,0.6);
  margin-top: 16px;
  margin-bottom: 0;
  opacity: 1;
}

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  background-color: var(--red);
  padding-top: 72px;
  padding-bottom: 72px;
  padding-left: 20px;
  padding-right: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-band h2 {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  opacity: 1;
  overflow: visible;
}

.cta-band p {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
  opacity: 1;
  overflow: visible;
  line-height: 1.6;
}

.cta-band .btn {
  position: relative;
  z-index: 1;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
  gap: 24px;
  margin-top: 52px;
}

.testimonial-card {
  background-color: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: rgba(250,247,242,0.8);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
  opacity: 1;
  overflow: visible;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
  flex-shrink: 0;
  opacity: 1;
}

.testimonial-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--cream);
  opacity: 1;
}

.testimonial-location {
  font-size: 0.78rem;
  color: rgba(250,247,242,0.5);
  opacity: 1;
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
.fade-up:nth-child(4) { transition-delay: 0.3s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* --- TABLET NAV FIX: 769px–1060px ---
   Targets only the range where links overflow but mobile menu
   is not yet active. Desktop (>1060px) and mobile (≤768px)
   are completely untouched.
   ---------------------------------------------------------- */
@media (min-width: 769px) and (max-width: 1060px) {
  /* Shrink logo text so it stops crowding the links */
  .nav-logo-text {
    font-size: 0.95rem;
  }

  .nav-logo-text span {
    display: none; /* hide "Detroit Style Deep Dish" tagline */
  }

  .nav-logo-img {
    width: 38px;
    height: 38px;
  }

  /* Tighten link spacing */
  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    font-size: 0.78rem;
    padding: 7px 9px;
    letter-spacing: 0;
  }

  /* Shrink the CTA button so it doesn't wrap */
  .nav-links a.nav-cta {
    font-size: 0.78rem;
    padding: 8px 12px;
    margin-left: 4px;
    white-space: nowrap;
  }

  /* Slightly reduce inner padding */
  .nav-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 1024px) {
  .split {
    grid-template-columns: 1fr;
  }

  .split--reverse {
    direction: ltr;
  }

  .split-img {
    min-height: 360px;
  }

  .split-body {
    padding: 48px 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

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

  .gallery-item:nth-child(1) { grid-column: span 6; grid-row: span 1; }
  .gallery-item:nth-child(2) { grid-column: span 3; }
  .gallery-item:nth-child(3) { grid-column: span 3; }
  .gallery-item:nth-child(4) { grid-column: span 3; }
  .gallery-item:nth-child(5) { grid-column: span 3; }
  .gallery-item:nth-child(6) { grid-column: span 2; }
  .gallery-item:nth-child(7) { grid-column: span 2; }
  .gallery-item:nth-child(8) { grid-column: span 2; }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 68px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .section {
    padding-top: 60px;
    padding-bottom: 60px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero {
    min-height: 85vh;
  }

  .hero-content {
    padding-top: 40px;
    padding-bottom: 80px;
  }

  .split-body {
    padding: 40px 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .catering-form-wrap {
    padding: 32px 24px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 32px 24px;
  }

  .timeline-item {
    grid-template-columns: 60px 1fr;
    gap: 28px;
  }

  .timeline-item::before {
    left: 68px;
  }

  .timeline-dot {
    left: 61px;
  }

  .timeline-year {
    font-size: 1.05rem;
    text-align: left;
    padding-top: 6px;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 180px;
  }

  .gallery-item:nth-child(1) { grid-column: span 2; grid-row: span 1; }
  .gallery-item:nth-child(2) { grid-column: span 1; }
  .gallery-item:nth-child(3) { grid-column: span 1; }
  .gallery-item:nth-child(4) { grid-column: span 2; }
  .gallery-item:nth-child(5) { grid-column: span 2; }
  .gallery-item:nth-child(6) { grid-column: span 1; }
  .gallery-item:nth-child(7) { grid-column: span 1; }
  .gallery-item:nth-child(8) { grid-column: span 2; }

  /* merged */
  .page-header {
    padding-top: 52px;
    padding-bottom: 52px;
    min-height: 280px;
  }

  .page-header h1 {
    font-size: clamp(1.9rem, 7vw, 2.8rem);
  }

  .split-body {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }

  .demo-modal {
    padding: 36px 24px;
  }

  .menu-categories {
    gap: 8px;
  }

  /* merged */
  .page-header {
    padding-top: 44px;
    padding-bottom: 44px;
    min-height: 240px;
  }

  .menu-cat-btn {
    font-size: 0.75rem;
    padding: 8px 14px;
  }

  /* Prevent menu grid cards from being too narrow */
  .menu-card-img {
    height: 180px;
  }
}

/* ============================================================
   UTILITY SPACING & LAYOUT HELPERS (Zero-inline-style fix)
   ============================================================ */
.mt-40   { margin-top: 40px; }
.mt-44   { margin-top: 44px; }
.mt-48   { margin-top: 48px; }
.mt-24   { margin-top: 24px; }
.mt-72   { margin-top: 72px; }
.mt-12   { margin-top: 12px; }
.pt-32   { padding-top: 32px; }
.text-center { text-align: center; }

.attribution-note {
  font-size: 0.9rem;
  color: var(--mid-gray);
  margin-top: 12px;
  margin-bottom: 0;
  font-style: normal;
  opacity: 1;
  overflow: visible;
  line-height: 1.6;
}

/* ============================================================
   GAP FIXES: Consecutive same-colour sections
   Remove top padding from sections that directly follow
   another section of the same background colour so there
   is no double-padding white/dark gap between them.
   ============================================================ */

/* index.html: menu-preview (dark) + testimonials (dark) back-to-back */
.section--no-top-pad {
  padding-top: 0;
}

/* story.html: cream story-body + cream timeline — no gap */
.section--cream + .section--cream {
  padding-top: 0;
}

/* contact.html & locations.html: cream + cream after split */
/* Handled by .section--no-top-pad on the second section */

/* ============================================================
   PAGE HEADER: MOBILE PADDING REDUCTION
   ============================================================ */
