/**
 * 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(--text-inverse);
  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(--spacing-lg);
  max-width: 800px;
}

.hero-title {
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-bottom: var(--spacing-sm);
  text-shadow: var(--hero-text-shadow);
}

.hero-subtitle {
  font-size: var(--font-size-lg);
  font-weight: 300;
  text-shadow: var(--hero-text-shadow);
  opacity: 0.95;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (min-width: 768px) {
  .hero {
    height: 50vh;
  }

  .hero-title {
    font-size: 3.5rem;
  }

  .hero-subtitle {
    font-size: var(--font-size-xl);
  }
}

/* ============================================================================
   FORCED COLORS (Windows High Contrast Mode)
   ============================================================================ */

@media (forced-colors: active) {
  .hero {
    border-bottom: 2px solid ButtonText;
  }

  .hero-overlay {
    display: none;
  }

  .hero-title,
  .hero-subtitle {
    text-shadow: none;
  }
}
