/* ==========================================================================
   Calabria Pizza & Gyros — Homepage + feature sections
   ========================================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: min(92vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: calc(-1 * var(--header-h));
  padding-top: var(--header-h);
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center 60%;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 12, 6, 0.46) 0%, rgba(20, 12, 6, 0.18) 38%, rgba(20, 12, 6, 0.78) 100%);
}
.hero .container { position: relative; z-index: 1; padding-bottom: clamp(48px, 7vw, 90px); }
.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: rgba(250, 243, 230, 0.14);
  border: 1px solid rgba(250, 243, 230, 0.4);
  backdrop-filter: blur(6px);
  color: #fdf8ec;
  font-weight: 700;
  font-size: 0.86rem;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.hero__badge .dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #7ec96d;
  box-shadow: 0 0 0 4px rgba(126, 201, 109, 0.25);
}
.hero h1 {
  color: #fdf8ec;
  max-width: 13ch;
  text-shadow: 0 3px 26px rgba(0, 0, 0, 0.45);
  margin-bottom: 0.35em;
}
.hero h1 em {
  font-style: normal;
  color: var(--honey);
}
.hero__sub {
  color: #f0e7d2;
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  max-width: 560px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
  margin-bottom: 30px;
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__hand {
  position: absolute;
  right: 6%;
  bottom: 16%;
  transform: rotate(-6deg);
  color: #fdf8ec;
  font-family: var(--font-hand);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
  pointer-events: none;
}
@media (max-width: 900px) { .hero__hand { display: none; } }

/* ---------- Trust strip ---------- */
.trust-strip {
  background: var(--red);
  color: #fff5e6;
  padding: 20px 0;
}
.trust-strip .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px 36px;
}
.trust-strip__item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.02rem;
}
.trust-strip__item svg { width: 26px; height: 26px; flex: none; color: #ffd9a3; }

/* ---------- Counters ---------- */
.counter-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 3.8rem);
  color: var(--red);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.counter-label { font-weight: 700; color: var(--char-soft); margin-top: 6px; }

/* ---------- Parallax band ---------- */
.band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.band__media { position: absolute; inset: -12% 0; z-index: 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }
.band__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 14, 7, 0.78) 0%, rgba(24, 14, 7, 0.35) 60%, rgba(24, 14, 7, 0.15) 100%);
}
.band .container { position: relative; z-index: 1; padding-top: 70px; padding-bottom: 70px; }
.band h2 { color: #fdf8ec; max-width: 17ch; }
.band p { color: #ead9c0; max-width: 520px; font-size: 1.1rem; }

/* ---------- Menu category tiles ---------- */
.cat-tile {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.cat-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-tile:hover img { transform: scale(1.06); }
.cat-tile__label {
  position: absolute;
  inset: auto 0 0 0;
  padding: 60px 24px 24px;
  background: linear-gradient(180deg, transparent, rgba(18, 10, 4, 0.85));
  color: #fdf8ec;
}
.cat-tile__label h3 { color: #fdf8ec; margin: 0 0 4px; }
.cat-tile__label span { font-weight: 700; font-size: 0.92rem; color: var(--honey); }

/* ---------- Review cards ---------- */
.review-card {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 30px 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.review-card__stars { color: var(--honey); display: flex; gap: 3px; }
.review-card__stars svg { width: 20px; height: 20px; }
.review-card blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; }
.review-card cite { font-style: normal; font-weight: 800; color: var(--basil); }

/* ---------- Instagram grid ---------- */
.insta-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.insta-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(181, 48, 28, 0);
  transition: background 0.25s ease;
}
.insta-tile:hover img { transform: scale(1.07); }
.insta-tile:hover::after { background: rgba(181, 48, 28, 0.28); }

/* ---------- Hours + map panel ---------- */
.hours-panel {
  background: var(--cream-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
}
.hours-panel__info { padding: clamp(28px, 4vw, 44px); }
.hours-table { width: 100%; border-collapse: collapse; margin: 18px 0 24px; }
.hours-table td { padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 1rem; }
.hours-table td:last-child { text-align: right; font-weight: 700; white-space: nowrap; }
.hours-table tr.today td { color: var(--red); font-weight: 800; }
.hours-panel__map { min-height: 380px; }
.hours-panel__map iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 860px) {
  .hours-panel { grid-template-columns: 1fr; }
  .hours-panel__map { min-height: 300px; }
}

/* ---------- Order online cards ---------- */
.order-card {
  background: var(--cream-card);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 30px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.order-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--honey); }
.order-card--primary { border-color: var(--red); border-width: 2.5px; position: relative; }
.order-card__icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
}
.order-card__icon svg { width: 30px; height: 30px; }
.order-card p { color: var(--char-soft); margin: 0; }
.order-card .btn { margin-top: 8px; }

/* ---------- Sticky menu section nav (menu page) ---------- */
.menu-nav {
  position: sticky;
  top: var(--header-h);
  z-index: 100;
  background: rgba(250, 243, 230, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.menu-nav::-webkit-scrollbar { display: none; }
.menu-nav .container {
  display: flex;
  gap: 8px;
  padding-top: 12px;
  padding-bottom: 12px;
  white-space: nowrap;
}
.menu-nav a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--char);
  background: var(--cream-soft);
  border: 1px solid var(--line);
  padding: 8px 17px;
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
  flex: none;
}
.menu-nav a:hover { background: var(--red); color: #fff8ec; border-color: var(--red); }
