  :root{
  --negro:#0f0f0f;
  --negro-suave:#111;
  --dorado:#b89b5e;
  --gris:#cfcfcf;
}

/* TIPOGRAFÍA GENERAL */
body {
  font-family: fuenteEventos; 
  background: #f8f6f2;
  color: #222;
}
  
html, body {
  overflow-x: hidden;
}
.darkbackground{
  background-color: rgb(25, 25, 25);
}

.doradofilarmoniafondo{
    background-color:#b08d57;
}

.main-title{
  color: white;
  margin-bottom:2%;
}

.textoindex{
  font-size: 15pt;
  color: rgb(249, 244, 238);
  font-family: fuenteEventos; 
  
}

/* TÍTULOS */
.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.act-title {
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 2rem;
  color: var(--dorado);
  margin-bottom: 10px;
}

.lead {
  font-size: medium;
  font-style: italic;
}

/* BOTÓN */

 .btn-recorrido {
    border: 2px solid #b08d57;
    color: #b08d57;
    font-weight: bold;
    background: black;
    transition: all .3s ease;
  }

.btn-recorrido:hover {
  background: var(--dorado);
  color: white;
}


/* CURIOSIDADES */
.curio-card {
  background: white;
  padding: 25px;
  border-radius: 8px;
  border: 1px solid #e5e2dc;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.curio-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--dorado);
}

.curio-card p {
  font-size: 0.95rem;
  color: #444;
}

.curio-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.1);
}

/* EFECTO HOVER CON IMAGEN */
.curio-hover {
  position: relative;
  overflow: hidden;
}

.curio-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.curio-hover:hover .curio-img {
  opacity: 1;
}

/* MEMORIAL */
.memorial-card {
  margin: 0 auto;
  max-width: 600px;
  position: relative;
  padding: 0;
  overflow: hidden;
  border: none;
  height: 100%;
  min-height: 240px;
  max-height: 280px;
  aspect-ratio: 16 / 9;
  
  
}

.memorial-card img {
  object-position: center 10%;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
}

.memorial-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7),
    rgba(0, 0, 0, 0.4),
    rgba(0, 0, 0, 0.2)
  );
}

.memorial-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 30px;
  z-index: 2;
}

.memorial-content h4 {
  color: #e0c48f;
  font-size: 1rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.memorial-content p {
  color: white;
  font-size: 0.95rem;
  line-height: 1.5;
  max-width: 380px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.memorial-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.75),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.2)
  );
}

/* BLOQUE ESCÉNICO */
.bloque-escenico {
  padding: 40px 0;
  position: relative;
}

.bloque-escenico::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 10%;
  bottom: 10%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--dorado), transparent);
  opacity: 0.4;
}

.contenido-escena {
  max-width: 480px;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .bloque-escenico::before {
    display: none;
  }
}
.flip-card {
  width: 100%;
  max-width: 500px;
  aspect-ratio: 4 / 3;
  margin: auto;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  transition: transform 2s ease;
}

.flip-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 2s ease;
}

.letraPeque2 {
  position: absolute;
  bottom: 5px;
  left: 5px;
  color: white;
  background: rgba(0,0,0,0.4);
  padding: 2px 5px;
  border-radius: 3px;
  font-size: 0.8rem;
}


/*parallax*/

  
    
.parallax-teatro{
   background-image: url("../img/parallax/flautasantigua.webp");
   background-repeat: no-repeat;
   background-position: center;
   background-size: cover;
   min-height: 800px;
   background-attachment: fixed;
   display: flex;
   align-items: center;
   justify-content: center;
}

    .parrallax-teatro2 {
      background-image: url("../img/parallax/teatromujeres.webp");
      background-repeat: no-repeat;
      background-position: center;
      background-size: cover;
      min-height: 800px;
      background-attachment: fixed;
      display: flex;
      align-items: center;
      justify-content: center;
    }

      .texto-overlay {
         position: absolute;
         top: 50%;
         left: 50%;
         transform: translate(-50%, -50%);
         font-size: 20px;
         font-weight: bold;
         text-align: center;
         background: rgba(0, 0, 0, 0.7);
         /* opcional: fondo oscuro */
         padding: 10px;
         border-radius: 9px;
      }

      .texto-overlay a, .texto-overlay  button {
         text-decoration: none;
         color: rgb(228, 190, 67);
      }

      .texto-overlay  button {
        font-weight: bold;
      }

      .imagen-con-texto {
         position: relative;
      }

      .imagen-con-texto img {
         width: 100%;
         display: block;
      }
/* Estilo del modal (fondo oscuro) */

.cerrar {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color:black;
}

/* RUTA HISTÓRICA */
.ruta {
  opacity: 0;
  transform: translateY(10px);
  text-align: center;
  animation: fadeUp 0.8s ease forwards, tracking 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tracking {
  from {
    letter-spacing: 0px;
    opacity: 0;
  }
  to {
    letter-spacing: 3px;
    opacity: 1;
  }
}

/* modales videos youtube*/
.video-container-360{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: black;
    max-width: 100vw;
    height: 80vh;
}
/* 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 videos en modales subidos a youtube*/

      .comparador{
    position:relative;
    max-width:950px;
    margin:40px auto;
    overflow:hidden;
}

/* ambas imágenes ocupan exactamente el mismo espacio */

.img-base,
.img-superior img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

/* capa superior */

.img-superior{
    position:absolute;
    top:0;
    left:0;
    width:50%;/*oculto-muestra*/
    height:100%;
    overflow:hidden;
}

/* barra deslizante */

.indicador{
    position:absolute;
    top:0;
    left:50%;/*colocar lo mismo que width img-superior*/
    width:4px;
    height:100%;
    background:white;
    cursor:ew-resize;
}

/* icono */

.indicador::before{
    content:"↔";
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    background:black;
    color:white;
    padding:6px 10px;
    border-radius:20px;
}