/* ===================================== */
/* VIDEO FUNCTIONALITY STYLES           */
/* ===================================== */

/* Watch Video Button */
.btn-video {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 5px;
}

.btn-video:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

/* Video Modal Overlay */
.video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 3000;
  overflow-y: auto;
  padding: 50px 20px;
}

.video-modal.active {
  display: block;
}

/* Video Container */
.video-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;  /* THIS LINE WAS MISSING */
}

.video-container iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border: none;
  border-radius: 10px;
  display: block;
}

.video-container video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px;
  display: block;
}

/* Video Close Button */
.video-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: #ff4444;
  color: white;
  border: none;
  padding: 12px 25px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  border-radius: 5px;
}

.video-close:hover {
  background: #ff2222;
}