/* =============================================
   THE LITTLE KITCHEN COMPANY - pages.css
   Shared styles for all service pages
   ============================================= */

/* ── PAGE HERO ───────────────────────────────── */
.page-hero {
  position: relative;
  height: 70vh;
  min-height: 480px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  margin-top: 34px;
}
.page-hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,8,6,0.75) 0%,
    rgba(10,8,6,0.15) 50%,
    rgba(10,8,6,0.0) 100%
  );
}
.page-hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--pad) 4rem;
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
}
.page-hero-content .section-label { color: rgba(255,255,255,0.65); }
.page-hero-content h1 {
  color: var(--white);
  max-width: 700px;
  margin-top: 0.5rem;
}
.page-hero-content h1 em { color: rgba(255,255,255,0.9); }

/* ── PAGE INTRO ──────────────────────────────── */
.page-intro {
  padding: 5rem 0;
  background: var(--white);
}
.page-intro-inner {
  max-width: 760px;
}
.page-intro h2 { margin-bottom: 1.25rem; }
.page-intro p { font-size: 1.05rem; }
.page-intro .link-arrow { margin-top: 1.75rem; display: inline-flex; }

/* ── FEATURES GRID ───────────────────────────── */
.features {
  padding: 5rem 0;
  background: var(--off);
}
.features-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-top: 3rem;
}
@media (min-width: 640px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .features-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-card {
  background: var(--white);
  padding: 2rem;
  border: 1px solid var(--rule);
}
.feature-icon {
  font-size: 1.5rem;
  color: var(--sage);
  margin-bottom: 1rem;
  display: block;
}
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.75rem; }
.feature-card p { font-size: 0.9rem; }

/* ── IMAGE + TEXT ROWS ───────────────────────── */
.content-row {
  padding: 5rem 0;
  background: var(--white);
}
.content-row:nth-child(even) { background: var(--off); }
.content-row-inner {
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 900px) {
  .content-row-inner { grid-template-columns: 1fr 1fr; gap: 6rem; }
  .content-row-inner.reverse { direction: rtl; }
  .content-row-inner.reverse > * { direction: ltr; }
}
.content-row-img {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
}
.content-row-text h2 { margin-bottom: 1.25rem; }
.content-row-text p + p { margin-top: 0.75rem; }
.content-row-text .btn { margin-top: 1.75rem; }

/* ── TESTIMONIALS ON PAGE ────────────────────── */
.page-testimonials {
  padding: 5rem 0;
  background: var(--off);
}

/* ── MENU / PRICING SECTION ──────────────────── */
.menu-section {
  padding: 5rem 0;
  background: var(--white);
}
.menu-grid {
  display: grid;
  gap: 1.5rem;
  margin-top: 3rem;
}
@media (min-width: 640px) { .menu-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .menu-grid { grid-template-columns: repeat(3, 1fr); } }
.menu-card {
  border: 1px solid var(--rule);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.menu-card-name {
  font-family: var(--body);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
}
.menu-card-price {
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--sage);
}
.menu-card p { font-size: 0.88rem; flex: 1; }
.menu-card-items {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.menu-card-items span {
  font-size: 0.82rem;
  color: var(--mid);
}
.menu-card-items span::before { content: '— '; color: var(--sage); }

/* ── PAGE CTA ────────────────────────────────── */
.page-cta {
  padding: 6rem 0;
  background: var(--off);
  border-top: 1px solid var(--rule);
  text-align: center;
}
.page-cta h2 { color: var(--dark); margin-bottom: 1rem; }
.page-cta p { color: var(--mid); max-width: 520px; margin: 0 auto 2rem; }

/* ── GALLERY STRIP ON PAGE ───────────────────── */
.page-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
}
@media (max-width: 640px) { .page-gallery { grid-template-columns: repeat(2, 1fr); } }
.page-gallery-img {
  aspect-ratio: 1;
  background-size: cover;
  background-position: center;
  transition: opacity 0.3s;
}
.page-gallery-img:hover { opacity: 0.88; }
