:root {
  /* PALETTE: Modern Newsprint */
  --bg-body: #F9F7F2;    /* Warm Off-White */
  --bg-surface: #EAE8E4; /* Warm Gray */
  --bg-dark: #121212;    /* Ink Black */
  
  --primary: #DA291C;    /* Fire Engine Red */
  --primary-hover: #B72016;
  --accent-green: #006638; /* Green */
  --accent-gold: #E8B84B;  /* Pizza Dough Gold */
  
  --text-main: #121212;
  --text-muted: #555555;
  --text-inverse: #FFFFFF;
  
  --border: #D7CCC8;
  --border-strong: #121212;
  
  --container: 1200px;
  --radius: 2px;
  
  --font-head: 'Oswald', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --shadow-hover: 0 10px 30px -10px rgba(0,0,0,0.15);
}

/* RESET & BASE */
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { font-family: var(--font-body); background-color: var(--bg-body); color: var(--text-main); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; transition: 0.2s; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: var(--font-head); text-transform: uppercase; font-weight: 700; line-height: 1.1; letter-spacing: 0.02em; }
.section-padding { padding: 5rem 0; }
.section-title { font-size: clamp(2rem, 5vw, 2.5rem); text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 3rem; font-style: italic; font-size: 1rem; }
.counter { font-weight: 700; color: var(--primary); font-style: normal; }
.why-us .section-title { color: var(--text-inverse); }
.why-us .section-subtitle { color: rgba(255, 255, 255, 0.8); }
.why-us .counter { color: var(--accent-gold); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.9em 1.8em; border-radius: 4px; font-weight: 600;
  font-family: var(--font-head); letter-spacing: 0.05em; text-transform: uppercase;
  cursor: pointer; border: 2px solid transparent; transition: all 0.2s ease;
}
.btn:hover { animation: pulseEffect 1.5s infinite; }

@keyframes pulseEffect {
  0% { box-shadow: 0 0 0 0 rgba(218, 41, 28, 0.5); transform: scale(1); }
  50% { box-shadow: 0 0 0 8px rgba(218, 41, 28, 0); transform: scale(1.02); }
  100% { box-shadow: 0 0 0 0 rgba(218, 41, 28, 0); transform: scale(1); }
}

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

.btn-outline { border-color: white; color: white; }
.btn-outline:hover { background: var(--accent-gold); border-color: var(--accent-gold); color: var(--bg-dark); }

.btn-outline-dark { border-color: var(--text-main); color: var(--text-main); }
.btn-outline-dark:hover { background: var(--accent-gold); border-color: var(--accent-gold); color: var(--bg-dark); }

.btn-full { width: 100%; }
.btn-lg { padding: 1.1em 2.2em; font-size: 1.1rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

/* HEADER */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(249, 247, 242, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
  overflow: visible;
}

.header-inner {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  gap: 15px;
  transition: all 0.3s ease;
  overflow: visible;
}

.site-header.scrolled .header-inner {
  flex-direction: row;
  justify-content: space-between;
  padding: 10px 0;
}

/* LOGO STYLING */
.brand { display: flex; align-items: center; }
.brand-logo {
  max-height: 80px;
  width: auto;
  display: block;
  transition: all 0.3s ease;
}

.site-header.scrolled .brand-logo {
  max-height: 50px;
}

.desktop-nav { display: none; align-items: center; gap: 25px; overflow: visible; }
.nav-link { font-weight: 600; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; position: relative; }
.nav-link::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--primary); transition: width 0.3s; }
.nav-link:hover::after { width: 100%; }


/* STATUS BADGE - Neon Style */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 86, 63, 0.15);
  color: var(--accent-green);
  border: 1px solid rgba(0, 86, 63, 0.4);
  transition: all 0.3s ease;
  text-shadow: none;
  box-shadow: none;
  animation: none;
}
.status-badge.is-closed {
  background: rgba(218, 41, 28, 0.15);
  color: var(--primary);
  border-color: rgba(218, 41, 28, 0.4);
  text-shadow: none;
  box-shadow: none;
  animation: none;
}
.status-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 4px var(--accent-green);
  animation: pulse-dot 2s ease-in-out infinite;
}
.status-badge.is-closed .status-badge-dot {
  background: var(--primary);
  box-shadow: none;
  animation: none;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.9); }
}
@keyframes neonFlicker {
  0%, 100% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 86, 63, 0.6);
    box-shadow: 0 0 10px rgba(0, 86, 63, 0.2), inset 0 0 8px rgba(0, 86, 63, 0.1);
  }
  92% {
    opacity: 1;
    text-shadow: 0 0 8px rgba(0, 86, 63, 0.6);
  }
  93% {
    opacity: 0.8;
    text-shadow: 0 0 4px rgba(0, 86, 63, 0.3);
  }
  94% {
    opacity: 1;
    text-shadow: 0 0 12px rgba(0, 86, 63, 0.8);
    box-shadow: 0 0 15px rgba(0, 86, 63, 0.4), inset 0 0 10px rgba(0, 86, 63, 0.15);
  }
  96% {
    opacity: 0.9;
    text-shadow: 0 0 6px rgba(0, 86, 63, 0.5);
  }
  97% {
    opacity: 1;
    text-shadow: 0 0 10px rgba(0, 86, 63, 0.7);
  }
}
.status-badge-mobile {
  padding: 4px 10px;
  font-size: 0.7rem;
}
@media (min-width: 768px) {
  .status-badge-mobile { display: none; }
}

/* MOBILE MENU */
.mobile-controls { display: flex; gap: 15px; align-items: center; }
.mobile-call-btn { background: var(--bg-surface); color: var(--text-main); width: 40px; height: 40px; border-radius: 50%; display: flex; justify-content: center; align-items: center; font-size: 1.2rem; }
.hamburger { background: none; border: none; cursor: pointer; display: flex; flex-direction: column; gap: 5px; }
.hamburger span { display: block; width: 25px; height: 2px; background: var(--text-main); transition: 0.3s; }

/* Mobile Menu Backdrop */
.mobile-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1100;
  backdrop-filter: blur(3px);
}
.mobile-menu-backdrop[hidden] { display: none; }

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background-color: #F9F7F2 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  gap: 1.5rem;
  z-index: 1101;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-menu.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu a { font-size: 1.8rem; font-family: var(--font-head); text-transform: uppercase; color: var(--text-main); font-weight: 700; }

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: var(--text-main);
  cursor: pointer;
  line-height: 1;
}

/* HERO VIEWPORT WRAPPER */
.hero-viewport { display: flex; flex-direction: column; height: calc(100svh - var(--header-h, 110px)); }

/* HERO (Video Background) */
.hero-video {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.7) 100%);
  z-index: 1;
}

.hero-video .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 20px;
  max-width: 800px;
}

/* Hero Award - tight with headline */
.hero-award { display: flex; align-items: center; justify-content: center; gap: 6px; color: rgba(255,255,255,0.9); font-weight: 600; margin-bottom: 0.75rem; font-size: 0.85rem; letter-spacing: 0.02em; }
.hero-award .inline-icon { width: 1.1em; height: 1.1em; }

/* Hero Headline */
.hero-video h1 { font-size: clamp(2.5rem, 8vw, 5rem); margin-bottom: 1.75rem; line-height: 1.1; color: white; text-shadow: 0 2px 20px rgba(0,0,0,0.3); }

/* Hero Subtitle - more presence */
.hero-sub { font-size: 1.1rem; color: rgba(255,255,255,0.9); margin-bottom: 3rem; font-weight: 500; font-family: var(--font-head); letter-spacing: 0.08em; text-transform: uppercase; }

/* Hero CTAs - bigger, bolder */
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-bottom: 3rem; }
.btn-hero { padding: 1.2em 2.8em; font-size: 1.2rem; }

/* Hero Contact Group - secondary */
.hero-contact { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; }
.hero-phone-link { display: inline-block; font-family: var(--font-head); font-size: clamp(1.8rem, 5vw, 2.6rem); font-weight: 700; color: rgba(255,255,255,0.9); line-height: 1; position: relative; transition: color 0.2s, transform 0.2s; }
.hero-phone-link::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px; background: var(--accent-gold); transition: width 0.3s ease; }
.hero-phone-link:hover { color: var(--accent-gold); transform: translateY(-2px); }
.hero-phone-link:hover::after { width: 100%; }
.hero-spanish { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-style: italic; margin: 0; }

@media (min-width: 768px) {
  .hero-sub { font-size: 1.1rem; }
}

/* SLICES BANNER */
.slices-banner { background: rgba(255, 193, 7, 0.08); color: var(--text-main); padding: 1.5rem 0; border-bottom: 1px solid rgba(255, 193, 7, 0.2); }
.slices-banner .btn-outline-dark { border-color: var(--text-main); color: var(--text-main); }
.slices-banner .btn-outline-dark:hover { background: var(--accent-gold); border-color: var(--accent-gold); color: var(--bg-dark); }
.slices-banner-inner { display: flex; flex-direction: column; text-align: center; gap: 1.5rem; align-items: center; }
.slices-text h2 { font-size: 1.5rem; display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-bottom: 0.5rem; }
.slices-text p { font-size: 1rem; opacity: 0.9; margin: 0; }

@media (min-width: 768px) {
  .slices-banner { padding: 1.25rem 0; }
  .slices-banner-inner { flex-direction: row; justify-content: space-between; text-align: left; }
  .slices-text h2 { font-size: 1.75rem; justify-content: flex-start; margin-bottom: 0.25rem; }
}

/* SPECIALS */
.specials-grid { display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: stretch; }
@media (min-width: 768px) {
  .specials-grid { grid-template-columns: repeat(3, 1fr); }
}
.special-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  opacity: 0; transform: translateY(20px);
  display: flex; flex-direction: column;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.special-card.visible { opacity: 1; transform: translateY(0); }
.special-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: var(--primary); }

.special-card-image { height: 200px; width: 100%; position: relative; }
.special-card-image img { width: 100%; height: 100%; object-fit: cover; }

/* Price Badge on Card Image */
.price-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--primary);
  color: white;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 0.6em 0.8em;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(218, 41, 28, 0.4);
  line-height: 1;
  text-align: center;
}
.price-badge span {
  display: block;
  font-size: 0.6rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  opacity: 0.9;
  margin-bottom: 2px;
}

.special-card-content { padding: 2rem; display: flex; flex-direction: column; flex: 1; }

.card-header { display: flex; justify-content: flex-start; align-items: center; margin-bottom: 0.5rem; border: none; padding: 0; }
.coupon-tag { background: var(--bg-surface); padding: 4px 8px; font-weight: 700; text-transform: uppercase; font-size: 0.8rem; letter-spacing: 0.05em; }
.card-body { flex: 1; display: flex; flex-direction: column; text-align: left; }
.card-body h3 { font-size: 1.5rem; margin-bottom: 0.5rem; }
.card-body p { color: var(--text-muted); font-size: 1rem; margin-bottom: 1rem; }

/* Price Line in Card */
.price-line {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}
.price-line .price-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* INLINE ICONS */
.inline-icon { width: 1.2em; height: 1.2em; vertical-align: middle; display: inline-block; flex-shrink: 0; }
.inline-icon-lg { width: 1.5em; height: 1.5em; }
.icon-gold { color: var(--accent-gold); }


/* WHY US */
.why-us { background: var(--accent-green); color: var(--text-inverse); border-top: none; border-bottom: none; }
.why-grid { display: grid; gap: 3rem; text-align: center; }
.why-item { opacity: 0; transform: translateY(20px); transition: 0.6s ease; }
.why-item.visible { opacity: 1; transform: translateY(0); }
.icon-box { margin-bottom: 1rem; color: var(--text-main); display: inline-flex; padding: 1rem; background: var(--bg-body); border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.05); }
.icon-box svg { width: 32px; height: 32px; }
.why-item h3 { margin-bottom: 0.5rem; font-size: 1.25rem; color: var(--text-inverse); }
.why-item p { font-size: 0.95rem; color: rgba(255, 255, 255, 0.85); max-width: 300px; margin: 0 auto; }

/* LOCATION & DELIVERY */
.location-section { background: var(--bg-surface); }
.location-section.section-padding { padding: 0; }
.location-grid {
  display: grid;
  gap: 0;
  align-items: stretch;
}
.location-map {
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.location-map iframe { display: block; width: 100%; height: 100%; }
.location-info {
  background: var(--bg-surface);
  padding: 2.5rem 2rem;
}
.location-info h2 { font-size: 2rem; margin-bottom: 1rem; }
.location-info address {
  font-style: normal;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}
.location-info .location-note {
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 1.5rem;
}
.location-info .btn { margin-bottom: 2rem; }
.delivery-cities { border-top: 1px solid var(--border); padding-top: 1.5rem; }
.delivery-cities h3 { font-size: 1rem; margin-bottom: 0.75rem; color: var(--text-muted); }
.city-list-inline { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }
.city-list-inline li { font-weight: 600; color: var(--text-main); font-size: 0.95rem; }

@media (min-width: 768px) {
  .location-grid { grid-template-columns: 1fr 1fr; }
  .location-map { height: auto; min-height: 100%; }
  .location-info { padding: 3rem; }
}

/* CATERING */
.catering-section { background: var(--bg-dark); color: var(--text-inverse); }
.catering-content { text-align: center; max-width: 600px; margin: 0 auto; opacity: 0; transform: translateY(30px); transition: 0.8s ease; }
.catering-content.visible { opacity: 1; transform: translateY(0); }
.tag { color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; display: block; margin-bottom: 0.5rem; font-size: 0.85rem; }
.catering-content h2 { font-size: 2.5rem; margin-bottom: 1rem; color: var(--text-inverse); }
.lead { font-size: 1rem; margin-bottom: 2rem; color: rgba(255, 255, 255, 0.8); }
.catering-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.catering-actions .btn-outline-dark { border-color: var(--text-inverse); color: var(--text-inverse); }
.catering-actions .btn-outline-dark:hover { background: var(--text-inverse); color: var(--bg-dark); }

/* FOOTER */
.site-footer { background: var(--bg-body); color: var(--text-main); border-top: 1px solid var(--border); }
.footer-grid { display: grid; gap: 3rem; margin-bottom: 3rem; }
.footer-col h4 { border-bottom: 2px solid var(--primary); display: inline-block; padding-bottom: 5px; margin-bottom: 1rem; font-size: 1.1rem; }
.hours-list dt { float: left; width: 100px; font-weight: 600; }
.hours-list dd { margin-left: 100px; margin-bottom: 0.5rem; }
.status-text { font-weight: 700; color: var(--accent-green); margin-top: 0.5rem; }
.social-links { margin-top: 1rem; display: flex; gap: 1rem; font-weight: 600; text-transform: uppercase; font-size: 0.9rem; }
.spanish-note { margin-top: 1rem; font-style: italic; color: var(--text-muted); font-size: 0.9rem; }
.gift-card-note { font-weight: 600; color: var(--primary); margin-top: 0.5rem; }
.footer-bottom { text-align: center; border-top: 1px solid var(--border); padding-top: 2rem; font-size: 0.85rem; color: var(--text-muted); }
.footer-logo { display: block; margin: 0 auto 1rem; max-width: 400px; height: auto; mix-blend-mode: multiply; }

/* MENU MODAL */
.menu-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 2000;
  backdrop-filter: blur(5px);
}
.menu-modal-backdrop[hidden] { display: none; }

.menu-modal {
  position: fixed;
  inset: 0;
  z-index: 2001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  pointer-events: none;
}
.menu-modal[hidden] { display: none; }

.menu-modal-content {
  background: var(--bg-body);
  width: 95vw;
  max-width: 1400px;
  height: 90vh;
  border-radius: var(--radius);
  position: relative;
  pointer-events: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalFadeIn 0.3s ease-out forwards;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.menu-modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.75rem;
  font-family: var(--font-head);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2002;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(218, 41, 28, 0.3);
}
.menu-modal-close:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
  animation: pulseEffect 1.5s infinite;
}

.menu-modal-iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* SCROLL TO TOP BUTTON */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s, background-color 0.2s;
  box-shadow: 0 4px 15px rgba(218, 41, 28, 0.4);
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.scroll-to-top:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(218, 41, 28, 0.5);
}
.scroll-to-top:active {
  transform: translateY(0);
}

/* UTILS */
.text-center { text-align: center; }
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* MEDIA QUERIES */
@media (min-width: 768px) {
  .header-inner {
    flex-direction: row;
    padding: 20px 0;
    gap: 20px;
  }
  .site-header.scrolled .header-inner {
    padding: 10px 0;
  }
  .brand-logo {
    max-height: 80px;
  }
  .site-header.scrolled .brand-logo {
    max-height: 50px;
  }
  .desktop-nav { display: flex; }
  .mobile-controls { display: none; }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-content, .special-card, .why-item, .catering-content { opacity: 1 !important; transform: none !important; }
}
