/* ---------- Base Styles ---------- */
:root {
  --bg-light: #f8f1e7;
  --bg-dark: #5d2411;
  --accent: #a6421b;
  --accent-soft: #f2d0b5;
  --text-main: #2b1710;
  --text-light: #ffffff;
  --max-width: 1000px;
  --radius: 8px;
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 3.5rem 0;
}

.section-light {
  background: var(--bg-light);
}

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

/* ---------- Header / Hero ---------- */
.site-header {
  background: var(--bg-dark);
  color: var(--text-light);
  padding: 2rem 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: center; /* CENTER LOGO + TEXT GROUP */
  gap: 1.75rem;
  flex-wrap: wrap;
  text-align: center;
}

.logo {
  width: 180px;
  max-width: 40vw;
  height: auto;
}

/* CENTER ALL HERO TEXT */
.hero-text {
  text-align: center;
  max-width: 420px;
}

.hero-text h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(2.1rem, 3vw, 2.7rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tagline {
  margin: 0.25rem 0 0.5rem;
  font-size: 0.95rem;
}

/* ---------- Instagram Link ---------- */
.instagram-link {
  margin-top: 0.75rem;
}

.instagram-link a {
  color: var(--accent-soft);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.instagram-link a:hover {
  text-decoration: underline;
}

/* ---------- Story ---------- */
h2 {
  margin: 0 0 1.25rem;
  font-size: 1.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.story p {
  margin: 0 0 1rem;
  font-size: 1rem;
}

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

.story ul {
  margin: 1rem 0 1.5rem 1.25rem;
}

/* ---------- Gallery ---------- */
.gallery-intro {
  margin-top: 0;
  margin-bottom: 2rem;
  max-width: 32rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.gallery-item {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--accent-soft);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #2b1710;
  color: var(--text-light);
  font-size: 0.85rem;
  padding: 1.25rem 0;
}

.footer-inner {
  text-align: center;
}

/* ---------- Responsive Tweaks ---------- */
@media (min-width: 768px) {
  .tagline {
    font-size: 1.05rem;
  }
}
/* ---------- KONAMI EASTER EGG ---------- */
body.pizza-steve-mode {
  animation: pizzaFlash 0.3s infinite alternate;
}

@keyframes pizzaFlash {
  0% {
    background-color: #ff00ff;
  }
  50% {
    background-color: #00ffff;
  }
  100% {
    background-color: #ffff00;
  }
}
/* ---------- KONAMI EASTER EGG (FLASH OVERLAY) ---------- */
#pizza-flash {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  background: #ff00ff;
}

#pizza-flash.on {
  opacity: 1;
  animation: pizzaFlash 0.18s infinite alternate;
}

@keyframes pizzaFlash {
  0%   { background: #ff00ff; }
  50%  { background: #00ffff; }
  100% { background: #ffff00; }
}

/* --- Konami overlay text (safe add-on) --- */
#pizza-flash {
  display: flex;
  align-items: center;
  justify-content: center;
}

.pizza-flash-text {
  text-align: center;
  color: #fff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: clamp(1.5rem, 4vw, 3rem);
  text-shadow: 0 0 10px #000, 0 0 20px #000, 0 0 40px #000;
}

.pizza-flash-text span {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.6em;
  letter-spacing: 0.25em;
  opacity: 0.9;
}

