/* ============================================================
   Big Slice — Menu & Today's Specials Custom Styles
   Brand Palette: Red #ec1d25, Black #111111, White #fff
   Fonts: Poppins, Courgette
   ============================================================ */

/* ── GOOGLE FONTS (already loaded in main.css, kept here for safety) ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Courgette&display=swap');

/* ────────────────────────────────────────────────
   CSS CUSTOM PROPERTIES
   ──────────────────────────────────────────────── */
:root {
  --bs-red:       #ec1d25;
  --bs-red-dark:  #c8171e;
  --bs-red-light: rgba(236, 29, 37, 0.12);
  --bs-black:     #111111;
  --bs-dark:      #1a1a1a;
  --bs-grey:      #555555;
  --bs-light-bg:  #fafafa;
  --bs-white:     #ffffff;
  --bs-border:    #eeeeee;
  --radius-card:  14px;
  --shadow-card:  0 6px 30px rgba(0,0,0,0.10);
  --shadow-hover: 0 16px 48px rgba(236,29,37,0.20);
  --transition:   all 0.35s cubic-bezier(.25,.8,.25,1);
}

/* ============================================================
   SECTION — TODAY'S SPECIALS (Homepage)
   ============================================================ */

.section-todays-specials {
  background: #fff;
  padding: 80px 0 90px;
  position: relative;
  overflow: hidden;
}

/* decorative background pizza-wheel watermark */
.section-todays-specials::before {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(236,29,37,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* Section heading */
.specials-header {
  text-align: center;
  margin-bottom: 56px;
}

.specials-header .eyebrow {
  display: inline-block;
  font-family: 'Courgette', cursive;
  font-size: 20px;
  color: var(--bs-red);
  margin-bottom: 8px;
  letter-spacing: .5px;
}

.specials-header h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4vw, 46px);
  color: var(--bs-black);
  line-height: 1.15;
  margin: 0 0 16px;
}

.specials-header p {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  color: var(--bs-grey);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Red underline accent */
.specials-header .title-accent {
  display: block;
  width: 60px;
  height: 4px;
  background: var(--bs-red);
  border-radius: 2px;
  margin: 18px auto 0;
}

/* ── Specials Grid ── */
.specials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 28px;
}

/* ── Special Card ── */
.special-card {
  background: var(--bs-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--bs-border);
}

.special-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--bs-red);
}

/* Image placeholder */
.special-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
  flex-shrink: 0;
}

.special-card-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(145deg, #f8f0f0 0%, #fce4e4 50%, #f8e8e8 100%);
  transition: var(--transition);
}

.special-card:hover .img-placeholder {
  background: linear-gradient(145deg, #fce4e4 0%, #f8d0d0 50%, #fce4e4 100%);
}

.special-card-img .img-placeholder .pizza-icon {
  font-size: 56px;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(236,29,37,0.25));
  transition: transform 0.4s ease;
}

.special-card:hover .pizza-icon {
  transform: rotate(15deg) scale(1.1);
}

.special-card-img .img-placeholder span {
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  color: var(--bs-red);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Badge */
.special-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--bs-red);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 4px 12px;
  border-radius: 30px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(236,29,37,0.4);
}

.special-badge.badge-bestseller { background: #111; }
.special-badge.badge-chefschoice { background: #e6a817; }
.special-badge.badge-popular { background: #18a455; }
.special-badge.badge-new { background: #7c3aed; }

/* Card body */
.special-card-body {
  padding: 20px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.special-card-body h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 17px;
  color: var(--bs-black);
  margin: 0 0 8px;
  line-height: 1.3;
}

.special-card-body p {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: var(--bs-grey);
  line-height: 1.65;
  margin: 0 0 16px;
  flex: 1;
}

/* Price row */
.special-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  gap: 10px;
  flex-wrap: wrap;
}

.special-price {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: var(--bs-red);
}

.special-price .price-from {
  font-size: 11px;
  font-weight: 500;
  color: var(--bs-grey);
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}

/* Size options mini */
.price-sizes {
  font-size: 11px;
  color: #888;
  font-family: 'Poppins', sans-serif;
  margin-top: 2px;
}

/* CTA Buttons row */
.specials-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.btn-specials-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bs-red);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 14px 34px;
  border-radius: 4px;
  border: 2px solid var(--bs-red);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-specials-primary:hover {
  background: var(--bs-red-dark);
  border-color: var(--bs-red-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236,29,37,0.35);
}

.btn-specials-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--bs-black);
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .8px;
  padding: 14px 34px;
  border-radius: 4px;
  border: 2px solid var(--bs-black);
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.btn-specials-outline:hover {
  background: var(--bs-black);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Responsive specials */
@media (max-width: 768px) {
  .section-todays-specials { padding: 60px 0 70px; }
  .specials-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .specials-cta { gap: 12px; }
  .btn-specials-primary, .btn-specials-outline { padding: 12px 24px; font-size: 13px; }
}

@media (max-width: 480px) {
  .specials-grid { grid-template-columns: 1fr; }
  .section-todays-specials { padding: 50px 0 60px; }
}


/* ============================================================
   FULL MENU PAGE
   ============================================================ */

/* ── Menu Hero ── */
.menu-hero {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, #1a0506 0%, #3d0a0c 40%, #ec1d25 100%);
  overflow: hidden;
  padding: 120px 20px 80px;
}

.menu-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/slides/slide-1.jpg') center/cover no-repeat;
  opacity: 0.18;
  z-index: 0;
}

/* Big BIG SLICE watermark text */
.menu-hero::after {
  content: 'BIG SLICE';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(80px, 18vw, 180px);
  color: rgba(255,255,255,0.04);
  white-space: nowrap;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -4px;
}

.menu-hero-content {
  position: relative;
  z-index: 1;
}

.menu-hero-content .eyebrow {
  display: inline-block;
  font-family: 'Courgette', cursive;
  font-size: 22px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 12px;
}

.menu-hero-content h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: 900;
  font-size: clamp(42px, 7vw, 82px);
  color: #fff;
  line-height: 1.05;
  margin: 0 0 18px;
  letter-spacing: -1px;
}

.menu-hero-content h1 span {
  color: #fff;
  -webkit-text-stroke: 2px #fff;
  color: transparent;
}

.menu-hero-content p {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin: 0 auto 32px;
  line-height: 1.75;
}

/* tagline pills */
.menu-hero-pills {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.menu-hero-pills .pill {
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.25);
  letter-spacing: .5px;
}

/* ── Menu Nav Tabs (sticky category bar) ── */
.menu-nav-wrapper {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bs-black);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  overflow-x: auto;
  scrollbar-width: none;
}

.menu-nav-wrapper::-webkit-scrollbar { display: none; }

.menu-nav {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 20px;
  min-width: max-content;
  margin: 0 auto;
  max-width: 1200px;
}

.menu-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .7px;
  color: rgba(255,255,255,0.6);
  padding: 18px 20px;
  background: none;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  text-decoration: none;
}

.menu-nav-btn:hover {
  color: #fff;
  border-bottom-color: var(--bs-red);
  text-decoration: none;
}

.menu-nav-btn.active {
  color: #fff;
  border-bottom-color: var(--bs-red);
}

.menu-nav-btn .nav-icon {
  font-size: 16px;
}

/* ── Menu Page Body ── */
.menu-page-body {
  background: var(--bs-light-bg);
  padding-bottom: 80px;
}

/* ── Category Section ── */
.menu-category-section {
  padding: 70px 0 20px;
  scroll-margin-top: 60px;
}

.menu-category-section:first-child {
  padding-top: 70px;
}

/* Category heading */
.menu-cat-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
}

.menu-cat-header .cat-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--bs-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(236,29,37,0.35);
}

.menu-cat-header h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(24px, 3vw, 34px);
  color: var(--bs-black);
  margin: 0;
  line-height: 1.2;
}

.menu-cat-header h2 .cat-count {
  font-size: 14px;
  font-weight: 400;
  color: #aaa;
  margin-left: 8px;
}

.menu-cat-divider {
  flex: 1;
  height: 2px;
  background: linear-gradient(to right, var(--bs-border), transparent);
}

/* ── Menu Items Grid ── */
.menu-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 24px;
}

/* Pizza category — wider cards for size table */
.menu-items-grid.pizza-grid {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* ── Menu Item Card ── */
.menu-item-card {
  background: var(--bs-white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  border: 1px solid var(--bs-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

.menu-item-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 40px rgba(236,29,37,0.15);
  border-color: rgba(236,29,37,0.3);
}

/* Item image */
.menu-item-img {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #ebebeb 100%);
  flex-shrink: 0;
}

.menu-item-img .img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}

/* Different color tints per category */
.menu-item-img.pizza-img    { background: linear-gradient(145deg, #fff5f5, #ffe8e8); }
.menu-item-img.fries-img    { background: linear-gradient(145deg, #fffbf0, #fff3d4); }
.menu-item-img.wings-img    { background: linear-gradient(145deg, #fff5f0, #ffe8da); }
.menu-item-img.juice-img    { background: linear-gradient(145deg, #f0fff4, #d4f5e2); }
.menu-item-img.fruitas-img  { background: linear-gradient(145deg, #f0f8ff, #d4eaff); }
.menu-item-img.drinks-img   { background: linear-gradient(145deg, #f5f0ff, #e8daff); }

.menu-item-img .food-emoji {
  font-size: 48px;
  line-height: 1;
  transition: transform 0.4s ease;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.15));
}

.menu-item-card:hover .food-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.menu-item-img .img-label {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: rgba(0,0,0,0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Tags / Badges on card */
.item-badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  z-index: 2;
}

.item-tag {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .7px;
  padding: 3px 10px;
  border-radius: 20px;
  line-height: 1.4;
}

.tag-bestseller  { background: var(--bs-black); color: #fff; }
.tag-chefschoice { background: #e6a817; color: #fff; }
.tag-new         { background: #7c3aed; color: #fff; }
.tag-popular     { background: #18a455; color: #fff; }
.tag-spicy       { background: #e05c1a; color: #fff; }
.tag-vegetarian  { background: #16a34a; color: #fff; }

/* Card body */
.menu-item-body {
  padding: 18px 20px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.menu-item-body h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--bs-black);
  margin: 0 0 7px;
  line-height: 1.3;
}

.menu-item-body p {
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: #777;
  line-height: 1.65;
  margin: 0 0 14px;
  flex: 1;
}

/* Pricing row */
.menu-item-pricing {
  margin-top: auto;
  border-top: 1px solid var(--bs-border);
  padding-top: 14px;
}

/* Simple price */
.item-price-simple {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 22px;
  color: var(--bs-red);
}

.item-price-simple .currency {
  font-size: 13px;
  font-weight: 600;
  vertical-align: top;
  margin-top: 4px;
  display: inline-block;
}

/* Size-based pricing table (for pizzas) */
.price-table {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-top: 4px;
}

.price-table-header,
.price-table-row {
  display: contents;
}

.price-cell {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  text-align: center;
  padding: 5px 3px;
  border-radius: 6px;
}

.price-cell.header {
  font-weight: 700;
  font-size: 9px;
  text-transform: uppercase;
  color: var(--bs-grey);
  background: #f5f5f5;
  letter-spacing: .5px;
}

.price-cell.value {
  font-weight: 700;
  font-size: 11px;
  color: var(--bs-black);
  background: var(--bs-light-bg);
  border: 1px solid var(--bs-border);
}

.price-cell.value:first-of-type {
  /* slice price highlighted */
  background: var(--bs-red-light);
  color: var(--bs-red);
  border-color: rgba(236,29,37,0.2);
}

/* Wing pricing */
.wing-price-row {
  display: flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.wing-price-item {
  flex: 1;
  background: var(--bs-light-bg);
  border: 1px solid var(--bs-border);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
}

.wing-price-item .qty {
  font-family: 'Poppins', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: var(--bs-grey);
  text-transform: uppercase;
  letter-spacing: .5px;
  display: block;
  margin-bottom: 3px;
}

.wing-price-item .price {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 15px;
  color: var(--bs-red);
}

/* ── All prices disclaimer ── */
.menu-disclaimer {
  text-align: center;
  margin: 40px auto 0;
  max-width: 600px;
  padding: 16px 24px;
  background: var(--bs-white);
  border-radius: 10px;
  border: 1px solid var(--bs-border);
  font-family: 'Poppins', sans-serif;
  font-size: 12.5px;
  color: var(--bs-grey);
}

.menu-disclaimer i {
  color: var(--bs-red);
  margin-right: 6px;
}

/* ── Menu page responsive ── */
@media (max-width: 768px) {
  .menu-hero { min-height: 340px; padding: 100px 20px 60px; }
  .menu-hero-content h1 { font-size: clamp(36px, 9vw, 60px); }
  .menu-items-grid, .menu-items-grid.pizza-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 18px;
  }
  .menu-cat-header { gap: 14px; }
  .menu-cat-header .cat-icon { width: 46px; height: 46px; font-size: 22px; }
}

@media (max-width: 540px) {
  .menu-items-grid, .menu-items-grid.pizza-grid {
    grid-template-columns: 1fr;
  }
  .menu-hero::after { display: none; }
  .menu-nav-btn { padding: 16px 14px; font-size: 11px; }
  .price-table { grid-template-columns: repeat(5, 1fr); }
  .price-cell { font-size: 9px; padding: 4px 2px; }
}

/* ── Scroll-reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* stagger delays */
.reveal:nth-child(1) { transition-delay: 0.05s; }
.reveal:nth-child(2) { transition-delay: 0.10s; }
.reveal:nth-child(3) { transition-delay: 0.15s; }
.reveal:nth-child(4) { transition-delay: 0.20s; }
.reveal:nth-child(5) { transition-delay: 0.25s; }
.reveal:nth-child(6) { transition-delay: 0.30s; }
.reveal:nth-child(7) { transition-delay: 0.35s; }
.reveal:nth-child(8) { transition-delay: 0.40s; }
