/* ============================================================
   RESTAURANT PAGE
   ============================================================ */

/* ---- STICKY HERO ---- */
/*
 * position: sticky + top: var(--header-total) — hero locks below the header
 * as user scrolls; gallery/menu sections slide over it from below.
 * z-index: 0 keeps it behind sections (z-index: 1).
 */
.page-hero--parallax {
  position: sticky;
  top: var(--header-total);
  z-index: 0;
  overflow: hidden;
  min-height: 420px;
  display: flex;
  align-items: center;
  background-color: transparent;
  border-bottom: none;
}

@media (min-width: 768px) {
  .page-hero--parallax {
    min-height: 560px;
  }
}

.parallax-bg {
  position: absolute;
  inset: 0;               /* simplified: no JS movement, no extra travel space */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  background-color: var(--clr-forest-deep);
}

/* ---- SECTIONS OVER STICKY HERO ---- */
/*
 * Every block after the hero must sit above it (z-index >= 1) and carry
 * a solid background so it visually covers the hero as it scrolls up.
 * .section--dark and .section--beige restore their own backgrounds after
 * the white override.
 */
.section {
  position: relative;
  z-index: 1;
  background-color: var(--clr-white);
}

.section--dark {
  background-color: var(--clr-forest);
}

.section--beige {
  background-color: var(--clr-beige-light);
}

.parallax-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(14, 14, 14, 0.55) 0%,
    rgba(14, 14, 14, 0.35) 60%,
    rgba(14, 14, 14, 0.6) 100%
  );
  z-index: 1;
}

.page-hero--parallax .page-hero__content {
  position: relative;
  z-index: 2;
}

/* Ensure eyebrow/title/desc are readable on dark bg */
.page-hero--parallax .page-hero__eyebrow,
.page-hero--parallax .page-hero__title,
.page-hero--parallax .page-hero__desc {
  color: var(--clr-white);
}



/* ---- INTRO ---- */
.restaurant-intro {
  font-size: var(--fs-md);
  color: var(--clr-text-muted);
  max-width: 72ch;
  line-height: var(--lh-loose);
}


/* ---- MENU SECTION ---- */
.menu-section {
  margin-bottom: var(--sp-16);
}

.menu-section__header {
  margin-bottom: var(--sp-8);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--clr-border);
}

.menu-section__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl));
  font-weight: var(--fw-light);
}

.menu-section__desc {
  margin-top: var(--sp-2);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}


/* ---- MENU GRID ---- */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--sp-5);
}

@media (min-width: 480px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .menu-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1200px) {
  .menu-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}


/* ---- MENU CARD ---- */
.menu-card {
  background-color: var(--clr-white);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow var(--duration-base) var(--ease-out),
    transform var(--duration-base) var(--ease-out);
}

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

/* Image area */
.menu-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 3/2;
  flex-shrink: 0;
}

.menu-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.menu-card:hover .menu-card__img {
  transform: scale(1.06);
}

/* Card body */
.menu-card__body {
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
}

.menu-card__title {
  font-family: var(--font-serif);
  font-size: var(--fs-lg);
  font-weight: var(--fw-light);
  line-height: var(--lh-snug);
}

.menu-card__desc {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: var(--lh-base);
  flex: 1;
}

/* Placeholder block when item has no photo */
.menu-card__placeholder {
  background-color: var(--clr-beige-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.menu-card__placeholder-icon {
  width: 40px;
  height: 40px;
  color: var(--clr-gold);
  opacity: 0.6;
}

/* Price badge (replaces inline price text) */
.menu-card__price-badge {
  display: inline-block;
  align-self: flex-start;
  margin-top: auto;
  padding: var(--sp-1) var(--sp-3);
  background-color: var(--clr-beige-light);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius-pill);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semi);
  color: var(--clr-gold);
  letter-spacing: 0.02em;
}


/* ---- HIGHLIGHTS BAR ---- */
.restaurant-highlights-bar {
  position: relative;
  z-index: 1;
  background-color: var(--clr-ink);
  padding-block: var(--sp-4);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.restaurant-highlights-bar__list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2) var(--sp-6);
  padding: 0;
  margin: 0;
}

.restaurant-highlights-bar__item {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.restaurant-highlights-bar__icon {
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 479px) {
  .restaurant-highlights-bar__list {
    gap: var(--sp-2) var(--sp-4);
  }

  .restaurant-highlights-bar__item {
    font-size: var(--fs-xs);
    white-space: normal;
  }
}


/* ---- ATMOSPHERE SECTION ---- */
.restaurant-atmosphere {
  background-color: var(--clr-beige-light);
}

.restaurant-atmosphere__inner {
  display: grid;
  gap: var(--sp-12);
  align-items: center;
}

@media (min-width: 768px) {
  .restaurant-atmosphere__inner {
    grid-template-columns: 1fr 1fr;
  }
}

.restaurant-atmosphere__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl));
  font-weight: var(--fw-light);
  margin-block: var(--sp-3) var(--sp-5);
}

.restaurant-atmosphere__text {
  font-size: var(--fs-base);
  color: var(--clr-text-muted);
  line-height: var(--lh-loose);
  margin-bottom: var(--sp-6);
}

.restaurant-atmosphere__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.restaurant-atmosphere__list li {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
}

.restaurant-atmosphere__list svg {
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  color: var(--clr-gold);
}

.restaurant-atmosphere__photo {
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.restaurant-atmosphere__img {
  width: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4/3;
  transition: transform 0.6s var(--ease-out);
}

.restaurant-atmosphere__photo:hover .restaurant-atmosphere__img {
  transform: scale(1.04);
}


/* ---- PHOTO STRIP (auto-scroll marquee) ---- */
.restaurant-photo-strip {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background-color: var(--clr-ink);
  padding-block: var(--sp-5);
}

.photo-strip__track {
  display: flex;
  gap: var(--sp-3);
  width: max-content;
  will-change: transform;
  animation: photo-strip-scroll 32s linear infinite;
}

.restaurant-photo-strip:hover .photo-strip__track {
  animation-play-state: paused;
}

@keyframes photo-strip-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.photo-strip__item {
  flex-shrink: 0;
  width: 260px;
  height: 175px;
  overflow: hidden;
  border-radius: var(--radius-sm);
}

@media (min-width: 600px) {
  .photo-strip__item {
    width: 340px;
    height: 225px;
  }
}

@media (min-width: 1024px) {
  .photo-strip__item {
    width: 420px;
    height: 275px;
  }
}

.photo-strip__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
  cursor: zoom-in;
}

.photo-strip__item:hover .photo-strip__img {
  transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
  .photo-strip__track {
    animation: none;
    overflow-x: auto;
    width: 100%;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .photo-strip__track::-webkit-scrollbar {
    display: none;
  }
}


/* ---- RESTAURANT CTA ---- */
.restaurant-cta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--sp-8);
}

@media (min-width: 768px) {
  .restaurant-cta {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .restaurant-cta__text {
    max-width: 52ch;
  }
}

.restaurant-cta__title {
  font-family: var(--font-serif);
  font-size: clamp(var(--fs-xl), 3vw, var(--fs-2xl));
  font-weight: var(--fw-light);
  color: var(--clr-white);
  margin-bottom: var(--sp-2);
}

.restaurant-cta__subtitle {
  font-size: var(--fs-sm);
  color: rgba(255, 255, 255, 0.6);
  line-height: var(--lh-base);
  margin-bottom: var(--sp-4);
}

.restaurant-cta__phone {
  display: inline-block;
  font-size: var(--fs-lg);
  font-family: var(--font-serif);
  color: var(--clr-gold);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

.restaurant-cta__phone:hover {
  color: var(--clr-gold-hover);
}

@media (max-width: 479px) {
  .restaurant-cta {
    align-items: center;
    text-align: center;
  }
}
