/* Overrides to ensure hero background image is visible and blends into page */
.hero-section {
  position: relative;
  min-height: 500px; /* ensure visible area; adjust if necessary */
  overflow: hidden;
}

* {
  scroll-behavior: smooth;
}

.hero-section .image {
  /* primary image + fallback */
  /* Dark gradient overlay across whole image + fallback images */
  background: linear-gradient(to bottom, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.8) 60%, rgba(0,0,0,0.9) 100%), url('../images/prg.webp'), url('../images/prg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 1;

  position: absolute;
  inset: 0; /* top/right/bottom/left: 0 */
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0,0,0,0.45), rgba(0,0,0,0.7));
  pointer-events: none;
}

.hero-section > *:not(.image):not(.video-overlay) {
  position: relative;
  z-index: 2;
}

.hero-section--ratio {
  padding-top: 40%; /* adjust for aspect (40% = 2.5:1) */
  min-height: 0;
}

@media (max-width: 767px) {
  .hero-section { min-height: 360px; }
}
