:root{
    --azul_oscuro : #0C2C8B;
    --azul-claro:#CADEFF;
    --naranja : #F1A831;
    --blanco: #fff;
    --background-galaxy: url("/assets/fondo-site-escritorio.jpg");
}

/* ESTILOS GENERALES */
.bg-fondo{
    background-image: var(--background-galaxy);
    background-color: var(--azul_oscuro);
    background-position: top center;
    background-size: cover;
    background-repeat: no-repeat;
    min-height: 115dvh;
}
.bg-azul{
    background-color: var(--azul_oscuro);
}
.tx-azul{
    color: var(--azul_oscuro);
}
.bg-azul-claro{
    background-color: var(--azul-claro);
}
.tx-azul-claro{
    color: var(--azul-claro);
}
.bg-naranja{
    background-color: var(--naranja);
}
.tx-naranja{
    color: var(--naranja);
}
.bg-blanco{
    background-color: var(--blanco);
}
.tx-blanco{
    color: var(--blanco);
}
.py-2-5{
    padding-block: 0.75rem;
}
.supersmall{
    font-size: 0.8rem;
}

/* INDEX */
.botones a{
    color: var(--blanco);
    text-decoration: none;
}
.botones a:hover{
    color: var(--naranja);
}
.enlacehotel{
    text-decoration: none;
    background-color: var(--naranja);
    color: white;
    font-weight: bold;
    border-radius: 15px;
}

/* AGENDA */
.titulo_pagina{
    border-radius: 6px;
    border: 1px solid var(--amarillo);
}
.dia{
    font-weight: 500;
    border-radius: 6px;
    border: 1px solid var(--amarillo);
}
.actos{
    font-size: 0.8rem;
}

/* MENU */
.lang{
    cursor: pointer;
}
.activo{
    color: var(--amarillo);
    font-weight: 700;
}
.open, .close, .logout{
    max-width: 40px;
    cursor: pointer;
    transition: all .5s;
}

.menu-lateral{
    position: fixed;
    top:0;
    left: -100dvw;
    height: 100dvh;
    width: 100dvw;
    opacity: 1;
    transition: all .5s;
    z-index: 99;/* Esta porque hay algunos elementos que quedaban por encima del menu. */
}
.overflow-scroll{
    overflow-y: scroll;
}


/* MODAL */
.modal{
    position: absolute;
    background-color:rgba(13, 40, 77, 0.8);
    top:0;
    left: 0;
    height: 100vh;
    z-index: 1201 !important;
}
.aviso-modal{
    border-radius: 10px;
    position: relative;
}
.aviso-modal svg{
    position: absolute;
    top: 10%;
    right: 3%;
    cursor: pointer;
}

/* MODAL DE CUENTA ATRAS*/
.modal-countdown{
    position: absolute;
    background-color:rgba(13, 40, 77, 0.8);
    top:0;
    left: 0;
    height: 100vh;
    z-index: 1201 !important;
}
.aviso-modal-countdown{
    border-radius: 10px;
    position: relative;
}
.titulo-modal-countdown{
    width: 60%;
    margin: auto;
    font-size: 1.2rem;
}
.aviso-modal-countdown a{
    text-decoration: none;
    background-color: var(--naranja);
    color: white;
    font-weight: bold;
    border-radius: 10px ;
}

/* MODAL AVISO LEGAL*/
.modal-legal{
    position: fixed;
    background-color:rgba(13, 40, 77, 0.8);
    top: 0;
    left: 0;
    height: 100vh;
    width: 100dvw;
    z-index: 1201 !important;
    transition: all .5s ease-in-out;
}
.aviso-modal-legal{
    border-radius: 10px;
    position: relative;
    max-height: 85dvh;
    overflow-y: scroll;
}
.titulo-modal-legal{
    width: 85%;
    margin: auto;
    font-size: 1rem;
}
.mensaje-modal-legal{
    font-size: .8rem;
}
.mensaje-modal-legal.cierre{
    font-size: 1rem;
    width: 50%;
    margin: auto;
    background-color: var(--naranja);
    border-radius: 10px;
}
.aviso-modal-legal a{
    text-decoration: none;
    background-color: var(--naranja);
    color: white;
    font-weight: bold;
    border-radius: 10px ;
}

/* FORM*/
.error:after{
    content: "!";
    color: var(--amarillo);
    font-size: 1rem;
    margin-left: 1rem;    
}
.inputerror{
    border: 2px solid red !important;
}

/* CONTADOR */
.contador{
    color: white;
    font-weight: bold;
    font-size: 3rem;
    padding: 0;
}
.subCountdown{
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
    line-height: 0.4rem;
    padding: 0;
}

/* FOOTER */
.footer{
    font-size: 0.8rem;
}
.footer a{
    color: var(--blanco);
    text-decoration: none;
}

@media (min-width:768px){
    .bg-fondo{
        background-image: url("/assets/fondo-site-escritorio.jpg");
        background-color: var(--azul_oscuro);
        background-position: top center;
        background-size: cover;
        background-repeat: no-repeat;
        min-height: 100dvh;
    }
    .footer{
        font-size: 0.8rem;
    }
    .menu-lateral{
        width: 30dvw;
    }
}
@media (min-width:992px) {

}

/* ETILOS HOME */
.saludoHome{
    font-size: 2rem;
    color: var(--azul-claro);
}
.colorWhite{
    color: var(--blanco);
    font-size: 1.5rem;
}
.boton_home{
    display: flex;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
    align-items: center;
    gap: 25px;
}

.boton_home{
    font-weight: bold;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.178) 0%, rgba(4, 54, 123, 0.527) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(20px);
}



/* ETILOS AGENDA */
.txt-azul-claro{
    color: var(--azul-claro);
}
.contenedor-agenda{
    max-width: 360px;
    min-width: 360px;
    position: relative;
}
.comp-evento h5{
    font-size: 1rem;
}
.comp-evento p{
    font-size: 0.8rem;
}
.comp-evento h5, p{
    padding-left: 4rem;
    padding-right: 4rem;
}
.comp-evento{
    /* min-width: 360px; */
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.178) 0%, rgba(4, 54, 123, 0.527) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(2px);
    border: 1.5px solid rgba(167, 167, 167, 0.486);
    position: relative;
}
.comp-evento h3{
    font-size: 1rem;
    text-align: left;
    padding-bottom: 1rem;
}

.contenedor-linea{
    position: absolute;
}
.linea{
    margin-right: 20rem;
    margin-top: 00px;
    width: 0px;
    height: 2950px;
    box-shadow: 0 0 7px 1px #2196f0, 0 0 7px 1px #0fdbff, 0 0 7px 1px #3a08ff, 0 0 7px 1px #0499b4;
}
.img-planeta{
    position: absolute;
    left: -42px;
}
.planeta-1{ top: -50px; width: 80px;}
.planeta-2{ top: 1100px; }
.planeta-3{ top: 1508px; }
.planeta-4{ top: 2100px; width: 80px;}
.planeta-5{ top: 2391px; }
.planeta-6{ top: 2906px; }

.nave{
    position: absolute;
    left: -45px;
    z-index: 12;
    top:-1rem;
}

/* ETILOS PATROCINADORES */
.popup-card {
    background-color: rgba(3, 13, 66, 0.85);
    backdrop-filter: blur(2px);
    position: fixed; /* 👈 ahora fixed */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .3s ease-in-out;
    z-index: 9999;
}

/* .popup-card > div{
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 85dvh;
    width: 350px;
    border: 1px solid var(--blanco);
    border-radius: 7px;
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(6.8px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.078) 0%, rgba(4, 54, 123, 0.227) 100%);
    -webkit-backdrop-filter: blur(5px);
    
}
*/
.popup-card .popup-card-up{
    display: flex;
    position: relative;
    flex-direction: column;
    /* border-bottom: 1px solid var(--blanco); */
    height: 130px;
}

.planeta-popup{
    width: 120px;
    position: absolute;
    right: 110px;
    top: -40px;
}

.logo-popup{
    width: 100px;
    height: auto;
    position: absolute;
    right: 120px;
    top: 3.5rem;
}

.logo-siticore{
    width: 200px;
    right: 5rem;
}

.logo-mercedes{
    right: 4rem;
    width: 200px;
}

.popup-card-up > div{
    position: absolute;
    right: 120px;
    top: 60px;
}

.cerrar-popup{
    width: 20px;
    height: 20px;
    position: absolute;
    left: 20px;
    top: 20px;
    cursor: pointer;
}

.popup-card-down{
    /* height: 100%; */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.popup-card-down div{
    height: 140px;
    width: 100%;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background-size: cover;
    background-repeat: no-repeat;
}


.mercedes img{
    max-width: 100%;
}

.popup-card-down a{
    /* border-bottom: 1px solid var(--blanco); */
}

.d-none{
    display: none !important;
}

.popup-card-down h5{
    font-size: 1rem;
}

.dress-code {
    display: grid;
    grid-template-columns: 60px 1fr; 
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: visible; 
}

.dress-code .dress-code-img {
    width: 80px; 
    top: 0%;
    left: -2rem;
    position: absolute;
    z-index: 2;
}
.dress-code h5{
  padding-bottom: 0.7rem;
}
/*UBICACIONES*/
.maps-wrapper{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
  justify-items: center; 
}

.comp-evento-ubi{
  width: 22rem;
  max-width: 100%;          
  min-height: 410px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.178) 0%, rgba(4, 54, 123, 0.527) 100%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(167, 167, 167, 0.486);
  position: relative;
}

.comp-evento-ubi iframe{
  width: 84% !important;   
  height: auto !important;  
  aspect-ratio: 290 / 358.63;
  border: 0;
  border-radius: 10px;
}


.maps-wrapper .comp-evento-ubi {
  flex: 1 1 350px;  
  max-width: 300px; 
}



.comp-evento-ubi-text{
    min-width: 150px;
    min-height: 150px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.178) 0%, rgba(4, 54, 123, 0.527) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(2px);
    border: 1.5px solid rgba(167, 167, 167, 0.486);
    position: relative;
}

.comp-evento-home{
    /* min-width: 360px; */
    width: 100%;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.178) 0%, rgba(4, 54, 123, 0.527) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(2px);
    border: 1.5px solid rgba(167, 167, 167, 0.486);
    position: relative;
}
.comp-evento-home h3{
    font-size: 1rem;
    text-align: left;
    padding-bottom: 1rem;
}

.flechas_alineadas{
    margin-left: 3.5rem;
    margin-right: 3.5rem;
}

.parks{
    font-size: 0.8rem;
    margin-top: -1rem;
    
}
a.parks:hover { 
    color: white !important; 
    text-decoration: underline;
}

/*FAQs*/
.faq-item{
    width: 100%;
    max-width: 600px;
    border-radius: 7px;
    background: linear-gradient(135deg, rgba(24, 41, 233, 0.314) 0%, rgba(4, 54, 123, 0.527) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(167, 167, 167, 0.486);
    cursor: pointer;
}
.rotada {
  transform: rotate(180deg);
  transition: transform 0.6s ease;
}

.no-rotada {
  transform: rotate(0deg);
  transition: transform 0.3s ease;
}

/*GALERIA*/
.card img {
    aspect-ratio: 4 / 4; /* Mantener proporción */
    object-fit: cover;
}
.cont-galeria{
    background: linear-gradient(135deg, rgba(24, 41, 233, 0.314) 0%, rgba(4, 54, 123, 0.527) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1.5px solid rgba(167, 167, 167, 0.486);
}
.pagination .page-link {
  color: #ffffff; /* negro para que se vea sobre blanco */
}

.pagination .page-item.disabled .page-link {
  color: #6c757d; /* gris para los botones deshabilitados */
}

.blur-background{
    background-color: transparent !important;
}

/* quita el fondo default por problemas de superposición de estilos */
.pagination,
.pagination .page-item,
.pagination .page-link,
.pagination .page-item.active,
.pagination .page-item.disabled,
.pagination .page-item a {
  --bs-pagination-bg: transparent; 
  --bs-pagination-border-color: transparent;
  --bs-pagination-disabled-bg: transparent;
  padding: 0.25rem 0.5rem;
}

.fondo-blur{
  background: linear-gradient(135deg, rgba(24, 41, 233, 0.104) 0%, rgba(4, 54, 123, 0.527) 100%);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(4px);
  border-radius: 0.5rem;
  border: 1.5px solid rgba(167, 167, 167, 0.486);
}

/* Texto visible sobre el fondo */
.pagination .page-link {
  color: #fff;
  border: none;
}

.pagination .page-item.active .page-link {
  background-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.pagination .page-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: rgba(255, 255, 255, 0.5);
}

.cont-cont-galeria{
    max-width: 400px;
}

body.modal-open {
  overflow: auto !important;
  padding-right: 0 !important; /* evita el espacio que mete Bootstrap */
}

.card-workstation{
    background: linear-gradient(135deg, rgba(95, 129, 254, 0.178) 0%, rgba(4, 54, 123, 0.527) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(2px);
    border: 1.5px solid rgba(167, 167, 167, 0.486);
    border-radius: 7px;
    max-width: 400px;
    width: 100%;
}

.max-w-40-rem{
    max-width: 40rem;
}

.cont-name-surname{
    width: 12rem;
    height: 7rem;
    border-radius: 1rem;
    border: 2px solid var(--blanco);
    background: linear-gradient(135deg, rgba(14, 31, 93, 0.178) 0%, rgba(4, 54, 123, 0.527) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(2px);
}

.card-mercedes{
    overflow-y: auto;
    display: flex
;
    flex-direction: column;
    scroll-behavior: smooth;
    scrollbar-width: none;  /* Firefox */
    -ms-overflow-style: none; /* IE y Edge */
}

.card-mercedes::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}

.fix_popup{
        /* transform: translateY(-90px); */
}

.con-enlaces{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    padding-bottom: 2rem;
    padding-top: 1rem;
    flex-wrap: wrap;
}

.popup-int-conteiner{
    width: 100vw;
    max-width: 20rem;
    border: 1px solid var(--blanco);
    max-height: 80vh;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(99, 127, 228, 0.295) 0%, rgba(112, 160, 228, 0.062) 100%);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(2px);
}

.popup-card-up2{
    position: relative;
    height: 15vh;

}

.popup-card-down2 {
    max-height: 50vh;
    overflow-y: auto;

    /* Ocultar scroll en navegadores modernos */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE y Edge */
}

.popup-card-down2::-webkit-scrollbar {
    display: none; /* Chrome, Safari y Opera */
}

.planet{
    width: 120px;
    position: absolute;
    right: 100px;
    top: -50px;
}

.tierra{
    width: 140px;
    position: absolute;
    right: 5.5rem;
    top: -60px;
}

.mercedes{
    background-image: url("/assets/img-patrocinadores-3.png");
}

.siticore{
    background-image: url("/assets/Siticore-Huawei.jpg");
    background-size: contain;
    background-position: -2.5rem 0;
}
.onrent{
    background-image: url("/assets/img-patrocinadores.png");
    background-position: 0px -260px;
}



.background-patrocinadores{
    height: 8rem;
    width: 100%;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    background-repeat: no-repeat;
    background-size: cover;
}

.jhernando{
    background-image: url("/assets/logo_JH.png");
    background-size: contain;
    background-position: 5.5rem 0;
}

.logo-onrent{
    width: 150px;
    top: 3.5rem;
    left: 5rem;
}

.logo-JHernando{
    width: 90px;
    top: 3.5rem;
    left: 7rem;
}