/* =====================  Video Popup (scope = #videoPopup)  ===================== */

/* Boyut değişkenleri */
:root {
  --video-width: 640px;   /* px, %, vw... */
  --video-height: 360px;  /* px, %, vh... */
}

/* Kaplama */
#videoPopup {
  position: fixed;
  inset: 0;
  display: none;                /* JS açıp kapatır */
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  z-index: 9999;
}

/* Kapat butonu */
#videoPopup .popup-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
  cursor: pointer;
}

/* İç kutu */
#videoPopup .popup-content {
  background: #fff;
  border-radius: 10px;
  width: var(--video-width);
  max-width: 90%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

/* Video */
#videoPopup video {
  display: block;               /* sadece popup içindeki video */
  width: 100%;
  height: var(--video-height);
}

/* (İsteğe bağlı) Thumbnail küçük video / poster */
.video-thumb {
  width: 320px;
  height: 172px;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,.15);
  object-fit: cover;
}

/* =====================  /Video Popup ===================== */
