/* ============================================
   HERO — Tanjung Bayu
   ============================================ */

.hero {
  position: relative;
  height: 100svh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--c-deep-teal);
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
}

/* Ken Burns — subtle zoom over 12s */
.hero__img {
  animation: kenBurns 12s ease-in-out infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.08); }
}

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(26, 60, 64, 0.55) 0%,
    rgba(26, 60, 64, 0.25) 55%,
    rgba(26, 60, 64, 0.50) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--sp-lg);
}

.hero__overline {
  font-family: var(--ff-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--c-white-50);
  margin-bottom: var(--sp-lg);
}

.hero__title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 8vw, 72px);
  font-weight: 500;
  line-height: 1.07;
  letter-spacing: -0.5px;
  color: var(--c-white);
  margin-bottom: var(--sp-lg);
}

.hero__subtitle {
  font-family: var(--ff-body);
  font-size: clamp(16px, 2.5vw, 18px);
  font-weight: 400;
  color: var(--c-white-80);
  line-height: 1.5;
}

/* ---- Scroll Indicator ---- */
.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background-color: var(--c-white-50);
  position: relative;
  overflow: hidden;
}

.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--c-white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* ---- Mobile ---- */
@media (max-width: 768px) {
  .hero {
    min-height: 100svh;
  }

  .hero__scroll-indicator {
    bottom: 24px;
  }

  .hero__scroll-line {
    height: 32px;
  }
}
