body {
  margin: 0;
  height: 100%;
  overflow: hidden;
  font-family: Arial;
}

#bgVideo {
  position: fixed;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hotspot {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  /*background: rgba(255,255,255,0.2);*/
  background: transparent;
  border: 1px solid transparent;
  cursor: pointer;
}

#modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
}

.hidden {
  display: none;
}

.modal-content {
  width: 85%;
  height: 85%;
  margin: 2.5% auto;

  background: transparent; /* 👈 clave */
  border-radius: 20px;
  overflow: visible;

  position: relative;
  display: flex;
  flex-direction: column;
}

.close {
  position: absolute;
  right: 20px;
  top: 10px;
  color: white;
  cursor: pointer;
  z-index: 10;
}

/*estilos zoom*/
#zoomContainer {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: transparent;
  border-radius: 20px;
}

#zoomImg {
  position: absolute;
  top: 50%;
  left: 50%;

  width: auto;
  height: auto;

  max-width: none;
  max-height: none;

  transform: translate(-50%, -50%) scale(1);

  cursor: grab;
}

#zoomContainer {
  touch-action: none;
  overflow: hidden;
  contain: layout paint;
}

/*#zoomImg {
  will-change: transform;
}*/

/* ICONOS */
.controls {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 10;
  display: flex;
  gap: 10px;
}

.center-text {
  z-index: 10;
}

.controls {
  z-index: 20;
}

.icon {
  width: 40px;
  height: 40px;
  border: 2px solid white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

/* imagen TEXTO CENTRADO */
.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
}

.img-text {
    display: flex;
    position: absolute;
    width: 100%;
    height: auto;
}

#modalBody {
  width: 100%;
  height: 100%;
}

/*Carrusel de imagenes*/
.carousel-container {
  position: relative;
  width: 100%;
  height: 100%;
}


/* TEXTO */
.overlay {
  position: absolute;
  color: white;
  font-weight: bold;
}

/* POSICIONES */
.prev {
  left: 20px;
}

.next {
  right: 20px;
}

/* HOVER PRO */
/* BOTONES */
.nav {
  width: 60px;
  height: 60px;

  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);

  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;

  color: white;
  font-size: 28px;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  transition: all 0.3s ease;
}

.nav:hover {
  transform: scale(1.1);
  background: rgba(0,0,0,0.9);
}

/* CARD */
.card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* HEADER AZUL */
.card-header {
  background: #0f4c6b;
  color: white;
  padding: 30px;
}

.card-header h1 {
  margin: 0;
  font-size: 40px;
}

.card-header span {
  font-weight: 300;
}

/* BODY */
.card-body {
  flex: 1;
  display: flex;
  position: relative;
  background: transparent;
}

/* CONTENEDOR IMAGEN */
.left {
  width: 100%;
  height: 100%;
  position: relative;
}

/* IMAGEN */
.carousel-img {
  width: 100%;
  height: 100%;
  background: #fff; /* 👈 mejora visual */
  border-radius: 20px;
}

/* TEXTO ENCIMA */
.overlay {
  position: absolute;
  color: white;
  font-weight: bold;
  pointer-events: none;
}
/*gradiente para modal imagen*/
.left-gradient {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%; /* ajusta intensidad */

  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.5) 40%,
    rgba(0,0,0,0.2) 70%,
    rgba(0,0,0,0) 100%
  );

  z-index: 5;
  pointer-events: none;
}

/* CONTROLES ABAJO CENTRADOS */
.controls-bottom {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 20px;
  z-index: 20;
}
/*CLOSE MODAL*/
.close {
  position: absolute;
  top: 20px;
  right: 20px;

  width: 50px;
  height: 50px;

  background: #b71c1c;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 50;
  cursor: pointer;
}

/*CSS LISTADO DE VIDEOS*/
.video-list-card {
  width: 90%;
  margin: auto;

  background: #eaeaea;
  border-radius: 25px;

  padding: 60px;
}

.video-title {
  font-size: 40px;
  font-weight: 300;
  margin-bottom: 40px;
}

.video-list {
  display: flex;
  flex-direction: column;
}

.video-item {
  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 0;
  border-bottom: 1px solid #bbb;

  cursor: pointer;
  transition: all 0.3s ease;
}

.video-item:hover {
  opacity: 0.6;
}

.video-name {
  font-size: 20px;
}

/* ICONO PLAY */
.play-icon {
  width: 40px;
  height: 40px;

  border: 1px solid #555;
  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 16px;
}

/* PLAYER */
.video-player-container {
  width: 100%;
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: center;
}

.video-player-container video {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.back-btn {
  position: absolute;
  top: 20px;
  left: 20px;

  background: rgba(0,0,0,0.6);
  color: white;

  border: none;
  padding: 10px 15px;
  border-radius: 8px;

  cursor: pointer;
  z-index: 20;
}

/*MODAL IMAGE BUTTOM*/
/*estilos*/
#imageButomCtn {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: transparent;
  border-radius: 20px;
}

#imgCtn {
  /*position: absolute;*/
  max-width: none;
  width: 100%;
  height: 100%;
  z-index: 1;
}