/**
 * video_section.css
 * Video Section (HeyGen) - zentriert, Play-Button
 * Upload nach: /media/css/video_section.css
 */

/* ========== VIDEO SECTION ========== */
.video-section {
  padding: 3rem 2rem;
}

.video-container {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  background: #000;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Play Button Overlay (if using custom video) */
.video-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;
  z-index: 5;
}

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

.video-play-button {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  box-shadow: 0 10px 30px rgba(201,165,92,0.4);
}

.video-play-overlay:hover .video-play-button {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(201,165,92,0.6);
}

.video-play-button::after {
  content: '';
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 25px;
  border-color: transparent transparent transparent white;
  margin-left: 5px;
}

/* Hide overlay when video is playing */
.video-wrapper.playing .video-play-overlay {
  display: none;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .video-section {
    padding: 3rem 1rem;
  }

  .video-container {
    border-radius: 15px;
  }

  .video-play-button {
    width: 60px;
    height: 60px;
  }

  .video-play-button::after {
    border-width: 12px 0 12px 20px;
  }
}
