/*
Theme Name:  Scary Gary's Pizza Parlor v4
Theme URI:   #
Description: A bold, warm pizza restaurant theme with checkered tile aesthetics, Unsplash pizza imagery, and a full menu management system editable from the WordPress admin.
Author:      Pizzeria Theme
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: scary-garys
Tags:        one-page, full-width-template, custom-colors, custom-menu, restaurant
*/

/* ════════════════════════════════════════
   CSS CUSTOM PROPERTIES
════════════════════════════════════════ */
:root {
  --red:          #c8102e;
  --red-dark:     #9e0a21;
  --red-light:    #fdecea;
  --black:        #111111;
  --charcoal:     #2a2a2a;
  --gray1:        #f7f7f7;
  --gray2:        #e8e8e8;
  --gray3:        #999999;
  --gray4:        #555555;
  --white:        #ffffff;
  --text:         #1a1a1a;
  --text2:        #555555;
  --gold:         #d4a017;
  --radius:       12px;
  --radius-sm:    6px;
  --shadow:       0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 12px 40px rgba(0,0,0,0.15);
  --font-display: 'Playfair Display', serif;
  --font-body:    'Inter', sans-serif;
  --tile-size:    40px;
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

/* ════════════════════════════════════════
   CHECKERED TILE UTILITY
════════════════════════════════════════ */
.tile-bg {
  background-color: var(--black);
  background-image:
    linear-gradient(45deg, var(--white) 25%, transparent 25%),
    linear-gradient(-45deg, var(--white) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--white) 75%),
    linear-gradient(-45deg, transparent 75%, var(--white) 75%);
  background-size: var(--tile-size) var(--tile-size);
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}
.tile-border-top {
  border-top: var(--tile-size) solid transparent;
  background-image:
    linear-gradient(45deg, var(--black) 25%, transparent 25%),
    linear-gradient(-45deg, var(--black) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--black) 75%),
    linear-gradient(-45deg, transparent 75%, var(--black) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0px;
}
.tile-strip {
  height: 28px;
  background-color: var(--black);
  background-image:
    linear-gradient(45deg, var(--white) 25%, transparent 25%),
    linear-gradient(-45deg, var(--white) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--white) 75%),
    linear-gradient(-45deg, transparent 75%, var(--white) 75%);
  background-size: 28px 28px;
  background-position: 0 0, 0 14px, 14px -14px, -14px 0px;
}

/* ════════════════════════════════════════
   NAVBAR
════════════════════════════════════════ */
.site-nav {
  position: relative;
  background: var(--white);
  border-bottom: 3px solid var(--red);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s ease;
}
.site-nav.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.12); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: nowrap;
}

.nav-brand {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}
.nav-brand .brand-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.nav-links-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
  margin: 0; padding: 0;
  flex-shrink: 1;
}
.nav-links a {
  font-weight: 500;
  font-size: 0.90rem;
  color: var(--charcoal);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  display: block;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--red);
  background: var(--red-light);
}

.btn-nav-cta {
  background: var(--red);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 9px 20px;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: 8px;
}
.btn-nav-cta:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
  color: var(--white) !important;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links-wrap {
    display: none;
    position: absolute;
    top: 70px; left: 0; right: 0;
    z-index: 999;
    background: var(--white);
    border-bottom: 3px solid var(--red);
    padding: 12px 20px 20px;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    flex: none;
  }
  .nav-links-wrap.open { display: flex; }
  .nav-links { flex-direction: column; align-items: stretch; width: 100%; gap: 0; margin: 0; padding: 0; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 12px 16px; border-radius: var(--radius-sm); display: block; width: 100%; white-space: normal; }
  .btn-nav-cta { display: block; width: 100%; text-align: center; margin: 12px 0 0 0; padding: 13px 22px; border-radius: 50px; }
}

/* ════════════════════════════════════════
   HERO — UNSPLASH IMAGE BACKGROUND
════════════════════════════════════════ */
.hero-banner {
  position: relative;
  width: 100%;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--charcoal);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
  transition: opacity 0.8s ease;
}
.hero-bg-img.loading { opacity: 0; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(10,10,10,0.55) 0%,
    rgba(10,10,10,0.65) 55%,
    rgba(10,10,10,0.80) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 800px;
}
.hero-pill {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--white);
  letter-spacing: -1px;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 24px rgba(0,0,0,0.5);
}
.hero-headline em {
  font-style: italic;
  color: var(--gold);
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.75;
}
.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn-hero-primary {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}
.btn-hero-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200,16,46,0.45);
  color: var(--white);
}
.btn-hero-outline {
  background: rgba(255,255,255,0.10);
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.55);
  border-radius: 50px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
}
.btn-hero-outline:hover {
  background: rgba(255,255,255,0.22);
  border-color: var(--white);
  color: var(--white);
}
.hero-scroll-hint {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  color: rgba(255,255,255,0.55);
  font-size: 0.70rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  animation: bobble 2.2s ease-in-out infinite;
}
@keyframes bobble {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}
@media (max-width: 991px) { .hero-banner { height: 80vh; } }
@media (max-width: 575px) {
  .hero-banner { height: 75vh; min-height: 480px; }
  .hero-cta-row { flex-direction: column; align-items: center; }
}

/* ════════════════════════════════════════
   SHARED SECTION STYLES
════════════════════════════════════════ */
.page-section { padding: 96px 0; }
.page-section.bg-gray  { background: var(--gray1); }
.page-section.bg-white { background: var(--white); }
.page-section.bg-black { background: var(--black); }
.page-section.bg-red   { background: var(--red); }

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

.section-label {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
  display: block;
}
.section-label.light { color: var(--gold); }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--black);
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 1rem;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 580px;
  line-height: 1.75;
}
.section-sub.light { color: rgba(255,255,255,0.70); }
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mb-5 { margin-bottom: 3rem; }
.mt-5 { margin-top: 3rem; }
.mt-3 { margin-top: 1rem; }

.btn-primary-custom {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  letter-spacing: 0.3px;
}
.btn-primary-custom:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(200,16,46,0.35);
  color: var(--white);
}
.btn-outline-custom {
  background: transparent;
  color: var(--red);
  border: 2px solid var(--red);
  border-radius: 50px;
  padding: 12px 32px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-custom:hover {
  background: var(--red);
  color: var(--white);
}

/* Grid helpers */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 991px) {
  .grid-2 { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .page-section { padding: 72px 0; }
}
@media (max-width: 575px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .page-section { padding: 56px 0; }
}

/* ════════════════════════════════════════
   SPECIALS / FEATURE CARDS
════════════════════════════════════════ */
.special-card {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.3s;
}
.special-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.special-card-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  background: var(--gray1);
}
.special-card-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--gray1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.special-card-body { padding: 22px 24px 26px; }
.special-card-tag {
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}
.special-card-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.5rem;
}
.special-card-desc {
  font-size: 0.90rem;
  color: var(--text2);
  line-height: 1.6;
  margin-bottom: 1rem;
}
.special-card-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--red);
}

/* ════════════════════════════════════════
   WHY US — ICON CARDS
════════════════════════════════════════ */
.why-card {
  text-align: center;
  padding: 36px 24px;
}
.why-icon {
  width: 64px; height: 64px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.6rem;
  color: var(--red);
}
.why-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.6rem;
}
.why-desc { font-size: 0.92rem; color: var(--text2); line-height: 1.65; }

/* ════════════════════════════════════════
   PHOTO GALLERY
════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--gray1);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s;
}
.gallery-item:hover img { transform: scale(1.05); opacity: 0.88; }
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 18px 18px 14px;
  background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 600;
  transform: translateY(4px);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }
.gallery-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gray3);
  background: var(--gray1);
}

/* Gallery Lightbox */
.pizza-lightbox {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.pizza-lightbox.active { opacity: 1; pointer-events: all; }
.pizza-lightbox img {
  max-width: 90vw; max-height: 85vh;
  border-radius: var(--radius);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  object-fit: contain;
  transform: scale(0.88);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.34,1.2,0.64,1), opacity 0.35s ease;
}
.pizza-lightbox.active img { transform: scale(1); opacity: 1; }
.lightbox-close {
  position: absolute;
  top: 24px; right: 28px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.2s;
  background: none; border: none;
  line-height: 1;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-caption {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.75);
  font-size: 0.88rem;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-item:first-child { grid-column: span 2; }
}
@media (max-width: 575px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ════════════════════════════════════════
   ABOUT SECTION
════════════════════════════════════════ */
.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--gray1);
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  bottom: 20px; right: 20px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  width: 100px; height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  line-height: 1.3;
  box-shadow: 0 4px 16px rgba(200,16,46,0.4);
}
.about-badge strong { font-size: 1.6rem; display: block; line-height: 1; }
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.about-stat {
  background: var(--gray1);
  border-radius: var(--radius-sm);
  padding: 18px 12px;
  text-align: center;
  border: 1px solid var(--gray2);
}
.about-stat-num {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
}
.about-stat-lbl { font-size: 0.72rem; color: var(--gray3); margin-top: 4px; }

.check-list { list-style: none; padding: 0; margin: 1.5rem 0; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.94rem;
  color: var(--text2);
  margin-bottom: 0.85rem;
}
.check-icon {
  width: 22px; height: 22px;
  background: var(--red-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
  color: var(--red); font-size: 0.75rem;
}
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 991px) {
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-stats { grid-template-columns: repeat(3, 1fr); }
}

/* ════════════════════════════════════════
   CONTACT
════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 991px) { .contact-layout { grid-template-columns: 1fr; gap: 40px; } }

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 1.4rem;
}
.contact-info-icon {
  width: 46px; height: 46px;
  background: var(--red-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--red); font-size: 1.1rem; flex-shrink: 0;
}
.contact-info-label { color: var(--gray3); font-size: 0.73rem; margin-bottom: 2px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.contact-info-text  { color: var(--text); font-size: 0.95rem; font-weight: 500; }

.contact-form .form-control {
  width: 100%;
  background: var(--gray1);
  border: 1.5px solid var(--gray2);
  border-radius: var(--radius-sm);
  color: var(--text);
  padding: 13px 18px;
  font-family: var(--font-body);
  font-size: 0.93rem;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}
.contact-form .form-control::placeholder { color: var(--gray3); }
.contact-form .form-control:focus {
  outline: none;
  background: var(--white);
  border-color: var(--red);
}
.contact-form textarea.form-control { resize: none; min-height: 120px; }
.contact-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.contact-form-grid .full { grid-column: span 2; }
@media (max-width: 575px) {
  .contact-form-grid { grid-template-columns: 1fr; }
  .contact-form-grid .full { grid-column: span 1; }
}
.btn-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 14px 36px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s, transform 0.15s;
}
.btn-submit:hover { background: var(--red-dark); transform: translateY(-2px); }

/* ════════════════════════════════════════
   MENU PAGE
════════════════════════════════════════ */
.menu-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}
.menu-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.45;
  z-index: 0;
}
.menu-hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 80px 24px;
}

.menu-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 56px;
}
.menu-tab-btn {
  background: var(--gray1);
  color: var(--charcoal);
  border: 2px solid var(--gray2);
  border-radius: 50px;
  padding: 9px 22px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  display: inline-block;
}
.menu-tab-btn:hover,
.menu-tab-btn.active {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.menu-category { margin-bottom: 64px; }
.menu-category:last-child { margin-bottom: 0; }
.menu-category-title {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.4rem;
}
.menu-category-desc {
  font-size: 0.92rem;
  color: var(--text2);
  margin-bottom: 1.75rem;
}
.menu-category-divider {
  width: 48px; height: 3px;
  background: var(--red);
  border-radius: 2px;
  margin-bottom: 1.75rem;
}

.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 700px) { .menu-items-grid { grid-template-columns: 1fr; } }

.menu-item {
  display: flex;
  gap: 16px;
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: var(--radius);
  padding: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.menu-item:hover { box-shadow: var(--shadow); border-color: var(--red); }
.menu-item-img {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
  background: var(--gray1);
}
.menu-item-img-placeholder {
  width: 80px; height: 80px;
  border-radius: var(--radius-sm);
  background: var(--gray1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; flex-shrink: 0;
}
.menu-item-body { flex: 1; min-width: 0; }
.menu-item-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 3px;
}
.menu-item-desc {
  font-size: 0.83rem;
  color: var(--text2);
  line-height: 1.5;
  margin-bottom: 6px;
}
.menu-item-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.menu-item-price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--red);
}
.menu-item-badge {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  background: var(--red-light);
  color: var(--red);
}
.menu-item-badge.veg { background: #e8f5e9; color: #2e7d32; }
.menu-item-badge.spicy { background: #fff3e0; color: #e65100; }
.menu-item-order-btn {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 0.80rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
  white-space: nowrap;
}
.menu-item-order-btn:hover { background: var(--red-dark); color: var(--white); }

/* ════════════════════════════════════════
   BLOG CARDS
════════════════════════════════════════ */
.blog-card {
  background: var(--white);
  border: 1px solid var(--gray2);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: box-shadow 0.3s, transform 0.3s;
}
.blog-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.blog-card-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: var(--gray1); }
.blog-card-thumb-placeholder {
  width: 100%; aspect-ratio: 16/9;
  background: var(--gray1);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: var(--gray3);
}
.blog-card-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.blog-card-meta { font-size: 0.75rem; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); margin-bottom: 0.6rem; }
.blog-card-title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--black); line-height: 1.3; margin-bottom: 0.75rem; text-decoration: none; display: block; }
.blog-card-title:hover { color: var(--red); }
.blog-card-excerpt { font-size: 0.90rem; color: var(--text2); line-height: 1.65; flex: 1; margin-bottom: 1.25rem; }
.blog-card-link { font-size: 0.88rem; font-weight: 600; color: var(--red); text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: gap 0.2s; margin-top: auto; }
.blog-card-link:hover { gap: 10px; color: var(--red-dark); }

/* ════════════════════════════════════════
   BLOG ARCHIVE & SINGLE
════════════════════════════════════════ */
.blog-hero {
  background: var(--black);
  padding: 96px 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--black);
  background-image:
    linear-gradient(45deg, rgba(200,16,46,0.15) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(200,16,46,0.15) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, rgba(200,16,46,0.15) 75%),
    linear-gradient(-45deg, transparent 75%, rgba(200,16,46,0.15) 75%);
  background-size: 40px 40px;
  background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
  opacity: 0.4;
}
.blog-hero-inner { position: relative; z-index: 2; }
.blog-hero .section-label { color: var(--gold); }
.blog-hero .section-title { color: var(--white); }
.blog-hero .section-sub   { color: rgba(255,255,255,0.65); margin: 0 auto; }

.blog-archive-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
@media (max-width: 991px) { .blog-archive-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 575px)  { .blog-archive-grid { grid-template-columns: 1fr; } }

.blog-pagination { display: flex; justify-content: center; gap: 8px; margin-top: 56px; flex-wrap: wrap; }
.blog-pagination a, .blog-pagination span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: 50px; font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: background 0.2s, color 0.2s; }
.blog-pagination a { background: var(--gray1); color: var(--black); border: 1px solid var(--gray2); }
.blog-pagination a:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.blog-pagination .current { background: var(--red); color: var(--white); border: 1px solid var(--red); }

.post-hero { background: var(--black); padding: 80px 0 60px; position: relative; overflow: hidden; }
.post-hero::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(200,16,46,0.12) 0%, rgba(0,0,0,0) 100%); }
.post-hero-inner { position: relative; z-index: 2; }
.post-category-pill { display: inline-block; background: var(--red); color: var(--white); font-size: 0.72rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 16px; border-radius: 50px; margin-bottom: 1.25rem; text-decoration: none; }
.post-hero-title { font-family: var(--font-display); font-size: clamp(1.8rem,4vw,3rem); font-weight: 700; color: var(--white); letter-spacing: -0.5px; line-height: 1.15; margin-bottom: 1.25rem; max-width: 800px; }
.post-meta-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.post-meta-bar strong { color: rgba(255,255,255,0.85); }
.post-featured-image { width: 100%; max-height: 520px; object-fit: cover; display: block; }
.post-layout { display: grid; grid-template-columns: 1fr 300px; gap: 56px; align-items: start; padding: 60px 0 96px; }
@media (max-width: 991px) { .post-layout { grid-template-columns: 1fr; gap: 40px; } }
.post-content { font-size: 1.05rem; color: var(--text2); line-height: 1.85; }
.post-content h2,.post-content h3,.post-content h4 { font-family: var(--font-display); color: var(--black); margin: 2rem 0 0.75rem; }
.post-content h2 { font-size: 1.6rem; } .post-content h3 { font-size: 1.25rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content a { color: var(--red); text-decoration: underline; }
.post-content blockquote { border-left: 4px solid var(--red); padding: 16px 24px; margin: 1.5rem 0; background: var(--gray1); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-style: italic; }
.post-sidebar { display: flex; flex-direction: column; gap: 28px; }
.sidebar-widget { background: var(--gray1); border-radius: var(--radius); padding: 24px; border: 1px solid var(--gray2); }
.sidebar-widget-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--black); margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 2px solid var(--gray2); }
.sidebar-recent { list-style: none; padding: 0; margin: 0; }
.sidebar-recent li { padding: 10px 0; border-bottom: 1px solid var(--gray2); }
.sidebar-recent li:last-child { border-bottom: none; padding-bottom: 0; }
.sidebar-recent a { font-size: 0.88rem; font-weight: 500; color: var(--text2); text-decoration: none; display: block; line-height: 1.45; }
.sidebar-recent a:hover { color: var(--red); }
.sidebar-recent .post-date { font-size: 0.74rem; color: var(--gray3); margin-top: 3px; }
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a { background: var(--white); border: 1px solid var(--gray2); border-radius: 50px; padding: 5px 14px; font-size: 0.78rem; font-weight: 600; color: var(--text2); text-decoration: none; transition: all 0.2s; }
.tag-cloud a:hover { background: var(--red-light); color: var(--red); border-color: var(--red); }
.post-nav { border-top: 1px solid var(--gray2); padding-top: 40px; margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 575px) { .post-nav { grid-template-columns: 1fr; } }
.post-nav-item { display: flex; flex-direction: column; gap: 6px; text-decoration: none; padding: 20px; border-radius: var(--radius); border: 1px solid var(--gray2); transition: border-color 0.2s, box-shadow 0.2s; }
.post-nav-item:hover { border-color: var(--red); box-shadow: var(--shadow); }
.post-nav-item.next { text-align: right; }
.post-nav-label { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--red); }
.post-nav-title { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; color: var(--black); line-height: 1.35; }

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  color: rgba(255,255,255,0.50);
  font-size: 0.875rem;
  border-top: none;
}
.footer-tile-strip { height: 28px; }
.footer-main { padding: 56px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 575px) { .footer-grid { grid-template-columns: 1fr; gap: 24px; } }
.footer-brand-name { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--white); margin-bottom: 0.75rem; }
.footer-brand-text { font-size: 0.88rem; line-height: 1.65; color: rgba(255,255,255,0.48); max-width: 260px; }
.footer-col-title { font-family: var(--font-body); font-size: 0.73rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-links a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.90rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-link { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.55); text-decoration: none; transition: background 0.2s, color 0.2s; font-size: 1rem; }
.footer-social-link:hover { background: var(--red); color: var(--white); }

/* ════════════════════════════════════════
   SCROLL ANIMATIONS
════════════════════════════════════════ */
.fade-up { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .fade-up.js-ready { opacity: 0; transform: translateY(30px); transition: opacity 0.65s ease, transform 0.65s ease; }
  .fade-up.js-ready.visible { opacity: 1; transform: translateY(0); }
}

/* ════════════════════════════════════════
   LOADING SPINNER
════════════════════════════════════════ */
.img-loading {
  background: var(--gray1);
  display: flex; align-items: center; justify-content: center;
}
@keyframes spin { to { transform: rotate(360deg); } }
.spinner { width: 28px; height: 28px; border: 3px solid var(--gray2); border-top-color: var(--red); border-radius: 50%; animation: spin 0.7s linear infinite; }

/* ════════════════════════════════════════
   ORDER MODAL
════════════════════════════════════════ */
.order-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.70);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.order-modal-backdrop.active {
  opacity: 1;
  pointer-events: all;
}
.order-modal {
  background: var(--white);
  border-radius: 20px;
  padding: 48px 40px 40px;
  max-width: 460px;
  width: 100%;
  text-align: center;
  position: relative;
  transform: translateY(24px) scale(0.96);
  opacity: 0;
  transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1), opacity 0.3s ease;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.25);
}
.order-modal-backdrop.active .order-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}
.order-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: var(--gray1);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gray4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.order-modal-close:hover {
  background: var(--gray2);
  color: var(--black);
}
.order-modal-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.order-modal-title {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}
.order-modal-body {
  font-size: 1rem;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.order-modal-info {
  background: var(--gray1);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 1.75rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.order-modal-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text2);
  line-height: 1.55;
}
.order-modal-info-item i {
  color: var(--red);
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.order-modal-dismiss {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 50px;
  padding: 13px 40px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.15s;
}
.order-modal-dismiss:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
@media (max-width: 480px) {
  .order-modal { padding: 40px 24px 32px; }
  .order-modal-title { font-size: 1.5rem; }
}
