/* ═══════════════════════════════════════════
   Hero Sections — Video Backgrounds
   ═══════════════════════════════════════════ */

/* Video background — applies to all hero sections */
.hero__video,
.page-hero__video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(100%) brightness(1.05);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

/* Hero overlay for video */
.hero::before,
.page-hero::before {
  z-index: 0;
}

.hero::after,
.page-hero::after {
  z-index: 0;
}

/* Ensure content layers above video */
.hero__content,
.page-hero__content,
.hero__scroll {
  position: relative;
  z-index: 2;
}

/* Page hero sections (services, about, portfolio, etc.) */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: var(--section-pad) var(--gutter);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.4) 100%
  );
  pointer-events: none;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.page-hero h1,
.page-hero h2 {
  color: var(--text-on-dark);
}

.page-hero p {
  color: var(--text-on-dark-muted);
}
