/* ESTILO GENERAL */
 body {
  font-family: fuenteEventos;
     
}

html, body {
  overflow-x: hidden;
}

/*tamaño imagenes carrusel inicio*/
.entorno {
  height: 400px;        
  width: 100%;
  object-fit: cover;    
}

/*Franjas elegantes con destellos dorados sutil*/
.franja-dorada-premium{
  background: linear-gradient(135deg, #111111 0%, #2c2212 50%, #111111 00%) !important;
  border-top: 2px solid #ca9f42;
  border-bottom: 2px solid #ca9f42;
  box-shadow: inset 0 0 20px rgba(202, 159, 66, 0.15);
}

.parallax-entorno{
    background-image: url(../img/entorno/parallax_entorno.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 800px;
    background-attachment: fixed;
}

.parallax-entorno0{
    background-image: url(../img/entorno/parallax_fachada.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 800px;
    background-attachment: fixed;
}




.color{color: grey ;} 

/* TARJETAS CON TEXTO QUE SUBE */
.card-hover, .card-lateral{
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card-lateral{
    cursor: pointer;
    position: relative;
  
}

.card-hover img{
    width: 100%;
    height: 1120px;
    object-fit: cover;
    transition: transform 0.4s ;
}
.card-lateral img{
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.4s ;
    
}

/* CAPA DEL TEXTO */
.card-overlay{
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.4));
    color: white;
    font-family: fuenteEventos;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.5s ease;
}
/* EFECTO HOVER */
.card-hover:hover img, .card-lateral:hover img{
    transform: scale(1.1);
}
.card-hover:hover .card-overlay{
    bottom: 0;
}
.card-lateral:hover .card-overlay{
    bottom: 0;
}

.custom-card {
      position: relative;
      overflow: visible;
      /* Permite que la imagen sobresalga */
      border-radius: 15px;
      transition: transform 0.3s, box-shadow 0.3s;
}

.custom-card:hover {
      transform: scale(1.03);
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.3);
}

.floating-img {
      position: absolute;
      top: -40px;
      /* Sobresale por arriba */
      right: -30px;
      /* Parte de la imagen se sale a la derecha */
      width: 300px;
      height: 200px;
      border-radius: 15px;
      object-fit: cover;
      transition: transform 0.3s, box-shadow 0.3s;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.custom-card:hover .floating-img {
      transform: translate(-10px, -10px) scale(1.05);
      box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4);
}

.animated-slide {
      opacity: 0;
      transform: translateX(30px);
      animation: slideIn 0.8s ease forwards;
}

.slide-1 {
      animation-delay: 0.2s;
}

.slide-2 {
      animation-delay: 0.5s;
}

    .slide-3 {
      animation-delay: 0.8s;
    }

    @keyframes slideIn {
      to {
        opacity: 1;
        transform: translateX(0);
      }
    }

    .espaciocard {
      height: 50px;
    }

    .card-title {
      font-family: 'Playfair Display', serif;
      font-weight: 700;
      color:#b89b5e;
     
    }

    .background-image {
      background-image: url(img/filarmonica1.png)
    }

    .img-hover-transparent {
      opacity: 1;
      transition: opacity 0.5s ease;
    }

    .img-hover-transparent:hover {
      opacity: 0.3;
      /* más bajo = más transparente */
    }

    .parallax {
      background-image: url(img/otra.png);
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      padding: 5rem 0;
    }


    /* Clase para el título "Filarmonica" en gris claro */
    .text-light-gray {
      color: #e0e0e0;
      font-weight: 600;
      letter-spacing: 1px;
    }

    /* Cards de transporte */
    .card-transport {
      border: none;
      border-radius: 12px;
      background-color: #ffffff;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
      transition: transform 0.2s ease, box-shadow 0.2s ease;
    }

    .card-transport:hover {
      transform: translateY(-5px);
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    }

    /* Botones */
    .btn-outline-danger {
      border-radius: 8px;
      padding: 0.375rem 0.75rem;
      font-size: 0.875rem;
    }

    /* Títulos y textos */
    .card-title {
     color: #b89b5e;
      font-weight: 600;
    }

    .card-text {
      color: #495057;
      font-size: 0.95rem;
    }

    /* Responsive: en móviles, texto un poco más pequeño */
    @media (max-width: 576px) {
      .card-title {
        font-size: 1.1rem;
      }

      .card-text {
        font-size: 0.9rem;
      }
    }

    .carousel-wrapper {
      overflow: hidden;
      border-radius: 15px;
      background-color: gray;
      box-shadow: 0 rgba(0, 0, 0, 0.5);
      padding: 0;
    }

    .carousel-track {
      display: flex;
      gap: 1.5rem;
      will-change: transform;
    }

    .carousel-item-custom {
      flex: 0 0 auto;
      width: 200px;

    }

    .image-box {
      position: relative;
      border: 1px solid #ccc;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
      transition: all 0.4s ease;
      filter: grayscale(100%);
      background-color: rgb(21, 55, 51);
      color: aliceblue;
    }

    /* capa encima de la imagen */
    .image-overlay {
      position: absolute;

      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      align-items: center;
      background: rgba(0, 0, 0, 0.35);
      /* capa oscura permanente */
    }

    .img-link {
      text-decoration: none;
      color: white;
      text-decoration: none;
      font-weight: bold;
      font-size: 11px;
      border: solid 1px;
      border-radius: 11px;
      padding: 7px;
    }

    .img-link:hover {
      color: aquamarine;
    }


    /* aparece al pasar el ratón */
    .carousel-item-custom:hover .image-overlay {
      opacity: 1;
    }

    .image-box img {
      width: 100%;
      height: auto;
      display: block;
      transition: transform 0.4s ease;
    }

    /* Hover effects */
    .carousel-wrapper:hover .carousel-track {
      animation-play-state: paused;
    }

    .carousel-item-custom:hover .image-box {
      transform: scale(1.1);
      filter: grayscale(0%);
      border-color: #0d5441;
      box-shadow: 0 rgba(0, 0, 0, 0.2);
    }

    /* aparece al hacer hover */
    .carousel-item-custom:hover .img-link {
      opacity: 1;
    }

    @keyframes scroll {
      0% {
        transform: translateX(0%);
      }

      100% {
        transform: translateX(-50%);
      }
    }

    
    /* Responsive MUY IMPORTANTE*/
    @media (max-width: 768px) {
      .carousel-item-custom {
        width: 150px;
      }
    }

    @media (max-width: 576px) {
      .carousel-item-custom {
        width: 120px;
      }
    }

    .parallax2 {
      background-image: url(img/mapafilarmonica.png);
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
      padding: 5rem 0;
         
    }


.mapaSusana {
    margin: 0;
    font-family: Georgia, serif;
    background: radial-gradient(circle at center, #f8c065 0%, #171109 100%);
    color: white;
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom:20px;
}

.stage {
    position: relative;
    width: 100%;
    height: 60vh;
    max-width: 600px;
    overflow: hidden;
    perspective: 1500px;
}

#mapFrame {
    width: 100%;
    height: 100%;
    border: 0;
}

.curtain {
    position:absolute;
    top:0;
    width:50%;
    height:100%;

    background-repeat:no-repeat;
    
    background-size:100% 100%;
    background-position:center;

    transition:transform 2.5s ease;
    z-index:5;
}

.curtain-left { left: 0; transform-origin: left; background-image: url(../img/entorno/ent_puertaIzquierda.webp); }
.curtain-right { right: 0; transform-origin: right;background-image: url(../img/entorno/ent_puertaDerecha.webp); }

.open .curtain-left { transform: rotateY(-95deg); }
.open .curtain-right { transform: rotateY(95deg); }

.fullscreen-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    background: rgba(216, 171, 48, 0.886);
    border: none;
    padding: 8px 10px;
    border-radius: 50px;
    cursor: pointer;
}

.curtain-btn {
    display: block;
    margin-left:30%;
    background:  rgba(216, 171, 48, 0.886);
    border: none;
    padding: 12px 20px;
    border-radius: 50px;
    cursor: pointer;
}



.right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.controls-entorno {
    background: #dccaae ;
    padding: 25px;
    border-radius: 15px;
}

h1, h6 { text-align:center; }


/*
.barra-inferior{
   
    bottom:0;
    width:100%;
    background: radial-gradient(circle at center, #f8c065 0%, #171109 100%);    
    overflow:hidden;
    padding:15px 0;
    box-shadow:0 -8px 25px rgba(0,0,0,0.6);
    z-index:999;
}

.slider-controls{
    position: relative;
    top:2px;
    left:76%;
    z-index:1000;
}

.slider-controls button{
    margin-left:5px;
}

.slider-wrapper{
    overflow:hidden;
}

.slider{
    display:flex;
    width:max-content;
}

.slider img{
    height:100px;
    margin:0 20px;
    border-radius:15px;
    object-fit:cover;
    transition:all .4s ease;
    cursor:pointer;
}

.slider img:hover{
    transform:scale(1.15);
    box-shadow:0 15px 35px rgba(0,0,0,0.8);
}

@media(max-width:768px){
    .slider img{
        height:75px;
        margin:0 10px;
    }
}
*/

.modal-contenido360 {
        background-color: white;
        margin: 15% auto;
        padding: 20px;
        width: 70%;
        border-radius: 5px;
        position: relative;
        text-align: center;
    }

 /*video 360 en index*/

.video-container{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: black;
}
.video-container-360{
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: black;
    max-width: 100vw;
    height: 80vh;
}

/* Poster */
.video-poster{
    object-fit: cover;
}

/* 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;
}
/*CAMBIOS ISA*/

 /* MÓVIL */
@media (max-width: 767.98px) {
    .solo-recto-movil{
      border-radius: 0px  !important;
    }   

    .bloque-oculto h1,
    .bloque-oculto .h1 {
        font-size: 1.8rem !important;
    }

    .bloque-oculto p {
        font-size: 1rem !important;
    }

    .bloque-oculto {
        padding: 1.5rem !important;
        
    }
}

/* TABLET */
@media (min-width: 768px) and (max-width: 991.98px) {

    .bloque-oculto h1,
    .bloque-oculto .h1 {
        font-size: 2.4rem !important;
    }

    .bloque-oculto p {
        font-size: 1rem !important;
    }

    .bloque-oculto {
        padding: 2rem !important;
    }
}

/* PORTÁTIL (pantallas medianas) */
@media (min-width: 992px) and (max-width: 1399.98px) {

    .bloque-oculto h1,
    .bloque-oculto .h1 {
        font-size: 3rem !important;
    }

    .bloque-oculto p {
        font-size: 1.1rem !important;
    }

    .bloque-oculto {
        padding: 3rem !important;
    }
}

/* SOBREMESA GRANDE */
@media (min-width: 1400px) {

    .bloque-oculto h1,
    .bloque-oculto .h1 {
        font-size: 3.8rem !important;
    }

    .bloque-oculto p {
        font-size: 1.3rem !important;
    }

    .bloque-oculto {
        padding: 4rem !important;
    }
}

