/**
 * Hero Section Styles
 * Hero banner with overlay and content
 */

/* ============================================================================
   HERO SECTION
   ============================================================================ */

.hero {
  position: relative;
  height: 40vh;
  min-height: 280px;
  background: var(--gradient-primary);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mm-on-primary);
  text-align: center;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--hero-overlay-color);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: var(--mm-sp-6);
  max-width: 800px;
  animation: mm-mot-stagger-in var(--mm-dur-medium4) var(--mm-ease-emphasized-decelerate) both;
}

.hero-title {
  font-family: var(--mm-ff-heading);
  font-size: var(--mm-fs-3xl);
  font-weight: var(--mm-fw-bold);
  margin-bottom: var(--mm-sp-2);
  text-shadow: var(--hero-text-shadow);
}

.hero-subtitle {
  font-size: var(--mm-fs-lg);
  font-weight: 300;
  text-shadow: var(--hero-text-shadow);
  opacity: 0.95;
  animation: mm-mot-stagger-in var(--mm-dur-medium4) var(--mm-ease-emphasized-decelerate) both;
  animation-delay: var(--mm-dur-short3);
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (min-width: 768px) {
  .hero {
    height: 50vh;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: var(--mm-fs-xl);
  }
}

/* ============================================================================
   HERO SKELETON SHIMMER OVERLAY
   ============================================================================ */

.skel-hero-shimmer {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 0;
  transition: opacity var(--mm-dur-medium2) var(--mm-ease-standard-decelerate);
}

.menu-loaded .skel-hero-shimmer {
  opacity: 0;
  pointer-events: none;
}

/* ============================================================================
   FORCED COLORS (Windows High Contrast Mode)
   ============================================================================ */

@media (prefers-reduced-motion: reduce) {
  .hero-content,
  .hero-subtitle {
    animation: none;
  }
  .skel-hero-shimmer {
    transition-duration: 0.01ms;
  }
}

@media (forced-colors: active) {
  .hero {
    border-bottom: 2px solid ButtonText;
  }

  .hero-overlay {
    display: none;
  }

  .hero-title,
  .hero-subtitle {
    text-shadow: none;
  }
}
