.video-section {
  position: relative;
  width: 100vw;
  height: 85vh;
  overflow: hidden;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overlay-box {
  position: absolute;
  height: 200px;
  width: 240px;
  bottom: 50px;
  left: 20px;
  /* background: rgba(180, 180, 180, 0.4); */
  background: rgba(180, 3, 76, 0.3);
  padding: 20px;
  font-size: 64px;
  z-index: 2;
  color: rgb(158, 158, 158);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
}

.overlay-box h2,
.overlay-box p {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  display: block;
  text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.7); /* ✅ Subtiele schaduw */
}

.overlay-box h2 {
  font-size: 90px;
  font-weight: 400;
  margin-left: -2px;
  color: rgb(255, 255, 255);
  text-shadow: 2px 2px 4px rgba(55, 55, 55, 0.6);
}

.for-you {
  font-size: 40px;
  font-weight: 500;
  color: rgb(255, 255, 255);
}

.typing {
  font-size: 18px;
  font-weight: 400;
  color: rgb(255, 255, 255);
  padding-top: 5px;
  white-space: nowrap;
  text-shadow: 1px rgba(55, 55, 55, 0.5); /* ✅ Lichte schaduw */
}

/* popup */
.phone-popup {
  position: absolute;
  left: -190px;
  bottom: -350px;
  width: 350px;
  opacity: 0;
  transform: translateX(0);
  transition: transform 0.8s ease-out, opacity 0.8s ease-out;
  z-index: 10;
}

.phone-popup img {
  width: 100%;
  height: auto;
}

/* ✅ Wanneer de class 'show' wordt toegevoegd, komt de popup smooth binnen */
.phone-popup.show {
  transform: translateX(180px); /* Schuift in naar rechts */
  opacity: 1;
}

/* ✅ Cursor blijft knipperen */
.cursor {
  font-weight: bold;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* ✅ Medium schermen (tablets) */
@media (min-width: 601px) and (max-width: 900px) {
  .video-section,
  .background-video {
    height: 60vh;
  }

  .overlay-box {
    height: 160px;
    width: 200px;
    bottom: 40px;
    left: 15px;
    padding: 15px;
  }

  .overlay-box h2 {
    font-size: 70px;
  }

  .for-you {
    font-size: 30px;
  }

  .typing {
    font-size: 16px;
  }

  /* popup */
  .phone-popup {
    position: absolute;
    left: -190px;
    bottom: -10px;
    width: 250px;
    opacity: 0;
    transform: translateX(0);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    z-index: 1000;
  }
}

/* ✅ Kleine schermen (mobiel) */
@media (min-width: 300px) and (max-width: 600px) {
  .video-section,
  .background-video {
    height: 50vh;
  }

  .overlay-box {
    height: 120px;
    width: 160px;
    bottom: 30px;
    left: 10px;
    padding: 10px;
  }

  .overlay-box h2 {
    font-size: 50px;
  }

  .for-you {
    font-size: 25px;
  }

  .typing {
    font-size: 14px;
  }
  .phone-popup {
    position: absolute;
    left: -190px;
    bottom: 0px;
    width: 150px;
    opacity: 0;
    transform: translateX(0);
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
    z-index: 1000;
  }
}
