/* Estilo general pagina EVENTOS */

html, body {
  overflow-x: hidden;
}

.fondo {
    background-color: #000000;
    color: #d4af37;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 300;
}
h1 {
    text-align: center;
    font-size: 3rem;
    letter-spacing: 3px;
}

.txtTituloEventos{
    color:#b89b5e;
}

.hrEventos{
    background-color:#b89b5e;
    height: 4px;
}

.entorno-icono {
  font-size: 3.2rem;
  color: #cea46a;
  transition: all 0.3s ease;
}
.entorno-icono:hover {
  transform: scale(1.4) rotate(15deg);
  color: #cea46a;
}


/* Estilo 1ER bloque: EVENTOS EN EL TEATRO */

/* Imagen fondo telón para MÓVILES */
.fondoTelonMovil{
    background-image: url(../img/eventos/evnt_telonMovil.png);
    background-repeat: no-repeat;
    background-position: top;
    width: 100%;
    height: 10%;
}

/* Imagen fondo telón para RESTO DISPOSITIVOS */
.fondoTelon {
    background-image: url(../img/eventos/evnt_telon.png);
    background-repeat: no-repeat;
    background-position: top center;   /* 👈 clave */
    background-size: 100% auto;        /* 👈 mantiene proporción */
    width: 100%;
    min-height: 125vh;
    position: relative;
}

.colorFondoTelonEventos{
    background-color: #1a1a1a;
}

.bloqueInfo-MD-XL {
    position: absolute;
    top: 62%;              /* 👈 bajas el bloque */
    left: 5%;
    transform: translateY(-50%);
}
/* Termina estilo 1ER bloque: EVENTOS EN EL TEATRO */


/* PARALLAX imagen público */
.parallax-eventos{
    background-image: url(../img/eventos/event_publico2.jpg);
    background-image: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 800px;
    background-attachment: fixed;
}


.parallax-piano{
    background-image: url(../img/index/idx-parallaxpiano.jpg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 800px;
    background-attachment: fixed;
}

.parallax-concierto{
    background-image: url(../img/parallax/previoconcierto.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 800px;
    background-attachment: fixed;
}











/* Estilo 2º bloque: EXPERIENCIAS EN EL FILARMÓNICA */

/* Estilo de CARDS con capa superpuesta que sube */

/* Estilo de la caja */
.card-hover{
    border-radius: 3px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

/* Estilo de la imagen de la caja */
.card-hover img{
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: transform 0.4s ;
}

/* Efecto HOVER para agrandar la imagen */
.card-hover:hover img{
    transform: scale(1.1);
}

.card-hover:hover .card-overlay{
    bottom: 0;
}

/* Estilo de la capa superpuesta */
.card-overlay{
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,1), rgba(0,0,0,0.7));
    color: #b89b5e;
    padding: 22px;
    display: flex;
    flex-direction: column;
    text-align: justify;
    transition: all 0.5s ease;
    place-content: center;
}

/* Tamañp de texto de la capa superpuesta */
.card-overlay p{
    font-size: 2vh;
}

/* Estilo de botón de la capa superpuesta */
.boton-oro-metalico {
    background: linear-gradient(45deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    color: #000000;
    padding: 4px 6px;
    border: 1px solid #996515;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    font-size: small;
    cursor: pointer;
    text-shadow: 0px 1px 0px rgba(255,255,255,0.5); /* Brillo en el texto */
    transition: transform 0.2s;
}


/* Estilo de efecto del botón de la capa superpuesta */
.boton-oro-metalico:hover {
    transform: scale(1.05); /* Pequeño aumento de tamaño */
    background: linear-gradient(45deg, #AA771C, #FBF5B7, #B38728, #FCF6BA, #BF953F);
}
/* Termina estilo 2º bloque: EXPERIENCIAS EN EL FILARMÓNICA */



/* Estilo bloque: ESPECTÁCULOS PREVIOS */

/* Imagen de fondo (butacas) contenedor Espectáculos previos */
.fondoEspectaculosPrevios{
    margin:0;
    padding:0;

    background-image: url(../img/eventos/evnt_bannerbutacas.png);
    background-repeat:no-repeat;
    background-position:center top;
    background-size:cover;

    width:100%;
    min-height:600px;

    display:flex;
    justify-content:center;
    align-items:flex-start;
}
@media (max-width:1024px) {

    .fondoEspectaculosPrevios {
        background-position: 51% top;
    }

    .contenedor-botones {
        margin-top:110px;
        transform:none;
    }

}
 /*estilo general contenedor botones*/
        .contenedor-botones {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 15px;
            /* Espacio entre botones */
            padding: 20px;
            margin-top:195px;
        }
        
        /* Tamaños progresivos botones (de menor a mayor) */
        .btn-1 {
            width: 100px;
            padding: 14px;
            font-size: 14px;
        }

        .btn-2 {
            width: 130px;
            padding: 14px;
            font-size: 15px;
        }

        .btn-3 {
            width: 160px;
            padding: 14px;
            font-size: 16px;
        }

        .btn-4 {
            width: 190px;
            padding: 14px;
            font-size: 17px;
        }

        .btn-5 {
            width: 225px;
            padding: 3px;
            font-size: 17px;
        }
        /* Ajuste tablet */
@media (max-width:1024px) {

    .contenedor-botones {
        margin-top:110px;
        transform:translateX(-10px);
    }

}
/* Ajuste móvil */
@media (max-width:576px) {

    .contenedor-botones {
        margin-top:110px;
        transform:translateX(-5px);
    }

}
@media (max-width:1024px) {

    .btn-1 {
        transform: translateX(-2px);
    }

    .btn-2 {
        transform: translateX(-4px);
    }

    .btn-3 {
        transform: translateX(-6px);
    }

    .btn-4 {
        transform: translateX(-8px);
    }

    .btn-5 {
        transform: translateX(-10px);
    }

}

        /* fin botones*/

/* Título Espectáculos previos */
.titulo-gala {
    text-align: center;
    font-size: 4rem;
    font-weight: 900;
    margin: 80px 0 30px 0;
    position: relative;
    font-family: fuenteEventos;

/* Degradado dorado animado del título */
    background: linear-gradient( 90deg,
                #b8860b,
                #ffd700,
                #fff8dc,
                #ffd700,
                #b8860b);

    background-size: 300%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brillo 3s linear infinite, aparecer 1s ease forwards;
    text-shadow:
        0 0 10px rgba(255,215,0,0.8),
        0 0 20px rgba(255,215,0,0.6),
        0 0 40px rgba(255,215,0,0.4);
}
/* Adaptación tablet */
@media (max-width: 768px){

    .titulo-gala{
        font-size: 3rem;
    }

}
/* Adaptación móvil */
@media (max-width: 576px){

    .titulo-gala{
        font-size: 2.5rem;
    }

}
/* Título de las categorías de Espectáculos previos */
.subtitulo-gala {
    color:#ffd700; /* Color interior */
    -webkit-text-stroke-width: 1px; /* Grosor del trazo */
    -webkit-text-stroke-color: black; /* Color del trazo */
    text-align: center;
    font-size: 2.5rem;
    font-weight: 1000;
    margin: 80px 0 30px 0;
    position: relative;
    font-family: fuenteEventos;
    text-shadow: 0 0 8px #ffe850;
    
/* Degradado dorado animado */
    background: linear-gradient( 90deg,
                                #b8860b,
                                #ffd700,
                                #fff8dc,
                                #ffd700,
                                #b8860b);
    background-size: 300%;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: brillo 6s linear infinite, aparecer 3s ease forwards;
    text-shadow:
        0 0 10px rgba(255,215,0,0.8),
        0 0 15px rgba(255,215,0,0.6),
        0 0 20px rgba(255,215,0,0.4);
}

/* Subrayado de los títulos */
.subtitulo-gala::after {
    content: "";
    display: block;
    width: 1200px;
    height: 2px;
    margin: 20px auto 0;
    background: linear-gradient(to right, transparent, #ffd700, transparent);
    box-shadow: 0 0 8px #ffd700;
}

/* Animación del brillo metálico */
@keyframes brillo {
    0% { background-position: 0%; }
    100% { background-position: 600%; }
}

/* Animación de entrada */
@keyframes aparecer {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 

/* Marco de la card Espectáculos previos */
.movie-card {
    background-color: #111;
    border: 3px solid #d4af37;
    transition: 0.3s;
    padding: 2px;
}

/* Imagen Espectáculos previos */
.movie-card img{
    width: 100%;
    height: 400px;
    object-fit: contain;
}
/* Efecto hover CARD Espectáculos previos */
.movie-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #d4af37;
}

/* Nombre del espectáculo */
.movie-title {
    color: #d4af37;
    font-size: 1.3rem;
    font-family: fuenteEventos;
    font-weight: bold;
    margin-top: 12px;
}

/* Texto inferior del espectáculo */
.movie-info {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 1.1rem;
    color: #d4af37;
}

/* Fecha del espectáculo */
.movie-date {
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 0.9rem;
    color: #d4af37;
}


/* Bloque para vídeos en modales subidos a Youtube*/
.video-container-360{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: black;
    max-width: 100vw;
    height: 50vh;
}

/* Iframe */
.video-frame{
    width: 100%;   
    display: none;            
    height: 100%;
}

/* Botón play */
.custom-play-button{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.custom-play-button:hover{
    transform: translate(-50%, -50%) scale(1.1);
}

/* Triángulo play */
.play-icon{
    width: 0;
    height: 0;
    border-left: 25px solid white;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;
    margin-left: 30px;
}
/*Fin bloque para vídeos en modales subidos a Youtube*/



/* Estilo de indicadores de CARROUSEL */

/* Color de los indicadores inactivos */
.carousel-indicators button {
  background-color: #b89b5e;
  opacity: 0.5;
}

/* Color del indicador activo */
.carousel-indicators .active {
  background-color: #b89b5e;
  opacity: 1;
}

/* Color de los controles iconos */
.carousel-control-prev-icon {
    color: #b89b5e;
}
.carousel-control-next-icon {
    color: #b89b5e;
}

 .colordorado .carousel-control-prev-icon,
            .colordorado .carousel-control-next-icon {
                     filter: invert(65%) sepia(80%) saturate(600%) hue-rotate(5deg) brightness(105%);
            }


/* Parallax vídeo APLAUSOS */
.parallax-video{
    position: relative;
    height: 100vh;
    overflow: hidden;
}

/* Vídeo */
.parallax-video video{
    position: absolute;
    top: -30%;
    left: 0;
    width: 100%;
    height: 160%;
    object-fit: cover;
    transform: translateY(0);
}


/* Estilo Modales */
#modalAccesibilidad ul{
    text-align: left;
}

.titCardsAccesibilidad{
    font-size: medium;
    text-align: center;
    font-weight: bold;
    
}

.txtCardsAccesibilidad{
    font-size: small;
    text-align: center;
}


 /*CSS MODIFICACION ISA*/

 /* Ajuste de altura del carrusel para que luzca bien */
        #miCarrusel .carousel-item {
            height: 90vh;
            min-height: 850px;
        }

        #miCarrusel .carousel-item img {
            object-fit: cover;
            height: 100%;
            width: 100%;
        }



        /* ANIMACIÓN 1: Card de texto que aparece de arriba hacia abajo con opacidad */
        @keyframes aparecerArriba {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }

            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .animated-card {
            animation: aparecerArriba 1.5s ease-out forwards;
        }

        /* ANIMACIÓN 2: Texto + botón que entra desde la izquierda */
        @keyframes entrarIzquierda {
            from {
                opacity: 0;
                transform: translateX(-100px);
            }

            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .animated-text-btn {
            animation: entrarIzquierda 1.8s ease-out forwards;
        }



        @media (max-width: 767px) {

            /* Controla la altura del carrusel en móvil */
            .carousel-custom-img {
                height: 250px;
                object-fit: cover;
            }

            /* Reduce el título principal */
            .carousel-caption h5 {
                font-size: 0.85rem;
                /* Tamaño compacto para móvil */
                margin-bottom: 0.3rem;
            }

            /* Reduce los párrafos o subtítulos */
            .carousel-caption p {
                font-size: 0.85rem;
                /* Texto secundario pequeño */
                margin-bottom: 0.5rem;
            }

            /* Reduce el tamaño del botón y su espaciado */
            .carousel-caption .btn {
                font-size: 0.95rem;
                padding: 0.2rem 0.2rem;

            }
        }

        .card {
            /* Transición suave para el tamaño y la sombra */
            transition: transform 0.3s;

        }

        .card:hover {
            /* Escala la tarjeta  */
            transform: scale(1.07);
            /* Añade una sombra  */
            box-shadow: 0 0 15px #b68d05;
        }

        /*mensaje subir titulos eventos*/
      

        @font-face {
    font-family: fuenteEventos;
    src: url(../fonts/RobotoCondensed-Light.ttf);
}

/*ultimo bloque*/

    /* Definir un tamaño fijo para el contenedor de las imágenes */
   #carrouselIsa .carousel-inner .carousel-item {
     height: 100vh;
      /* Ajusta esta altura como prefieras (ej: 600px, 70vh, etc.) */
      background-color: #000;
      /* Fondo negro por si la imagen tarda en cargar */
    }

    /* Forzar a todas las imágenes a llenar el espacio sin deformarse */
   #carrouselIsa .carousel-inner .carousel-item img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      /* Recorta los bordes sobrantes para mantener la proporción */
      object-position: center;
      /* Centra la imagen horizontal y verticalmente */
    }

    /* Centrar el texto vertical y horizontalmente en la pantalla */
  #carrouselIsa  .carousel-caption {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      bottom: auto;
      text-align: center;
      z-index: 2;
      width: 85%;
      /* Permitimos que el texto use más espacio libre */

      /* Quitamos fondos y rellenos pesados */
      background: none !important;
      backdrop-filter: none !important;
      -webkit-backdrop-filter: none !important;
      box-shadow: none !important;
      padding: 0;

      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      overflow: visible !important;
    }

    /* Super-contraste para títulos y párrafos sin usar fondos gráficos */
    .carousel-caption h2,
    .carousel-caption p {
      /* 1. Sombra densa multidireccional: Crea un contorno oscuro difuminado detrás del texto */
      text-shadow:
        0px 0px 8px rgba(0, 0, 0, 0.8),
        2px 2px 4px rgba(0, 0, 0, 0.9),
        -1px -1px 0px rgba(0, 0, 0, 0.4);

      /* 2. Micro-borde inteligente (Mejora drásticamente la lectura en textos claros) */
      -webkit-text-stroke: 0.5px rgba(0, 0, 0, 0.5);

      /* 3. Grosor: Los textos con un grosor medio/alto se leen mucho mejor sobre fotos */
      font-weight: 700;
    }

    /* Si tienes párrafos con letra muy delgada, dales un poco más de cuerpo */
    .carousel-caption p {
      font-weight: 500;
      font-size: 1.15rem;
      /* Un tamaño ligeramente mayor ayuda a compensar la falta de fondo */
    }


    /* Hacer que la franja lateral de Bootstrap sea transparente a los clics/hover */
   #carrouselIsa .carousel-control-prev,
    .carousel-control-next {
      pointer-events: none;
      width: 15%;
      /* Mantiene el área de clic original de Bootstrap si se desea, pero no detecta el hover */
    }

    /* Hacer que SOLO el icono de la flecha (y un pequeño margen extra) reaccione al cursor */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
      pointer-events: auto;
      /* Activa el hover y clic solo aquí */
      cursor: pointer;
      padding: 25px;
      /* Amplía un poco la zona táctil interna alrededor de la flecha */
      box-sizing: content-box;
    }

    /* === Ajuste del círculo flotante === */
    .cursor-preview {
      display: none;
      position: fixed;
      width: 200px !important;
      height: 200px !important;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
      border: 3px solid white;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      pointer-events: none;
      z-index: 2;
      /* Se dibuja por detrás de la flecha blanca para que no la tape */
      transform: translate(-50%, -50%);
      transition: opacity 0.2s ease;
    }

    /* Forzar que el botón mantenga un margen correcto abajo */
    .carousel-caption .btn {
      margin-top: 15px;
    }

    /* Animación: Texto que baja */
    .active .anim-bajar {
      opacity: 0;
      animation: bajar 1s ease-out forwards;
    }

    /* Animación: Texto que entra por la izquierda */
    .active .anim-izquierda {
      opacity: 0;
      animation: entrarIzquierda 1s ease-out 0.3s forwards;
    }

    @keyframes bajar {
      from {
        transform: translateY(-100px);
        opacity: 0;
      }

      to {
        transform: translateY(0);
        opacity: 1;
      }
    }

    @keyframes entrarIzquierda {
      from {
        transform: translateX(-100px);
        opacity: 0;
      }

      to {
        transform: translateX(0);
        opacity: 1;
      }
    }

    /* === Efecto de círculo fijo sobre la flecha === */
    .carousel-control-prev,
    .carousel-control-next {
      z-index: 2;
      /* Asegura que las flechas queden por encima del fondo */
    }

    /* --- Efecto de previsualización en la flecha (SOLO PARA PANTALLAS GRANDES) --- */
    @media (min-width: 768px) {

      .carousel-control-prev,
      .carousel-control-next {
        width: 15%;
        /* Dar área suficiente para el hover */
      }

      .preview-circle {
        display: none;
        position: fixed;
        width: 100px;
        height: 100px;
        border-radius: 50%;
        background-size: cover;
        background-position: center;
        border: 3px solid white;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        pointer-events: none;
        /* No interfiere con el clic de la flecha */
        z-index: 9999;
      }

      /* Mostrar el círculo solo al hacer hover en la flecha */
      .carousel-control-prev:hover .preview-circle,
      .carousel-control-next:hover .preview-circle {
        display: block;
      }

      
      /* --- Efecto de previsualización en la flecha (SOLO PARA PANTALLAS GRANDES) --- */
      @media (min-width: 768px) {

        .carousel-control-prev,
        .carousel-control-next {
          width: 15%;
          /* Dar área suficiente para el hover */
        }

        .preview-circle {
          display: none;
          position: fixed;
          width: 100px;
          height: 100px;
          border-radius: 50%;
          background-size: cover;
          background-position: center;
          border: 3px solid white;
          box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
          pointer-events: none;
          /* No interfiere con el clic de la flecha */
          z-index: 9999;
        }

        /* Mostrar el círculo solo al hacer hover en la flecha */
        .carousel-control-prev:hover .preview-circle,
        .carousel-control-next:hover .preview-circle {
          display: block;
        }

        /* Ajustar posición del círculo según la flecha */
        .carousel-control-prev:hover .preview-circle {
          left: 10%;
        }

        .carousel-control-next:hover .preview-circle {
          right: 10%;
        }
      }

      /* --- ESTILO PARA MÓVILES (Ocultar por defecto) --- */
      @media (max-width: 767.98px) {
        .preview-circle {
          display: none !important;
        }
      }
    }

    /* --- ESTILO PARA MÓVILES (Ocultar por defecto) --- */
    @media (max-width: 767.98px) {
      .preview-circle {
        display: none !important;
      }
    }

    .cursor-preview {
      display: none;
      position: fixed;
      width: 80px;
      /* Tamaño ligeramente menor para no tapar toda la pantalla */
      height: 80px;
      border-radius: 50%;
      background-size: cover;
      background-position: center;
      border: 1px solid white;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      pointer-events: none;
      /* Evita interferencias al hacer clic */
      z-index: 2;
      /* Se dibuja justo por detrás del icono blanco de Bootstrap */
      transform: translate(-50%, -50%);
      transition: opacity 0.2s ease;
    }

    /*oculta los controles. Comprobar en tablet*/