/* Video Promo Styles */

.video-promo-section {
  padding: var(--spacing-2xl) 0;
  background: var(--color-dark);
}

.video-promo-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}

.video-promo-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  background: #000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-promo-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play button overlay */
.video-promo-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 10;
}

.video-promo-play-overlay:hover {
  background: rgba(0, 0, 0, 0.4);
}

.video-promo-play-overlay svg {
  width: 80px;
  height: 80px;
  color: white;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.video-promo-play-overlay:hover svg {
  transform: scale(1.1);
}

/* Hero replacement styles */
.hero-video-replacement {
  width: 100%;
  max-width: 600px;
}

.hero-video-replacement .video-promo-container {
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Loading state */
.video-promo-player[poster] {
  background-size: cover;
  background-position: center;
}

/* Above hero positioning */
.video-promo-section:first-child {
  padding-top: var(--spacing-xl);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .video-promo-section {
    padding: var(--spacing-xl) 0;
  }

  .video-promo-container {
    border-radius: var(--radius-lg);
  }

  .video-promo-play-overlay svg {
    width: 60px;
    height: 60px;
  }

  .hero-video-replacement {
    max-width: 100%;
    padding: 0 var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .video-promo-play-overlay svg {
    width: 48px;
    height: 48px;
  }
}
