/* ==========================================================================
   Hero Component
   ========================================================================== */

.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-color: var(--color-gray-100);
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero { min-height: 600px; }
}

@media (min-width: 1024px) {
  .hero { min-height: 700px; }
}

/* Headline Band */
.hero__headline-band {
  position: relative;
  z-index: 2;
  background-color: var(--color-blue);
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
  text-align: center;
}

.hero__headline {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

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

/* Media */
.hero__media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero__video,
.hero__image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-green-light) 50%, var(--color-pink-light) 100%);
  background-size: 200% 200%;
  animation: hero-gradient-shift 8s ease infinite;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes hero-gradient-shift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.hero[data-playing="false"] .hero__video-placeholder {
  animation-play-state: paused;
}

.hero__video-placeholder-text {
  font-size: var(--font-size-lg);
  color: var(--color-gray-600);
  font-weight: var(--font-weight-medium);
}

/* Content */
.hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100% - 60px);
  padding: var(--space-8) var(--space-4);
}

@media (min-width: 768px) {
  .hero__content { padding: var(--space-12) var(--space-8); }
}

.hero__title {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-navy);
  margin-bottom: var(--space-4);
  max-width: 600px;
}

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

@media (min-width: 1024px) {
  .hero__title { font-size: var(--font-size-5xl); }
}

.hero__subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-6);
  max-width: 500px;
}

.hero__cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
}

/* Play/Pause Controls */
.hero__controls {
  position: absolute;
  bottom: var(--space-4);
  right: var(--space-4);
  z-index: 3;
}

.hero__play-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: var(--color-navy);
  box-shadow: var(--shadow-md);
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.hero__play-pause:hover {
  background-color: var(--color-white);
  transform: scale(1.05);
}

.hero__play-pause:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring-shadow), var(--shadow-md);
}

.hero__play-pause-icon {
  width: 24px;
  height: 24px;
}

.hero__play-pause .icon-play { display: none; }
.hero__play-pause .icon-pause { display: block; }

.hero[data-playing="false"] .hero__play-pause .icon-play { display: block; }
.hero[data-playing="false"] .hero__play-pause .icon-pause { display: none; }
