/* ════════ HOME PAGE ════════ */

/* HERO — full-bleed shawarma photo with a centered, floating logo */
.hero {
  min-height: calc(100vh - 72px);
  background: url('../img/hero.jpeg') center/cover no-repeat #18100A;
  position: relative; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Soft dark vignette so the logo always reads against the photo, regardless
   of which slice of the image is showing at this viewport size. */
.hero-scrim {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.15) 0%, rgba(0,0,0,.45) 60%, rgba(0,0,0,.65) 100%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}

/* Centered logo with a gentle entrance + continuous floating */
.hero-logo-mark {
  position: relative;
  width: clamp(150px, 22vw, 240px);
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 6px;
  box-shadow:
    0 20px 50px rgba(0,0,0,.55),
    0 8px 26px rgba(249,190,0,.45),
    0 0 0 6px rgba(255,255,255,.1);
  animation:
    heroLogoIn 1.1s cubic-bezier(.2, 1.4, .35, 1) .15s both,
    heroLogoFloat 5s ease-in-out 1.3s infinite;
  will-change: transform;
}
/* Soft glow halo behind the logo */
.hero-logo-mark::after {
  content: ''; position: absolute; inset: -30px; border-radius: 50%; z-index: -1;
  background: radial-gradient(circle, rgba(255,214,74,.4), transparent 65%);
  animation: heroLogoGlow 4s ease-in-out infinite;
}
.hero-logo-mark img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 22px; display: block;
}

@keyframes heroLogoIn {
  0%   { opacity: 0; transform: scale(.55) translateY(20px); }
  60%  { opacity: 1; transform: scale(1.05) translateY(-4px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
@keyframes heroLogoFloat {
  0%, 100% { transform: translateY(0) rotate(0); }
  50%      { transform: translateY(-14px) rotate(-1deg); }
}
@keyframes heroLogoGlow {
  0%, 100% { opacity: .55; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.1); }
}
@keyframes floatY{ 0%,100%{transform:translateY(0)} 50%{transform:translateY(-12px)} }

@media (prefers-reduced-motion: reduce) {
  .hero-logo-mark,
  .hero-logo-mark::after { animation: none; }
}
.btn-outline {
  background: transparent; color: #fff; padding: .75rem 1.6rem; border-radius: 7px;
  font-size: .84rem; font-weight: 600; text-decoration: none;
  border: 2px solid rgba(255,255,255,.35); transition: all .22s;
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* Logo Showcase */
.logo-showcase {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  padding: 4rem; overflow: hidden; position: relative;
}
.logo-showcase::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 22px 22px;
}
.logo-showcase-inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 3rem;
  position: relative; z-index: 1;
}
.logo-showcase-logo {
  width: 160px; height: 160px; border-radius: 20px; overflow: hidden;
  background: rgba(255,255,255,.1); border: 3px solid rgba(255,255,255,.2); flex-shrink: 0;
  box-shadow: 0 16px 40px rgba(0,0,0,.3); animation: floatY 5s ease-in-out infinite;
}
.logo-showcase-logo img { width: 100%; height: 100%; object-fit: cover; }
.logo-showcase-text h2 {
  font-family: 'Cairo', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 3rem); font-weight: 900; color: #fff;
  line-height: 1.2; margin-bottom: .8rem;
}
.logo-showcase-text h2 span { color: var(--gold-light); }
.logo-showcase-text p { color: rgba(255,255,255,.75); font-size: .9rem; line-height: 1.75; max-width: 500px; margin-bottom: 1.4rem; }
.logo-showcase-chips { display: flex; gap: .65rem; flex-wrap: wrap; }
.lsc {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22);
  color: #fff; padding: .35rem .85rem; border-radius: 20px; font-size: .74rem; font-weight: 600;
}

/* ── Featured strip ("Our tastiest meals") — yellow band, 3 large cards ── */
.featured-bg {
  background: var(--gold);
  padding: 4rem 0 4.5rem;
}
.featured-in {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}
.featured-header { margin-bottom: 2.4rem; }

/* Featured title — large, all-white, black "stroke" outline (logo style). */
.featured-title {
  color: #fff;
  font-weight: 900;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.1;
  letter-spacing: .01em;
  -webkit-text-stroke: 2px #000;
  /* Layered text-shadow gives a clean black outline in browsers that
     don't apply -webkit-text-stroke perfectly (and reinforces it elsewhere). */
  text-shadow:
    -2px -2px 0 #000,
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0   -2px 0 #000,
     0    2px 0 #000,
    -2px  0   0 #000,
     2px  0   0 #000;
  paint-order: stroke fill;
}
.featured-title em {
  color: #fff;
  font-style: normal;
}

.featured-cta-wrap {
  text-align: center;
  margin-top: 2.4rem;
}
/* Outlined ghost CTA — white text with black stroke, animated underline.
   Same typographic treatment as the section title above it. */
.featured-cta {
  position: relative;
  display: inline-block;
  padding: .6rem 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: .01em;
  text-decoration: none;
  background: transparent;
  border: none;
  -webkit-text-stroke: 1.5px #000;
  text-shadow:
    -1.5px -1.5px 0 #000, 1.5px -1.5px 0 #000,
    -1.5px  1.5px 0 #000, 1.5px  1.5px 0 #000,
     0   -1.5px 0 #000,  0    1.5px 0 #000,
    -1.5px  0   0 #000,  1.5px 0   0 #000;
  paint-order: stroke fill;
  -webkit-font-smoothing: antialiased;
  transition: transform .35s cubic-bezier(.2,.9,.25,1);
}
.featured-cta::after {
  content: "";
  position: absolute;
  inset-inline: 0; bottom: 0;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transform: scaleX(.55);
  transform-origin: center;
  transition: transform .35s cubic-bezier(.2,.9,.25,1);
}
.featured-cta:hover {
  transform: translateY(-2px) scale(1.04);
}
.featured-cta:hover::after {
  transform: scaleX(1);
}

/* ── Home banner cards ──────────────────────────────────────────────────────
   Two image banners side-by-side on desktop, stacked on mobile. */
.home-banners {
  max-width: 1320px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
}
.home-banner {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  background: var(--warm);
}
.home-banner img {
  width: 100%; height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .4s ease;
}
.home-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0,0,0,.18);
}
.home-banner:hover img { transform: scale(1.03); }

@media(max-width: 768px) {
  .home-banners {
    grid-template-columns: 1fr;
    padding: 2.5rem 1.3rem;
    gap: 1.1rem;
  }
  /* Drop the fixed aspect-ratio and show the FULL image — no cropping. */
  .home-banner {
    aspect-ratio: auto;
    border-radius: 14px;
    background: var(--warm);
  }
  .home-banner img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}

/* Reviews */
.rev-bg  { background: var(--gold); padding: 4rem 0; }
.rev-sw  { max-width: 1100px; margin: 0 auto; padding: 0 2rem; }
.rev-header { margin-bottom: 2.2rem; }
/* Heading on the yellow band — keep it dark for contrast */
.rev-bg .sec-tag {
  background: rgba(0,0,0,.08);
  color: var(--ink);
  border-color: rgba(0,0,0,.12);
}
.rev-bg .sec-title { color: var(--ink); }
.rev-bg .sec-title em { color: var(--red); }

/* ── Swiper ──────────────────────────────────────────────────────────────── */
.rev-swiper { position: relative; }
.rev-viewport {
  overflow: hidden;
  border-radius: 14px;
}
.rev-rail {
  display: flex;
  /* CSS scroll-snap as a graceful fallback when JS doesn't run */
  scroll-snap-type: x mandatory;
  transition: transform .55s cubic-bezier(.45,.05,.25,1);
  will-change: transform;
  touch-action: pan-y pinch-zoom;
}
.rev-rail .rv {
  flex: 0 0 100%;
  max-width: none;
  min-width: 0;
  width: 100%;
  scroll-snap-align: start;
  margin: 0;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(0,0,0,.12);
  padding: 1.6rem 1.8rem;
}
.rev-rail .rv-txt { font-size: .92rem; line-height: 1.7; }
.rev-rail .stars { font-size: .9rem; }
.rev-rail .rv-name { font-size: .82rem; }
.rev-rail .rv-city { font-size: .72rem; }
.rev-rail .rv-av { width: 38px; height: 38px; font-size: .85rem; }

.rev-dots {
  display: flex; gap: .45rem;
  justify-content: center;
  margin-top: 1.2rem;
}
.rev-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(0,0,0,.22);
  border: 0; padding: 0; cursor: pointer;
  transition: background .25s, transform .25s;
}
.rev-dot.is-active { background: var(--red); transform: scale(1.3); }
.rev-dot:hover { background: var(--ink); }

@media (min-width: 768px) {
  .rev-rail .rv { flex: 0 0 calc((100% - 1.4rem) / 2); }
  .rev-rail { gap: 1.4rem; }
}
@media (min-width: 1024px) {
  .rev-rail .rv { flex: 0 0 calc((100% - 2.8rem) / 3); }
}

/* Animations */
@keyframes fadeUp   { from{opacity:0;transform:translateY(24px)} to{opacity:1;transform:none} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-14px)} to{opacity:1;transform:none} }
@keyframes fadeLeft { from{opacity:0;transform:translateX(28px)} to{opacity:1;transform:none} }

@media(max-width:768px){
  .hero { min-height: 70vh; }
  .hero-inner { padding: 1.5rem; }
  .featured-bg { padding: 3rem 0; }
  .featured-in { padding: 0 1.3rem; }
  .logo-showcase { padding:3rem 1.3rem; }
  .logo-showcase-inner { flex-direction:column; text-align:center; }
  .logo-showcase-logo { width:120px; height:120px; }
  .logo-showcase-chips { justify-content:center; }
}
