/* ===== Fathead Pizza — Base ===== */

:root {
  --color-red: #d62828;
  --color-red-dark: #a91d1d;
  --color-charcoal: #21201d;
  --color-cream: #fbf5ec;
  --color-cream-dark: #f1e6d4;
  --color-gold: #e6a13a;
  --color-text: #2b2925;
  --color-text-light: #6b665f;
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', sans-serif;
  --radius-pill: 999px;
  --radius-card: 16px;
  --shadow-card: 0 10px 30px rgba(33, 32, 29, 0.08);
  --header-height: 76px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background: var(--color-cream);
  line-height: 1.6;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

a { color: var(--color-red); text-decoration: none; }

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--color-red);
  color: #fff;
  padding: 10px 16px;
  z-index: 1000;
}
.skip-link:focus { left: 0; }

/* ===== Order Button ===== */

.btn-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--color-red);
  color: #fff;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(214, 40, 40, 0.35);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}

.btn-order:hover, .btn-order:focus-visible {
  background: var(--color-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(214, 40, 40, 0.45);
}

.btn-order--nav { padding: 10px 24px; font-size: 0.9rem; }

.btn-order--hero { padding: 18px 42px; font-size: 1.1rem; }

.btn-order--modal { margin-top: 12px; }

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid #fff;
  color: #fff;
  font-weight: 700;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(2px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.2); }

/* ===== Header ===== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-cream-dark);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--color-charcoal);
}

.brand-mark { font-size: 1.5rem; }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 600;
  font-size: 0.95rem;
}
.main-nav a:hover { color: var(--color-red); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 24px;
  background: var(--color-charcoal);
  margin: 0 auto;
}

.main-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px 28px;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-cream-dark);
}
.main-nav-mobile a {
  color: var(--color-text);
  font-weight: 600;
}
.main-nav-mobile.open { display: flex; }

/* ===== Hero ===== */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(33,20,10,0.55) 0%, rgba(33,20,10,0.75) 60%, rgba(20,12,6,0.9) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 100px 24px;
}

.hero-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-gold);
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  margin-bottom: 18px;
}

.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.92);
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* ===== Sections ===== */

.section { padding: 96px 0; }
.section:nth-of-type(even) { background: var(--color-cream-dark); }

.section-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-red);
  margin-bottom: 8px;
}

.section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }

.section-sub {
  color: var(--color-text-light);
  max-width: 600px;
}

.center { text-align: center; margin-left: auto; margin-right: auto; }

/* ===== About ===== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: center;
}

.about-media img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4/5;
  object-fit: cover;
}

.about-copy p:last-child { margin-bottom: 0; }

/* ===== Menu ===== */

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.menu-category h3 {
  font-size: 1.4rem;
  border-bottom: 2px solid var(--color-red);
  padding-bottom: 10px;
  margin-bottom: 20px;
}

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li { margin-bottom: 20px; }
.menu-list li p { margin: 4px 0 0; color: var(--color-text-light); font-size: 0.95rem; }

.menu-item-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-weight: 700;
  font-size: 1.05rem;
  gap: 12px;
}

.price { color: var(--color-red); font-weight: 800; white-space: nowrap; }

.menu-note {
  text-align: center;
  color: var(--color-text-light);
  font-size: 0.9rem;
  margin-top: 48px;
}

/* ===== Gallery ===== */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 48px;
}

.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.25s ease;
}
.gallery-grid img:hover { transform: scale(1.03); }

/* ===== Reviews ===== */

.rating-summary {
  margin: 16px auto 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.stars { color: var(--color-gold); font-size: 1.1rem; letter-spacing: 2px; }

.rating-text { color: var(--color-text-light); font-weight: 600; }

.review-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.review-card {
  background: #fff;
  border-radius: var(--radius-card);
  padding: 28px;
  box-shadow: var(--shadow-card);
  margin: 0;
}

.review-card p {
  font-size: 1.02rem;
  margin: 12px 0 16px;
}

.review-card footer {
  font-weight: 700;
  color: var(--color-red);
}

/* ===== Location ===== */

.location-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: stretch;
}

.location-info address {
  font-style: normal;
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.tel-link {
  font-weight: 700;
  font-size: 1.1rem;
}

.hours-table {
  width: 100%;
  margin: 28px 0 32px;
  border-collapse: collapse;
}
.hours-table tr { border-bottom: 1px solid var(--color-cream-dark); }
.hours-table th, .hours-table td {
  text-align: left;
  padding: 10px 0;
  font-weight: 600;
}
.hours-table th { color: var(--color-text-light); font-weight: 600; }
.hours-table td { text-align: right; }

.location-map {
  min-height: 380px;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.location-map iframe { display: block; }

/* ===== Footer ===== */

.site-footer {
  background: var(--color-charcoal);
  color: #fff;
  padding: 64px 0 24px;
}

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

.footer-brand { color: #fff; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin-left: 8px; }
.footer-brand p { color: rgba(255,255,255,0.7); margin: 6px 0 0; }
.footer-brand a { color: rgba(255,255,255,0.85); }

.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: rgba(255,255,255,0.85); font-weight: 600; }
.footer-nav a:hover { color: var(--color-gold); }

.footer-copyright {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  margin: 0;
}

/* ===== Modal ===== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20,15,10,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
}

.modal-backdrop[hidden] { display: none; }

.modal {
  background: var(--color-cream);
  border-radius: var(--radius-card);
  max-width: 440px;
  width: 100%;
  padding: 40px;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.35);
  text-align: center;
}

.modal h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: none;
  border: none;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-light);
}
.modal-close:hover { color: var(--color-red); }

/* ===== Responsive ===== */

@media (max-width: 900px) {
  .main-nav { display: none; }
  .btn-order--nav { display: none; }
  .nav-toggle { display: flex; }

  .about-grid, .location-grid { grid-template-columns: 1fr; }
  .about-media { order: -1; }

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

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

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

  .footer-inner { flex-direction: column; align-items: flex-start; }

  .section { padding: 64px 0; }

  .hero { min-height: 560px; }
  .hero-content { padding: 72px 24px; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid img { height: 150px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .modal { padding: 28px; }
}
