/* Phase 1.76-D — static South African landscape chapters across LIGHT AND MIDNIGHT.
 * Three high-resolution scenic stills replace the former ambient background films.
 * Original section content and interactions remain layered above the imagery. */

/* Use strong selectors to beat the previous light-theme !important gradients,
 * while intentionally applying the moving cinema treatment in both themes. */
html[data-theme] body.home-page .nacwo-cinema-section {
  position:relative;
  isolation:isolate;
  overflow:hidden;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  background-position:center center!important;
}
html[data-theme] body.home-page .nacwo-cinema-section.h176-theater-section {
  background-image:
    linear-gradient(105deg,rgba(3,20,32,.69),rgba(3,25,39,.26)),
    url("../assets/platform/scenery176d/drakensberg-sunrise.webp")!important;
}
html[data-theme] body.home-page .nacwo-cinema-section.conversion176-fit-section {
  background-image:
    linear-gradient(105deg,rgba(3,20,32,.69),rgba(3,25,39,.26)),
    url("../assets/platform/scenery176d/blyde-river-canyon.webp")!important;
}
html[data-theme] body.home-page .nacwo-cinema-section.home-membership {
  background-image:
    linear-gradient(105deg,rgba(3,20,32,.7),rgba(3,25,39,.27)),
    url("../assets/platform/scenery176d/cape-winelands-golden-hour.webp")!important;
}

/* Full-bleed scenic stills behave like cinematic backgrounds without motion. */
html[data-theme] body.home-page .nacwo-cinema-section > .nacwo-cinema-image {
  display:block;
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:none;
  min-width:0;
  object-fit:cover;
  object-position:center;
  opacity:1;
  z-index:0;
  pointer-events:none;
  user-select:none;
  filter:saturate(1.03) contrast(1.035);
}

/* Common dark overlay protects text contrast while preserving scenic detail. */
html[data-theme] body.home-page .nacwo-cinema-section::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:linear-gradient(100deg,
    rgba(3,15,25,.79) 0%,
    rgba(3,20,32,.6) 47%,
    rgba(3,20,32,.27) 100%);
}
html[data-theme="midnight"] body.home-page .nacwo-cinema-section::after {
  background:linear-gradient(100deg,
    rgba(3,13,24,.78) 0%,
    rgba(3,17,29,.57) 48%,
    rgba(3,18,31,.25) 100%);
}
html[data-theme] body.home-page .nacwo-cinema-section > .home-shell {
  position:relative;
  z-index:2;
}

/* All text above cinematic footage is intentionally legible in both themes.
 * The content/cards remain clickable and retain their established states. */
html[data-theme] body.home-page .nacwo-cinema-section.h176-theater-section .h176-theater-intro :is(h2,h2 em,p),
html[data-theme] body.home-page .nacwo-cinema-section.h176-theater-section .h176-eyebrow,
html[data-theme] body.home-page .nacwo-cinema-section.conversion176-fit-section .conversion176-section-heading :is(h2,p),
html[data-theme] body.home-page .nacwo-cinema-section.home-membership .membership-copy :is(h2,p,.home-text-link) {
  color:#f1fcff!important;
  text-shadow:0 2px 13px rgba(0,0,0,.36);
}
html[data-theme] body.home-page .nacwo-cinema-section :is(.conversion176-overline,.home-eyebrow) {
  color:#a5fff0!important;
}
html[data-theme] body.home-page .nacwo-cinema-section .h176-ghost-cta {
  color:#082736!important;
  text-shadow:none!important;
}
html[data-theme] body.home-page .nacwo-cinema-section :is(.h176-showcase,.conversion176-choice,.home-price-card) {
  box-shadow:0 20px 56px rgba(1,12,22,.28)!important;
}

@media(max-width:700px) {
  html[data-theme] body.home-page .nacwo-cinema-section::after,
  html[data-theme="midnight"] body.home-page .nacwo-cinema-section::after {
    background:linear-gradient(112deg,
      rgba(3,15,27,.84),rgba(3,20,32,.52));
  }
}
