/* ==========================================================================
   6. Hero Section
   ========================================================================== */
.hero {
  height: 100vh;
  height: 100dvh;
  min-height: -webkit-fill-available;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.1);
  transition: opacity 2s cubic-bezier(0.25, 1, 0.5, 1), transform 12s linear;
  z-index: 1;
  filter: brightness(1.08) contrast(1.06) saturate(1.04); /* Real-time CSS image enhancement */
}

.hero-slide.active {
  opacity: 1; /* Full brightness, no blending with black background */
  transform: scale(1.02);
  z-index: 2;
}

.hero-slide-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(7, 7, 8, 0.85) 20%, rgba(7, 7, 8, 0.2) 60%, rgba(7, 7, 8, 0.0) 100%);
  z-index: 3;
}

.hero-container {
  width: 100%;
  padding: 0 10%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 4;
}

.hero-text-side {
  max-width: 80%;
}

.hero-tagline {
  font-family: var(--font-heading);
  font-size: 19px;
  font-style: italic;
  letter-spacing: 4px;
  color: var(--color-gold);
  margin-bottom: 25px;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 45px;
}

.hero-title-item {
  font-family: var(--font-display);
  font-size: 88px;
  font-weight: 700;
  line-height: 0.95;
  color: var(--text-highlight);
  letter-spacing: -2px;
  opacity: 0;
  transform: translateY(40px);
}

.hero-title-item span {
  display: inline-block;
  position: relative;
}

.hero-title-item span::after {
  content: '';
  position: absolute;
  bottom: 12px;
  right: -25px;
  width: 12px;
  height: 12px;
  background: var(--gold-gradient);
  border-radius: 50%;
  display: none;
  box-shadow: 0 0 10px var(--gold-glow);
}

.hero-title-item:first-child span::after {
  display: none;
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
}



.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 10%;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 4;
  font-family: var(--font-accent);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--text-secondary);
}

.scroll-line {
  width: 40px;
  height: 1px;
  background-color: var(--text-secondary);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  height: 100%;
  background-color: var(--color-gold);
  animation: scrollLineAnimation 2s infinite ease-in-out;
}

@media (max-width: 1199px) {
  .hero-title-item {
    font-size: 68px;
  }
  .hero-image-frame {
    width: 330px;
    height: 420px;
  }
}

@media (max-width: 991px) {
  .hero-container {
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    padding: 0 5%;
  }
  .hero-text-side {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-title-list {
    align-items: center;
    margin-bottom: 30px;
  }
  .hero-title-item {
    text-align: center;
    font-size: 54px;
  }
  .hero-image-side {
    width: 100%;
    justify-content: center;
  }
  .hero-image-frame {
    width: 290px;
    height: 370px;
  }
  .scroll-indicator {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 480px) {
  .hero-title-item {
    font-size: 36px; /* Prevents text cropping on small mobile screens */
    letter-spacing: -1px;
  }
  .hero-tagline {
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 15px;
  }
}
