/* =========================================
   CKS BUILDTECH
   CINEMATIC HERO MEDIA SECTION
========================================= */

.hero-media {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: #111;
  color: #fff;
}

/* =========================================
   VIDEO
========================================= */

.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* =========================================
   IMAGE SLIDES
========================================= */

.hero-image-slides {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-image {
  position: absolute;
  inset: 0;

  background-size: cover;
  background-position: center;

  opacity: 0;

  transform: scale(1.04);

  transition:
    opacity 1.2s ease,
    transform 7s ease;
}

.hero-image.active {
  opacity: 1;
  transform: scale(1);
}

/* =========================================
   OVERLAY
========================================= */

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;

  background:
    linear-gradient(
      90deg,
      rgba(10, 10, 10, 0.88) 0%,
      rgba(10, 10, 10, 0.6) 38%,
      rgba(10, 10, 10, 0.18) 75%,
      rgba(10, 10, 10, 0.35) 100%
    ),
    linear-gradient(0deg, rgba(10, 10, 10, 0.55), transparent 35%);
}

/* =========================================
   HERO CONTENT
========================================= */

.hero-content {
  position: relative;
  z-index: 5;

  width: min(1500px, calc(100% - 70px));

  margin: 0 auto;

  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding-top: 70px;
}

/* EYEBROW */

.hero-eyebrow {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  margin-bottom: 22px;

  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;

  color: #f3c308;

  position: relative;

  padding-left: 42px;
}

.hero-eyebrow::before {
  content: "";

  position: absolute;
  left: 0;

  width: 30px;
  height: 2px;

  background: #f3c308;
}

/* HEADING */

.hero-content h1 {
  max-width: 900px;

  margin: 0;

  font-size: clamp(48px, 5.5vw, 88px);

  line-height: 0.98;

  font-weight: 600;

  letter-spacing: -3px;
}

.hero-content h1 span {
  color: #f3c308;
}

/* DESCRIPTION */

.hero-content p {
  max-width: 620px;

  margin: 30px 0 35px;

  font-size: 18px;

  line-height: 1.7;

  color: rgba(255, 255, 255, 0.78);
}

/* =========================================
   BUTTONS
========================================= */

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 18px;

  min-height: 56px;

  padding: 0 26px;

  text-decoration: none;

  font-size: 13px;

  font-weight: 700;

  letter-spacing: 0.5px;

  transition: 0.3s ease;
}

.hero-btn-primary {
  background: #f3c308;
  color: #2a2b29;
}

.hero-btn-primary:hover {
  background: #fff;
  transform: translateY(-2px);
}

.hero-btn-primary span {
  font-size: 20px;
}

.hero-btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.45);

  color: #fff;

  background: rgba(255, 255, 255, 0.04);
}

.hero-btn-outline:hover {
  background: #fff;
  color: #2a2b29;
}

/* =========================================
   BOTTOM INFORMATION
========================================= */

.hero-bottom {
  position: absolute;

  left: 0;
  right: 0;
  bottom: 40px;

  z-index: 6;

  width: min(1500px, calc(100% - 70px));

  margin: auto;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

/* LOCATION */

.hero-location {
  display: flex;

  align-items: center;

  gap: 12px;

  font-size: 11px;

  letter-spacing: 1.5px;

  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.65);
}

.location-dot {
  width: 8px;
  height: 8px;

  border-radius: 50%;

  background: #f3c308;

  box-shadow: 0 0 15px rgba(243, 195, 8, 0.8);
}

/* SCROLL */

.hero-scroll {
  display: flex;

  align-items: center;

  gap: 15px;

  font-size: 10px;

  letter-spacing: 2px;

  color: rgba(255, 255, 255, 0.55);
}

.scroll-line {
  width: 60px;
  height: 1px;

  background: rgba(255, 255, 255, 0.45);
}

/* =========================================
   MEDIA DOTS
========================================= */

.hero-media-nav {
  position: absolute;

  z-index: 7;

  right: 35px;

  top: 50%;

  transform: translateY(-50%);

  display: flex;

  flex-direction: column;

  gap: 12px;
}

.media-dot {
  width: 7px;
  height: 7px;

  padding: 0;

  border: 0;

  border-radius: 50%;

  background: rgba(255, 255, 255, 0.35);

  cursor: pointer;

  transition: 0.3s ease;
}

.media-dot.active {
  height: 32px;

  border-radius: 5px;

  background: #f3c308;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
  .hero-media {
    min-height: 680px;
  }

  .hero-video {
    object-position: center;
  }

  .hero-content {
    width: calc(100% - 40px);
    padding-top: 80px;
  }

  .hero-content h1 {
    font-size: clamp(42px, 12vw, 64px);

    letter-spacing: -2px;
  }

  .hero-content p {
    font-size: 15px;

    line-height: 1.6;

    margin: 24px 0 28px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-btn {
    width: auto;
    min-height: 52px;
  }

  .hero-bottom {
    width: calc(100% - 40px);

    bottom: 25px;
  }

  .hero-scroll {
    display: none;
  }

  .hero-location {
    font-size: 9px;
    letter-spacing: 1px;
  }

  .hero-media-nav {
    right: 18px;
  }
}

/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
  .hero-media {
    min-height: 650px;
  }

  .hero-content {
    width: calc(100% - 32px);
  }

  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .hero-content h1 {
    font-size: 42px;
  }

  .hero-btn {
    width: 100%;
  }

  .hero-actions {
    width: 100%;
  }

  .hero-location {
    max-width: 260px;
    line-height: 1.5;
  }
}
