/* =========================
   HERO
========================= */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #000;
}

/* =========================
   SLIDES
========================= */

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .8s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

/* =========================
   OVERLAY
========================= */

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0, 0, 0, 0.65),
    rgba(0, 0, 0, 0.25)
  );
  z-index: 3;
}

/* =========================
   CONTENT
========================= */

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 700px;
  padding: 0 80px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
}

/* TEXT ONLY FADE */
.hero-content h1,
.hero-content p {
  transition: opacity .3s ease, transform .3s ease;
}

.hero-content.fade h1,
.hero-content.fade p {
  opacity: 0;
  transform: translateY(10px);
}
