/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  /* Override section animation for hero */
  opacity: 1 !important;
  transform: none !important;
}

/* Video/Image Background */
.hero__media {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Dark overlay for text readability */
.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 0;
}

/* Hero Content */
.hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: var(--space-6);
}

.hero__welcome {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  letter-spacing: var(--letter-spacing-wider);
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: var(--space-2);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 0.8s ease-out both;
}

.hero__title {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-white);
  margin-bottom: var(--space-4);
  letter-spacing: var(--letter-spacing-wide);
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: 4.5rem;
    letter-spacing: 0.08em;
  }
}

@media (min-width: 1024px) {
  .hero__title {
    font-size: 5.5rem;
  }
}

.hero__tagline {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-normal);
  color: var(--color-white);
  font-style: italic;
  margin-bottom: var(--space-4);
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-out 0.5s both;
}

@media (min-width: 768px) {
  .hero__tagline {
    font-size: var(--font-size-2xl);
  }
}

.hero__subtitle {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-light);
  color: var(--color-white);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
  opacity: 0.7;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
  animation: fadeIn 1s ease-out 0.7s both;
}

@media (min-width: 768px) {
  .hero__subtitle {
    font-size: var(--font-size-base);
  }
}

/* Scroll Indicator */
.hero__scroll {
  position: absolute;
  bottom: var(--space-10);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity var(--transition-fast);
  animation: fadeIn 1s ease-out 0.5s both;
  z-index: 2;
}

.hero__scroll:hover {
  opacity: 1;
  color: var(--color-white);
}

.hero__scroll-text {
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-medium);
  letter-spacing: var(--letter-spacing-widest);
  text-transform: uppercase;
}

.hero__scroll-icon {
  animation: bounce 2s ease-in-out infinite;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }

  .hero__scroll {
    animation: none;
  }

  .hero__scroll-icon {
    animation: none;
  }
}
