/* ==========================
   VIDEO CONTAINER Y VIDEO
========================== */



.video-container {
  width: 100%;
  height: 100vh; /* Por defecto: pantalla completa (notebook) */
  position: relative;
  overflow: hidden;
  background-color: black;
}

.video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover; /* En desktop: rellena la pantalla */
  object-position: center;
  display: block;
}

/* Para móviles y tablets: altura visible segura usando var(--vh) */
@media (max-width: 1024px) {
  .video-container {
    height: var(--vh, 100vh);
  }
}

/* En móviles y tablets en VERTICAL: mostrar todo el video */
@media (max-width: 1024px) and (orientation: portrait) {
  .video-bg {
    object-fit: contain;
  }
}

/* En tablets en HORIZONTAL: mostrar todo el video sin recorte */
@media (min-width: 769px) and (max-width: 1024px) and (orientation: landscape) {
  .video-bg {
    object-fit: contain;
  }
}

/* ==========================
   LOGO SOBRE EL VIDEO
========================== */

.logo-overlay {
  display: none;
}

/* Mostrar y posicionar solo en móviles y tablets */
@media (max-width: 1024px) {
  .logo-overlay {
    position: fixed;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    display: block;
    text-align: center;
    max-width: 90vw;
    transition: opacity 0.5s ease;
  }

  .logo-overlay img {
    max-width: 260px;
    height: auto;
  }
}
/* Posición del logo según orientación */
@media (orientation: portrait) {
  .logo-overlay {
    bottom: 120px;
  }
}

@media (orientation: landscape) and (max-width: 1024px) {
  .logo-overlay {
    bottom: 200px;
  }
}

/* ==========================
   FLECHA ANIMADA
========================== */

.arrow-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  color: white;
  opacity: 0;
  transition: opacity 1s ease;
  animation: bounce 2s infinite;
  z-index: 10;
}

/* Animación rebote flecha */
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, -10px); }
}
