@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');
  @font-face {
    font-family: "bold";
    src: url('fonts/bold-regular.woff2') format('woff2'),
    url('fonts/bold-regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    }
    @font-face {
      font-family: "brook";
      src: url('fonts/brook.woff2') format('woff2'),
      url('fonts/brook.woff') format('woff');
      font-weight: normal;
      font-style: normal;
      }

body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    width: 100%;
    font-family: Arial, sans-serif;
    background-color: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: black;
    z-index: 1000;
}

#loader img {
    max-width: 100px;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 20px 15px 15px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 10;
}

.logo img {
    height: 40px;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.menu-icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-icon span {
    height: 2px;
    width: 25px;
    background-color: white;
    margin: 3px 0;
}

/* Mobile styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 20px;
        background-color: rgba(0, 0, 0, 0.9);
        padding: 10px;
        border-radius: 5px;
    }

    .nav-links.active {
        display: flex;
    }

    .menu-icon {
        display: flex;
    }
}
.slider-container {
    position: relative;
    height: 100vh;
    width: 100vw;
    overflow: hidden;
}

.slider {
    display: flex;
    height: 100%;
    width: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    flex: 1 0 100%;
    height: 100%;
    position: relative;
    transform-origin: left center;
    perspective: 1000px;
}

.slide:nth-child(even) {
    transform-origin: right center;
}


.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.content {
    text-align: center;
    position: relative;
    padding: 20px;
    bottom: 10%;
    left: 10%;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    max-width: 50%;
}

.mini-menu {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.preview {
    width: 60px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s;
}

.preview:hover {
    background: rgba(255, 255, 255, 0.3);
}

.virtual-tour-container {
    position: relative;
    width: 100vh;
    height: 100vh; /* 100% de la altura de la ventana */
   /* overflow: hidden; */
}

.virtual-tour-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.map-section {
    position: relative;
    width: 100vw; /* Asegura que ocupe todo el ancho del viewport */
    height: 100vh; /* Ocupa toda la altura de la pantalla */
    overflow: hidden;
}

.map-background {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Mantiene la proporción de la imagen mientras cubre toda la sección */
}

/* Estilo de los pines */
.pin {
    position: absolute;
    width: 30px;
    height: 30px;
    background-color: rgba(255, 0, 0, 0);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.3s ease;
}


/* Hover para agrandar el pin */
.pin:hover {
    transform: scale(1.2);
}

/* Información que aparece al pasar sobre un pin */
.info {
    display: none;
    position: absolute;
    top: -100px;
    left: 40px;
    width: 200px;
    background-color: rgb(71, 71, 71);
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.info h3 {
    margin-top: 0;
}

/* Mostrar información al pasar sobre el pin */
.pin:hover .info {
    display: block;
}

/* Ajustes responsivos para dispositivos móviles */
@media (max-width: 768px) {
    
    .map-section {
        height: auto; /* Ajuste de altura para pantallas pequeñas */
    }

    .pin {
        width: 20px;
        height: 20px;
    }

    .info {
        top: -80px;
        left: 30px;
        width: 150px;
    }

    .info h3 {
        font-size: 16px;
    }

    .info p {
        font-size: 14px;
    }

    .info img {
        max-width: 100%;
    }
    .map-section {
        position: relative;
        width: 100%;
        height: 100vh; /* Ocupa toda la pantalla */
        overflow: hidden;
    }
}


.pin-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px; /* Opcional: para bordes redondeados */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Opcional: para un efecto de sombra */
}


.podcast-section {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #4b6cb7 0%, #182848 100%);
    color: white;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.podcast-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.spotify-embed {
    width: 100%;
    height: 80%;
}

.spotify-embed iframe {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    border: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .podcast-section h2 {
        font-size: 20px;
    }
    
    .spotify-embed {
        height: 60%;
    }
}
.fullscreen-image {
    width: 100vw;  /* Ocupa el 100% del ancho de la ventana */
    height: 100vh; /* Ocupa el 100% de la altura de la ventana */
    object-fit: cover; /* Cubre todo el área de la pantalla sin deformar la imagen */
    position: absolute; /* Asegura que la imagen esté posicionada en toda la pantalla */
    top: 0;
    left: 0;
}

.page {
    position: relative;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.content {
    position: absolute;
    bottom: 10%;
    left: 10%;
    color: white;
    z-index: 2;
}

.video-bg, iframe {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.control:hover {
    transform: rotateY(-15deg);
}

.next:hover {
    transform: rotateY(15deg);
}

.page {
    transition: transform 1s;
}

.page.slide-out {
    transform: rotateY(-90deg);
}

.page.slide-in {
    transform: rotateY(0deg);
}


.content-wrapper {
    position: relative;
    width: 100%;
    height: calc(100% - 130px); /* Ajusta altura para los márgenes superior e inferior */
    margin: 50px 0 80px 0; /* 50px margen superior y 80px margen inferior */
    overflow: hidden;
}

.background-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.content-rect {
    position: relative;
    z-index: 2;
    width: 33%; /* 1/3 del ancho de la pantalla */
    height: 100%;
    
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: auto;
}

@media (max-width: 768px) {
    .content-rect {
        width: 100%;
        height: auto;
        padding: 10px;
    }
}

h2, p {
    margin: 10px 0;
    color: #3d3d3d;
    
}



/* Estilos para los controles */
.controls-container {
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente */
    padding: 10px 0;
}

.controls {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.control {
    font-size: 24px;
    color: #fff;
    text-decoration: none;
    margin: 10px 35px;
}

.slide-indicator {
    color: #fff;
    font-size: 18px;
}

.index-menu {
    position: relative;
}

/* Botón de índice */
.index-toggle {
    background: #333; /* Fondo oscuro para el botón */
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    color: #fff;
    font-size: 16px;
}

/* Contenido del índice */
.index-content {
    display: none; /* Oculto por defecto */
    position: fixed; /* Fijo para mantener la posición al hacer scroll */
    bottom: 50px; /* Ajustar según sea necesario */
    background: #000; /* Fondo oscuro para el índice */
    max-height: 220px; /* Ajustar según sea necesario */
    overflow-x: auto; /* Desplazamiento horizontal */
    white-space: nowrap; /* Mantener los elementos en una sola línea */
    overflow-y: hidden; /* Ocultar el desplazamiento vertical */
    padding: 10px 0;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); /* Sombra para resaltar el índice */
    transition: max-height 0.5s ease, opacity 0.5s ease; /* Transición para animar apertura y cierre */
    opacity: 0;
    max-height: 0; /* Oculto inicialmente */
}

/* Mostrar el índice al hacer clic */
.index-toggle:focus + .index-content,
.index-toggle:active + .index-content,
.index-content.show {
    display: flex; /* Mostrar como flexbox */
    opacity: 1;
    max-height: 220px; /* Mostrar el contenido */
}

/* Estilo para los elementos del índice */
.index-item {
    display: inline-block;
    width: 120px; /* Ancho fijo */
    height: 180px; /* Alto fijo */
    margin: 0 10px;
    text-align: center;
    text-decoration: none;
    color: #fff;
    overflow: hidden;
    position: relative;
}

.index-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajustar imagen para cubrir el contenedor */
    border-radius: 8px;
}

.index-title {
    display: block;
    margin-top: 5px;
    font-size: 14px;
}

/* Mostrar el índice al hacer clic */
.index-toggle:focus + .index-content,
.index-toggle:active + .index-content {
    display: flex;
    opacity: 1;
    max-height: 220px; /* Mostrar el contenido */
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .controls-container {
        flex-direction: column;
        align-items: center;
    }

    .index-content {
        display: flex; /* Mostrar como flexbox */
        flex-direction: row; /* Alinear los elementos horizontalmente */
        left: 0; /* Alinear al lado izquierdo */
        width: 100%; /* Ancho completo para el scroll */
    }
    
    .index-item {
        width: 120px; /* Ancho fijo */
        height: 180px; /* Alto fijo */
    }
}

@media (min-width: 769px) {
    .index-content {
        display: flex; /* Mostrar en pantallas grandes */
        flex-direction: row; /* Alinear los elementos horizontalmente */
        justify-content: center; /* Centrar en pantallas grandes */
        left: 50%; /* Alinear al centro */
        transform: translateX(-50%); /* Ajustar el centro */
        width: auto; /* Ancho automático para el contenido */
    }
}


.background-image {
    position: absolute; /* Posicionar absolutamente para cubrir el fondo */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit:contain; /* Cubrir todo el área sin distorsionar la imagen */
    z-index: -1; /* Colocar detrás del texto */
}

/* Estilos para móviles */
@media (max-width: 768px) {
    .content-wrapper {
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 50px;
    }

    .background-img {
        object-fit: cover;
        height: auto;
        min-height: 100vh;
    }

    .content-rect {
        width: auto;
        height: 75vh; /* Ajusta la altura según sea necesario */
        margin: 0;
        padding: 0;
        
    }

    .content-rect h2 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }

    .content-rect p {
        font-size: 1rem;
    }

    .background-image {
        width: 100%;
        height: auto;
        margin-top: 10px;
    }
}

/* Estilos para el preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#main-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.page-transition {
    opacity: 0;
    transition: opacity 1s ease-in-out;
}




.more-info-section {
    margin-top: 20px;
    text-align: center;
}

.more-info-btn {
    background-color: #007BFF;
    color: white;
    padding: 10px 20px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.more-info-btn:hover {
    background-color: #0056b3;
}

.info-box {
    display: none; /* Oculto por defecto */
    margin-top: 15px;
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente */
    color: white;
    padding: 20px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.info-box p {
    margin: 0;
    font-size: 16px;
}

.info-box.show {
    display: block; /* Mostrar al hacer clic */
}





/* Animación del texto de bienvenida */
.animated-title {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 1;
    animation: fadeOut 5s ease forwards; /* Duración ajustada a 4s */
}

.animated-title h1 {
    color: white;
    font-size: 3rem;
    animation: slideIn 2s ease; /* Animación de entrada del texto */
}

@keyframes slideIn {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        visibility: hidden;
    }
}



.popup-container {
    position: fixed; /* Posición fija */
    bottom: 100px; /* Distancia desde la parte inferior */
    left: 50%; /* Centrar horizontalmente */
    transform: translateX(-50%); /* Ajuste para centrar */
    z-index: 1001; /* Asegurarse de que esté por encima de otros elementos */
}

.transparent-button {
    background-color: rgba(255, 255, 255, 0.5); /* Color de fondo con opacidad */
    color: black; /* Color del texto */
    border: none;
    padding: 10px 20px; /* Espaciado del botón */
    cursor: pointer;
    font-size: 16px; /* Tamaño de fuente */
    border-radius: 5px; /* Bordes redondeados */
    transition: background-color 0.3s; /* Transición al cambiar el color de fondo */
}

.transparent-button:hover {
    background-color: rgba(255, 255, 255, 0.8); /* Cambiar el color de fondo al pasar el mouse */
}

.popup {
    display: none; /* Ocultar el popup por defecto */
    position: fixed;
    z-index: 1000; /* Asegurarse de que el popup esté por encima de otros elementos */
    left: 0;
    top: 0;
    width: 100%; /* Ancho completo */
    height: 100%; /* Alto completo */
    overflow: auto; /* Habilitar el desplazamiento si es necesario */
    background-color: rgba(0, 0, 0, 0.7); /* Fondo semi-transparente */
}

.popup-content {
    background-color: #fefefe; /* Fondo del contenido del popup */
    margin: 15% auto; /* Espaciado en la parte superior y centrado */
    padding: 20px; /* Espaciado interno */
    border: 1px solid #888; /* Borde del popup */
    width: 80%; /* Ancho del popup */
    max-width: 500px; /* Ancho máximo */
    border-radius: 5px; /* Bordes redondeados */
}

.close {
    color: #aaa; /* Color del botón de cierre */
    float: right; /* Alinear a la derecha */
    font-size: 28px; /* Tamaño del botón de cierre */
    font-weight: bold; /* Negrita */
}

.close:hover,
.close:focus {
    color: black; /* Color al pasar el mouse */
    text-decoration: none; /* Sin subrayado */
    cursor: pointer; /* Cambiar el cursor al pasar el mouse */
}

.blanco{
    color: #fefefe;
}

.video-section {
    position: relative;
    width: 100%; /* Asegura que el video cubra toda la sección */
    height: 100vh; /* Cubre toda la altura de la ventana */
    overflow: hidden;
}

.background-video {
    width: 100%; /* El video se adapta al ancho del contenedor */
    height: 100%; /* El video se adapta a la altura del contenedor */
    object-fit: cover; /* Mantiene la proporción del video y cubre todo el contenedor */
}

#professionalVideo {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Asegura que el video ocupe todo el espacio horizontal */
    height: 100%; /* Ocupa todo el espacio vertical */
    object-fit: cover; /* Asegura que el video cubra toda el área sin deformarse */
}

video::-webkit-media-controls {
    opacity: 1 !important; /* Asegura que los controles del video sean visibles */
}

video::-webkit-media-controls-panel {
    background-color: rgba(0, 0, 0, 0.5); /* Fondo semi-transparente para un toque profesional */
}

video::-webkit-media-controls-play-button,
video::-webkit-media-controls-fullscreen-button,
video::-webkit-media-controls-mute-button {
    background-color: rgba(255, 255, 255, 0.7); /* Botones semi-transparentes */
    border-radius: 50%; /* Botones redondeados */
    transition: background-color 0.3s ease;
}

video::-webkit-media-controls-play-button:hover,
video::-webkit-media-controls-fullscreen-button:hover,
video::-webkit-media-controls-mute-button:hover {
    background-color: rgba(255, 255, 255, 1); /* Aumenta la opacidad al pasar el mouse */
}

.video-section video::cue {
    font-size: 16px; /* Ajusta el tamaño de los subtítulos si están habilitados */
    color: white; /* Color del texto de los subtítulos */
}

.mapa-boton {
    position: absolute;
    background-color: transparent;
    border: none;
    width: 50px;
    height: 50px;
    cursor: pointer;
}

.info-popup {
    display: none; /* Ocultar la información por defecto */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: white;
    width: 90%;
    max-width: 400px;
    padding: 20px;
    border-radius: 8px;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.info-content {
    text-align: center;
}

.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
}

.info-popup img {
    width: 100%;
    margin-top: 10px;
    border-radius: 5px;
}

@media screen and (max-width: 768px) {
    .info-popup {
        width: 95%;
        max-width: 90%;
        padding: 15px;
    }
    
    .info-content h3, .info-content p {
        font-size: 1.2rem;
    }
}

@media screen and (max-width: 480px) {
    .info-popup {
        padding: 10px;
    }

    .info-content h3 {
        font-size: 1rem;
    }

    .info-content p {
        font-size: 0.9rem;
    }

    .close-btn {
        font-size: 18px;
    }
}
