/* ========================================
   Main Hero
   ======================================== */

.main-hero {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Slide */
.main-hero__slide {
  position: relative;
}

/* Image */
.main-hero__image {
  display: block;
  position: relative;
  overflow: hidden;
  height: 100vh;
}

.main-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: mainHeroZoom 8s ease-out forwards;
}

@keyframes mainHeroZoom {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

/* Overlay */
.main-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

/* Text */
.main-hero__text {
  position: absolute;
  width: 100%;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  z-index: 2;
}

.main-hero__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@keyframes heroFadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.main-hero__title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-white);
  letter-spacing: -0.06em;
  line-height: 1.4;
  opacity: 0;
  animation: heroFadeInUp 1s ease forwards;
}

.main-hero__subtitle {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: -0.02em;
  line-height: 1.5;
  margin-top: 2rem;
  opacity: 0;
  animation: heroFadeInUp 1s ease 0.3s forwards;
}

.main-hero__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 4rem;
  opacity: 0;
  animation: heroFadeInUp 1s ease 0.6s forwards;
}

.btn--hero {
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn--hero:hover {
  background-color: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.35);
}

/* Scroll Indicator */
.main-hero__scroll-wrap {
  position: absolute;
  bottom: 2.5rem;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 3;
}

.main-hero__scroll {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  opacity: 0;
  animation: heroFadeInUp 1s ease 1.2s forwards;
}

.main-hero__scroll-line {
  display: block;
  width: 1px;
  height: 3rem;
  position: relative;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.15);
}

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

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

.main-hero__scroll-text {
  font-size: 0.625rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.15em;
}

/* Tablet */
@media (min-width: 768px) {
  .main-hero__title {
    font-size: 2.75rem;
  }

  .main-hero__subtitle {
    font-size: 1.125rem;
    margin-top: 1.5rem;
  }

  .main-hero__actions {
    margin-top: 2.5rem;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .main-hero__title {
    font-size: 3.125rem;
  }

  .main-hero__subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-top: 1.25rem;
  }

  .main-hero__actions {
    margin-top: 2.5rem;
  }
}
