/* =========================
   SLIDE 2 – VIDEO HERO
========================= */

#slide-2 {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================
   BACKGROUND IMAGE
========================= */

#slide-2 .video-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/vidframe.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  z-index: 0;
}

/* =========================
   DARK OVERLAY
========================= */

#slide-2 .video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* =========================
   PLAY BUTTON
========================= */

#slide-2 .video-play-btn {
  position: relative;
  z-index: 2;

  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: none;

  background: #a10f0f;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transition: transform 0.3s ease, background 0.3s ease;
}

#slide-2 .video-play-btn:hover {
  transform: scale(1.1);
  background: #c41414;
}

/* =========================
   FULLSCREEN VIDEO EMBED
========================= */

#slide-2 #videoEmbed {
  position: absolute;
  inset: 0;
  z-index: 3;

  display: none;
  background: #000;
}

#slide-2 #videoEmbed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Hide background when video plays */
#slide-2.video-playing .video-bg,
#slide-2.video-playing .video-overlay,
#slide-2.video-playing .video-play-btn {
  opacity: 0;
  pointer-events: none;
}

/* =========================
   MOBILE
========================= */


@media (max-width: 768px) {
  #slide-2 {
    height: auto;
    min-height: 60vh;
  }

  #slide-2 .video-bg {
    background-size: cover;
    background-position: center top;
  }

  #slide-2 .video-play-btn {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }
}