/* Video Hero Header Styles */

.video-hero {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-hero-background {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
}

.video-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-hero-title {
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.video-hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;
  line-height: 1.4;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.video-hero-text p:last-child {
  margin-bottom: 0;
}

/* Responsive design */
@media (max-width: 840px) {
  .video-hero {
    height: 70vh;
  }

  .video-hero-title {
    font-size: 2rem;
  }

  .video-hero-subtitle {
    font-size: 1.25rem;
  }

  .video-hero {
    height: 30vh;
    min-height: unset;
  }

  .video-hero-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    transform: translate(-50%, -50%);
    object-fit: cover; /* crop edges */
    object-position: center; /* keep center visible */
  }
}

@media (max-width: 480px) {
  .video-hero {
    height: 60vh;
  }

  .video-hero-title {
    font-size: 1.75rem;
  }

  .video-hero-subtitle {
    font-size: 1.125rem;
  }
}

/* Accessibility - respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .video-hero-background {
    animation: none;
  }
}
