/* ==========================================================================
   Spanky's Pizza — brand palette (from brand board)
   Red #E23B2E · Yellow #FFC62F · Green #12833D · Cream #FFF5E1 · Black #111111
   ========================================================================== */

:root {
  --red: #E23B2E;
  --yellow: #FFC62F;
  --green: #12833D;
  --cream: #FFF5E1;
  --ink: #111111;
  --white: #FFFFFF;
  --font-script: 'Permanent Marker', cursive;
  --font-display: 'Anton', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(17,17,17,0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

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

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

/* Checkerboard motif strip, used as a section divider */
.checker-strip {
  height: 14px;
  width: 100%;
  background-image:
    linear-gradient(45deg, var(--red) 25%, transparent 25%),
    linear-gradient(-45deg, var(--red) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--red) 75%),
    linear-gradient(-45deg, transparent 75%, var(--red) 75%);
  background-size: 14px 14px;
  background-position: 0 0, 0 7px, 7px -7px, -7px 0px;
  background-color: var(--ink);
}

/* ---------- Header ---------- */
.site-header {
  background: var(--ink);
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 4px solid var(--yellow);
}

.header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  line-height: 1;
}

.logo-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--yellow);
  flex-shrink: 0;
}

.logo-badge-lg {
  width: 92px;
  height: 92px;
  border: 3px solid var(--cream);
}

.logo-script {
  font-family: var(--font-script);
  color: var(--red);
  font-size: 2.5rem;
  -webkit-text-stroke: 0.5px var(--red);
}

.logo-block {
  font-family: var(--font-display);
  color: var(--green);
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.main-nav a { color: var(--cream); transition: color 0.15s ease; }
.main-nav a:hover { color: var(--yellow); }

.nav-cta {
  background: var(--red);
  color: var(--white) !important;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
}
.nav-cta:hover { background: var(--yellow); color: var(--ink) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: var(--red);
  background-image: radial-gradient(circle at 85% 15%, rgba(255,198,47,0.35), transparent 45%);
  color: var(--white);
  position: relative;
  padding-bottom: 0;
}

.hero-grid {
  padding: 72px 24px 64px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 32px;
}

.hero-copy { max-width: 560px; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--yellow);
  margin: 0 0 12px;
}
.eyebrow.center { text-align: center; }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1.05;
  margin: 0 0 20px;
  text-shadow: 3px 3px 0 rgba(17,17,17,0.25);
}

.accent-green { color: var(--yellow); }

.hero-sub {
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 0 28px;
  color: var(--cream);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* Hero visual — the neon sign is the star, filling almost the whole
   card. The mascot is a single small corner accent, not a cluster,
   so it doesn't compete with the sign or clip its own text. */
.hero-visual {
  position: relative;
  min-height: 460px;
}

.hero-scene {
  position: absolute;
  top: 0;
  right: 0;
  width: 94%;
  height: 92%;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 6px solid var(--ink);
  z-index: 1;
}

.hero-scene-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  display: block;
}

.hero-blob {
  position: absolute;
  left: -14px;
  bottom: -14px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--cream);
  box-shadow: 0 10px 24px rgba(0,0,0,0.4);
  border: 5px solid var(--yellow);
  z-index: 2;
}

.hero-mascot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.btn {
  display: inline-block;
  font-weight: 700;
  padding: 14px 26px;
  border-radius: 999px;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
  border: 2px solid transparent;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--yellow);
  color: var(--ink);
}
.btn-primary:hover { background: var(--white); }

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

.hero-badge {
  display: inline-block;
  background: var(--ink);
  color: var(--cream);
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: 2px dashed var(--yellow);
}
.hero-badge strong { color: var(--yellow); }

/* ---------- Status banner ---------- */
.status-banner {
  background: var(--yellow);
  color: var(--ink);
  text-align: center;
  padding: 14px 0;
  font-size: 0.95rem;
}
.status-inner p { margin: 0; }

/* ---------- Section basics ---------- */
section { padding: 72px 0; }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 10px;
  letter-spacing: 0.5px;
}
.section-title.center { text-align: center; }

.section-sub {
  color: #4a4a4a;
  max-width: 620px;
  margin: 0 0 40px;
}
.section-sub.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Menu ---------- */
.menu-section { background: var(--white); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 12px;
}

.menu-card {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  border: 3px solid transparent;
}

.menu-card-featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--yellow);
}

.menu-card-icon { font-size: 2rem; margin-bottom: 8px; }

.menu-card-photo {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  border: 3px solid var(--ink);
  margin-bottom: 16px;
}
.menu-card-featured .menu-card-photo { border-color: var(--yellow); }

.menu-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  margin: 0 0 4px;
  color: var(--red);
}
.menu-card-featured h3 { color: var(--yellow); }

.menu-card-note {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 0 0 14px;
}

.menu-list { list-style: none; margin: 0; padding: 0; }
.menu-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(17,17,17,0.15);
  font-weight: 600;
}
.menu-card-featured .menu-list li { border-bottom-color: rgba(255,245,225,0.2); }
.menu-list li:last-child { border-bottom: none; }
.menu-list li span:last-child { color: var(--green); font-weight: 700; }
.menu-card-featured .menu-list li span:last-child { color: var(--yellow); }

.menu-disclaimer {
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  margin: 36px 0 0;
}

/* ---------- Vibe ---------- */
.vibe-section { background: var(--green); color: var(--white); }
.vibe-section .section-sub { color: rgba(255,245,225,0.85); }

.vibe-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.vibe-card {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,198,47,0.4);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}
.vibe-icon { font-size: 2rem; margin-bottom: 10px; }
.vibe-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  color: var(--yellow);
  margin: 0 0 8px;
}
.vibe-card p { font-size: 0.92rem; margin: 0; color: var(--cream); }

/* ---------- Hours / Visit ---------- */
.hours-section { background: var(--cream); }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.hours-list { list-style: none; margin: 0; padding: 0; }
.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid rgba(17,17,17,0.1);
  font-weight: 600;
}
.hours-list li span:last-child { color: var(--red); }

.visit-line { margin: 0 0 14px; font-weight: 500; }
.visit-line a { color: var(--red); font-weight: 700; }

.visit-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }

.visit-figure { margin: 28px 0 0; }
.visit-photo {
  width: 100%;
  max-width: 320px;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
  display: block;
}
.visit-figure figcaption {
  font-size: 0.78rem;
  color: #777;
  margin-top: 8px;
  font-style: italic;
}
.hours-section .btn-primary { background: var(--red); color: var(--white); }
.hours-section .btn-primary:hover { background: var(--green); }
.hours-section .btn-outline { color: var(--red); border-color: var(--red); }
.hours-section .btn-outline:hover { background: var(--red); color: var(--white); }

/* ---------- Notify ---------- */
.notify-section {
  background: var(--ink);
  color: var(--cream);
  text-align: center;
}
.notify-section .eyebrow { color: var(--yellow); }
.notify-section .section-sub { color: rgba(255,245,225,0.75); }

.notify-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 8px;
}
.notify-section .btn-primary { background: var(--yellow); color: var(--ink); }
.notify-section .btn-outline { border-color: var(--cream); color: var(--cream); }
.notify-section .btn-outline:hover { background: var(--cream); color: var(--ink); }

.notify-fineprint {
  margin-top: 22px;
  font-size: 0.8rem;
  color: rgba(255,245,225,0.5);
}

/* ---------- Footer ---------- */
.site-footer { background: var(--red); color: var(--white); text-align: center; }
.footer-inner { padding: 40px 24px; }
.footer-logo { display: flex; justify-content: center; gap: 8px; align-items: baseline; margin-bottom: 14px; }
.footer-logo .logo-script { color: var(--white); }
.footer-logo .logo-block { color: var(--ink); }
.footer-address { font-size: 0.8rem; letter-spacing: 1px; margin: 0 0 8px; }
.footer-tag { font-size: 0.9rem; margin: 0 0 18px; color: var(--cream); }
.footer-social { display: flex; justify-content: center; gap: 16px; margin-bottom: 18px; }
.footer-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  font-size: 1rem;
}
.footer-social a:hover { background: var(--yellow); color: var(--ink); }
.footer-fine { font-size: 0.75rem; color: rgba(255,255,255,0.75); margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .menu-grid { grid-template-columns: 1fr; }
  .vibe-grid { grid-template-columns: repeat(2, 1fr); }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 48px; }
  .hero-copy { max-width: 100%; margin: 0 auto; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { order: -1; min-height: 340px; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
    border-bottom: 4px solid var(--yellow);
  }
  .main-nav.open { display: flex; }
  .nav-cta { align-self: flex-start; }
  .hero-blob { width: 100px; height: 100px; border-width: 4px; left: -10px; bottom: -10px; }
  .hero-visual { min-height: 260px; }
}
