/* Meeraan Banquets — inner / SEO landing pages (lighter than homepage) */

body.page-inner {
  cursor: auto;
}

body.page-inner #cursor,
body.page-inner #cursorFollower {
  display: none !important;
}

/*
 * Homepage uses .reveal { opacity:0 } until .in-view. On SEO pages that fights
 * GSAP scroll fades and tight IntersectionObserver margins — content can stay hidden.
 */
body.page-inner .seo-main .reveal,
body.page-inner .seo-main .reveal-left,
body.page-inner .seo-main .reveal-right {
  opacity: 1 !important;
  transform: none !important;
  transition: none;
}

/* ─── Subpage hero (static, no canvas) ─── */
.page-hero {
  position: relative;
  min-height: clamp(320px, 52vh, 520px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 100px max(5%, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px)) 56px;
  overflow: hidden;
  isolation: isolate;
}
.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  transition: transform 10s ease;
  z-index: 0;
}
.page-hero-bg.loaded { transform: scale(1); }
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(17,10,10,0.92) 0%, rgba(59,10,10,0.45) 45%, rgba(17,10,10,0.35) 100%);
  pointer-events: none;
}
.page-hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.page-hero .section-label { margin-bottom: 12px; }
.page-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--ivory);
  margin-bottom: 16px;
}
.page-hero h1 em {
  font-style: italic;
  color: var(--gold);
}
.page-hero-lead {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  color: rgba(248,244,236,0.72);
  line-height: 1.75;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}
.page-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* Fix inner page navbar layering */
body.page-inner #navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

/* Ensure hero stays below navbar */
body.page-inner .page-hero {
  padding-top: 140px;
  position: relative;
  z-index: 1;
}

/* ─── SEO sections ─── */
.seo-main {
  background: var(--black);
}
.seo-section {
  padding: clamp(72px, 9vw, 108px) 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.seo-section.alt {
  background: var(--black-mid);
  padding: clamp(64px, 8vw, 96px) 5%;
}
.seo-section h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 300;
  color: var(--ivory);
  margin-bottom: 20px;
  line-height: 1.2;
}
.seo-section h2 em { color: var(--gold); font-style: italic; }
.seo-section p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: rgba(248,244,236,0.62);
  font-weight: 300;
  margin-bottom: 16px;
}
.seo-section p strong { color: var(--gold); font-weight: 500; }
.seo-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.seo-list {
  list-style: none;
  margin-top: 24px;
}
.seo-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: rgba(248,244,236,0.58);
  line-height: 1.65;
  font-weight: 300;
}
.seo-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 0.65rem;
  top: 0.2em;
}

/* ─── CTA strip (spacious, breaks card rhythm) ─── */
.cta-strip {
  padding: clamp(56px, 8vw, 88px) 5%;
  background: linear-gradient(
    118deg,
    rgba(59, 10, 10, 0.92) 0%,
    rgba(17, 10, 10, 0.97) 42%,
    rgba(12, 9, 9, 0.99) 100%
  );
  border-top: 1px solid rgba(212, 175, 55, 0.12);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  position: relative;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 80% 90% at 20% 50%, rgba(212, 175, 55, 0.06) 0%, transparent 55%);
}
.cta-strip-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: clamp(20px, 3vw, 32px);
  position: relative;
  z-index: 1;
}
.cta-strip h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.55rem, 3.2vw, 2.25rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.2;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.cta-strip-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ─── Trust row (compact stats, typography-led) ─── */
.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 3vw, 28px);
  margin-top: 36px;
  padding-top: 32px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}
.trust-item {
  text-align: center;
  padding: 8px 4px;
}
.trust-item strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.15rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  letter-spacing: 0.02em;
}
.trust-item span {
  display: block;
  margin-top: 10px;
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(248, 244, 236, 0.36);
  font-weight: 400;
}

/* ─── Preview gallery grid ─── */
.preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.preview-grid a {
  display: block;
  overflow: hidden;
  border-radius: 1px;
  border: none;
  aspect-ratio: 4/3;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
}
.preview-grid a:hover {
  box-shadow: 0 22px 52px rgba(0, 0, 0, 0.45);
}
.preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.75s var(--ease-out-expo);
}
.preview-grid a:hover img { transform: scale(1.035); }

/* Sanity tiles inside event preview grids */
.preview-grid .gallery-page-item {
  width: 100%;
  padding: 0;
  font: inherit;
  text-align: left;
}
.preview-grid .gallery-page-item img,
.preview-grid .gallery-page-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.event-gallery-empty,
.event-gallery-status {
  grid-column: 1 / -1;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 300;
  color: rgba(248, 244, 236, 0.5);
  margin: 0;
  line-height: 1.7;
}
.event-gallery-empty a,
.event-gallery-status a {
  color: var(--gold);
  text-decoration: none;
}
.event-gallery-empty a:hover {
  color: var(--ivory);
}

/* ─── Testimonial card (inner) — soft glass ─── */
.seo-quote {
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 4vw, 44px) clamp(28px, 3.5vw, 40px);
  border: 1px solid rgba(248, 244, 236, 0.08);
  border-radius: 3px;
  background: linear-gradient(
    165deg,
    rgba(255, 248, 240, 0.04) 0%,
    rgba(22, 20, 18, 0.4) 50%,
    rgba(14, 12, 11, 0.5) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.04);
}
.seo-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.08rem, 2.2vw, 1.28rem);
  font-style: italic;
  font-weight: 300;
  color: rgba(248, 244, 236, 0.94);
  line-height: 1.58;
  margin-bottom: 18px;
}
.seo-quote p::before {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 14px;
}
.seo-quote cite {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: none;
  color: var(--ivory);
  font-style: normal;
  font-weight: 500;
}

/* ─── Gallery page filters ─── */
[data-gallery-filters] {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 0 auto 36px;
  max-width: 920px;
  padding: 0;
}
[data-gallery-filters] button {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px;
  background: transparent;
  border: 1px solid rgba(212,175,55,0.22);
  color: rgba(248,244,236,0.58);
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
[data-gallery-filters] button:hover {
  border-color: rgba(212,175,55,0.45);
  color: var(--gold);
}
[data-gallery-filters] button.is-active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(212,175,55,0.06);
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  max-width: 1320px;
  margin: 0 auto;
}
.gallery-page-item {
  position: relative;
  overflow: hidden;
  border-radius: 1px;
  border: none;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
  transition: box-shadow 0.55s var(--ease-out-expo), transform 0.55s var(--ease-out-expo);
}
.gallery-page-item:hover {
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.48);
  transform: translateY(-2px);
}
.gallery-page-item img,
.gallery-page-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s var(--ease-out-expo), filter 0.5s var(--ease-out-expo);
}
.gallery-page-item:hover img,
.gallery-page-item:hover video {
  transform: scale(1.035);
  filter: brightness(1.03);
}
.gallery-page-item--video .gallery-play-badge {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(4, 2, 2, 0.55);
  border: 2px solid rgba(212, 175, 55, 0.85);
  pointer-events: none;
  z-index: 2;
}
.gallery-page-item--video .gallery-play-badge::after {
  content: '';
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 16px;
  border-color: transparent transparent transparent var(--gold);
}
.gallery-page-item figcaption,
.gallery-page-item .gallery-cap {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 14px;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--ivory);
  background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
  text-align: left;
  font-weight: 300;
}

/* ─── SEO feature cards — minimal, icon-forward via heading ─── */
.seo-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}
.seo-feature-card {
  padding: 22px 20px;
  border: 1px solid rgba(212, 175, 55, 0.08);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 2px;
  transition: border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1), background 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.seo-feature-card:hover {
  border-color: rgba(212, 175, 55, 0.18);
  background: rgba(255, 255, 255, 0.035);
  transform: translateY(-2px);
}
.seo-feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.08rem;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 8px;
  line-height: 1.28;
  letter-spacing: 0.01em;
}
.seo-feature-card p {
  font-size: 0.84rem;
  line-height: 1.68;
  color: rgba(248, 244, 236, 0.52);
  margin-bottom: 0;
  font-weight: 300;
}

/* ─── Shared testimonials (SEO pages) ─── */
body.page-inner .seo-section.alt:has(+ .seo-testimonials-section) {
  padding-bottom: clamp(36px, 5vw, 52px);
}
body.page-inner #testimonials.seo-testimonials-section {
  padding: clamp(40px, 5vw, 56px) 5%;
}
.seo-testimonials-section .section-title {
  margin-top: 0;
  margin-bottom: 28px;
}
.seo-testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.seo-testimonial-card {
  padding: 26px 22px 28px;
  border: 1px solid rgba(248, 244, 236, 0.07);
  border-radius: 3px;
  background: linear-gradient(
    160deg,
    rgba(255, 248, 240, 0.035) 0%,
    rgba(20, 18, 16, 0.42) 100%
  );
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 248, 236, 0.04);
  transition: border-color 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.seo-testimonial-card:hover {
  border-color: rgba(212, 175, 55, 0.14);
  transform: translateY(-2px);
}
.seo-testimonial-card p {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  font-weight: 300;
  color: rgba(248, 244, 236, 0.9);
  line-height: 1.58;
  margin: 0;
}

/* ─── Final CTA block (SEO pages) ─── */
.seo-final-cta .cta-strip-inner {
  flex-direction: column;
  text-align: center;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}
.seo-final-cta .cta-strip-inner h2 { margin-bottom: 16px; }
.seo-final-cta-text {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.8;
  color: rgba(248,244,236,0.62);
  margin: 0 0 28px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.seo-final-cta .cta-strip-btns { justify-content: center; }

@media (max-width: 1024px) {
  .seo-two-col { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: repeat(2, 1fr); }
  .preview-grid { grid-template-columns: 1fr; }
  .seo-feature-grid { grid-template-columns: repeat(2, 1fr); }
  .seo-testimonial-grid { grid-template-columns: 1fr; }

  /* Single-column layout starts here — align copy to centre (was left-only until 819px) */
  .page-hero-inner {
    text-align: center;
  }
  .page-hero-cta {
    justify-content: center;
  }
  .seo-section {
    text-align: center;
    padding-inline: max(5%, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
  .seo-section h2,
  .seo-section p {
    margin-left: auto;
    margin-right: auto;
  }
  .seo-section p {
    max-width: 40rem;
  }
  .seo-two-col {
    text-align: center;
  }
  .seo-list {
    text-align: left;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-strip-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .cta-strip-btns {
    justify-content: center;
  }
  .cta-strip h2 {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
  }
  .cta-strip {
    padding-inline: max(5%, env(safe-area-inset-left, 0px), env(safe-area-inset-right, 0px));
  }
  .seo-feature-card {
    text-align: center;
  }
  .seo-quote {
    text-align: center;
  }
  .seo-quote p::before {
    margin-left: auto;
    margin-right: auto;
  }
  .seo-testimonial-card {
    text-align: center;
  }
}

@media (max-width: 819px) {
  body.page-inner .page-hero { padding-top: 88px; }
  .trust-row { grid-template-columns: 1fr; }
  .seo-feature-grid { grid-template-columns: 1fr; }
}