/* ==================================================
   HOME PAGE — Landing sections
   ================================================== */

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 24, 27, 0.55) 0%, rgba(20, 24, 27, 0.35) 45%, rgba(20, 24, 27, 0.85) 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  text-align: center;
  color: #fff;
  padding-bottom: 64px;
}

.hero__content .eyebrow {
  color: var(--color-secondary);
}

.hero__content h1 {
  color: #fff;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: 20px;
}

.hero__content p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.hero__stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
}

.hero__stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
}

.scroll-indicator {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  opacity: 0.8;
}

.scroll-indicator i {
  animation: float 2s ease-in-out infinite;
}

/* ---------- Trusted Restaurants ---------- */
.trusted {
  padding-block: 48px;
  border-bottom: 1px solid var(--color-border);
}

.trusted__label {
  text-align: center;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}

.trusted__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  opacity: 0.6;
}

.trusted__logos img {
  height: 32px;
  filter: grayscale(100%);
  transition: all var(--transition-base);
}

.trusted__logos img:hover {
  filter: grayscale(0%);
  transform: translateY(-2px);
}

/* ---------- Featured Dining ---------- */
.feature-grid {
  grid-template-columns: 1.4fr 1fr 1fr;
  grid-template-rows: auto auto;
}

.feature-grid .feature-card:first-child {
  grid-row: span 2;
  min-height: 100%;
}

@media (max-width: 992px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
  .feature-grid .feature-card:first-child {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 576px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }
  .feature-grid .feature-card:first-child {
    grid-column: span 1;
  }
}

/* ---------- Categories ---------- */
.category-grid {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 992px) {
  .category-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 576px) {
  .category-grid { grid-template-columns: repeat(2, 1fr); }
}

.category-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.category-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.category-card:hover img {
  transform: scale(1.1);
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(38, 70, 83, 0.85), transparent 65%);
}

.category-card__label {
  position: relative;
  z-index: 2;
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-card__label i {
  color: var(--color-secondary);
}

/* ---------- Why Choose ---------- */
.why-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

@media (max-width: 992px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
  .why-grid { grid-template-columns: 1fr; }
}

.why-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.why-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
}

.why-card__icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--gradient-primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 20px;
}

.why-card h4 {
  margin-bottom: 10px;
}

.why-card p {
  font-size: 0.9rem;
}

/* ---------- Testimonials ---------- */
.testimonials {
  background: var(--color-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.testimonials .section-header h2,
.testimonials .eyebrow {
  color: #fff;
}

.testimonials .eyebrow {
  color: var(--color-secondary);
}

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 8px;
}

.testimonial-track::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  scroll-snap-align: start;
  flex: 0 0 min(420px, 85vw);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 32px;
}

.testimonial-card .rating i { color: var(--color-secondary); }

.testimonial-card p {
  color: rgba(255, 255, 255, 0.8);
  margin-block: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-author strong {
  display: block;
}

.testimonial-author span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

/* ---------- Mobile App CTA ---------- */
.app-cta {
  background: var(--gradient-dark);
  border-radius: var(--radius-xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 56px;
  gap: 40px;
  position: relative;
}

.app-cta__content {
  color: #fff;
  max-width: 460px;
}

.app-cta__content h2 { color: #fff; }
.app-cta__content p { color: rgba(255, 255, 255, 0.75); margin-block: 16px 28px; }

.app-cta__badges {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.app-cta__image {
  max-width: 280px;
}

@media (max-width: 768px) {
  .app-cta {
    flex-direction: column;
    text-align: center;
    padding: 40px 28px;
  }
  .app-cta__badges { justify-content: center; }
}
