/* Reset y estilos base para todos los elementos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Estilos generales para el cuerpo de la página */
body {
    font-family: "arial"; /* Fuente legible y común */
    background-color: #100A05 ; /* Fondo negro */
    line-height: 1.6; /* Altura de línea para mejor lectura */
    /* Removed min-height: 200vh to allow footer positioning */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    overflow-y: auto; /* Allow vertical scrolling */
    position: relative;
    z-index: 0;
}
main {
    flex-grow: 1;
}

/* Ensure intro-video section and children are flush to top */
  #intro-video, #intro-video .slideshow-background, #intro-video .slideshow, #intro-video .overlay, #intro-video h1.intro-title {
    margin: 0;
    padding: 0;
    
}
/* Make intro-video height fit viewport minus header */
#intro-video {
    height: calc(100dvh - 90px);
    overflow: hidden;
    position: relative;
    
}
#intro-video .slideshow-background {
    height: 100%;
    width: 100%;
    position: relative;
}
#intro-video .slideshow {
    height: 100%;
    width: 100%;
}
#intro-video .slideshow img {
    height: 100%;
    width: 100%;
    object-fit: fill;
}
#intro-video .overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.3);
}
#intro-video h1.intro-title {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    color: white;
    font-size: 3 rem;
    line-height: 1.1;
    z-index: 11;
    margin: 0;
    padding: 20px 0;
    max-width: none;
    box-sizing: border-box;
    text-align: left;
    background-color: transparent;
}
#intro-video .intro-title-container {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40vw;
    padding-left: 1rem;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/**Fin de lso estilos de la pantalla con el nombre del Lia Bermuddez**/


/**todo sobre el header**/
/* Estilos generales del encabezado */
.header {
    background-color: #000; /* Color de fondo del encabezado */
    font-weight: bold;
    padding: 5px; /* Espaciado interno */
    width: 100%;
    display: flex; /* Usar flexbox para alinear elementos */
    justify-content: space-between; /* Espacio entre logo y menú */
    align-items: center; /* Centrar verticalmente */
    position: sticky; /* Fijar el encabezado en la parte superior */
    top: 0; /* Alinear al borde superior */
    z-index: 20;
}


/* Estilos del logo */
.logo img {
    max-width: 150px; /* Ancho máximo del logo */
}

/* Estilos del menú de navegación */
.nav-menu {
    position: relative; /* Posicionamiento relativo para el menú desplegable */
    margin: auto;
}

.nav-list {
    list-style: none; /* Quitar viñetas de la lista */
    display: flex; /* Usar flexbox para alinear los elementos del menú */
    
}
.dropdown-menu li{
    list-style: none;
}

.nav-item {
    position: relative; /* Posicionamiento relativo para los elementos del menú */
    margin: 0 15px; /* Espaciado entre elementos del menú */
}

.nav-link {
    color: #ecf0f1; /* Color del texto del menú */
    text-decoration: none; /* Quitar subrayado */
    padding: 10px 15px; /* Espaciado interno */
    transition: background-color 0.3s; /* Transición suave para el fondo */
    border-radius: 25px;
}

.nav-link:hover {
    background-color: #ffee00bd; /* Color de fondo al pasar el mouse */
    color: #000;
    border-radius: 25px; /* Bordes redondeados */
}

/* Estilos para el menú desplegable */
.dropdown-menu {
    display: none; /* Ocultar el menú desplegable por defecto */
    position: absolute; /* Posicionamiento absoluto */
    top: 32px; /* Colocar debajo del elemento padre */
    left: 0; /* Alinear a la izquierda */
    background-color: #ffee00bd; /* Color de fondo del menú desplegable */
    border-radius: 10px; /* Bordes redondeados */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Sombra para el menú */
    z-index: 10; /* Asegurarse de que esté por encima de otros elementos */
    padding: 5px;
}

.nav-item:hover .dropdown-menu {
    display: block; /* Mostrar el menú desplegable al pasar el mouse */
}

.dropdown-link {
    color: #000000; /* Color del texto del enlace del menú desplegable */
    text-decoration: none; /* Quitar subrayado */
    display: block; /* Hacer que el enlace ocupe todo el ancho */
    padding: 10px 15px; /* Espaciado interno */
    transition: background-color 0.3s; /* Transición suave para el fondo */
    border-radius: 10px;
}

.dropdown-link:hover {
    background-color: #00000081; /* Color de fondo al pasar el mouse */
    color: #fff;
    border-radius: 10px;
}

/* Estilos para las secciones generales */
.section {
    padding: 20px;
/* Línea divisoria */
}

/* Title inside intro section */
.intro-title {
    font-size: 3.5rem;
    margin: 20px 0 20px 0;
    order: -1; /* Ensure title is visually above slideshow in flex layout */
    width: 100%;
    z-index: 10;
    position: relative;
    background-color: rgba(0,0,0,0.5);
    padding: 10px 0;
    
}

/* Slideshow background container */
.slideshow-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.slideshow-background .slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slideshow-background .slideshow img.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    z-index: 0;
}

.slideshow-background .slideshow img.slide.active {
    opacity: 1;
    z-index: 1;
}

/* Overlay for darkening background images for text readability */
.slideshow-background .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    z-index: 1;
}

/* Intro video section adjustments */
.intro-video {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
    background-color: #000;
    overflow: hidden;
    padding: 0 20px;
}

   /* Styles for navigation dots */
   .dots {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 20;
}
.dot {
    display: block;
    width: 12px;
    height: 12px;
    margin: 8px 0;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: white;
}

/**Encabesado o menu responsive**/
/* Botón hamburguesa */
.menu-toggle {
    display: none;
    font-size: 30px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
}

.logo-menu{
    width: 80px;
    height: 40px;
    position: absolute;
    top: 10px;
    left: 10px;
}
.logo-menu img{
    width: 100%;
    height: 100%;
    object-fit: fill;

   
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    height: 100%;
    width: 250px;
    background-color: #000;
    padding-top: 60px;
    transition: 0.3s;
    z-index: 100;
    overflow-y: auto;
    display: none;
}

.sidebar-menu {
    list-style: none;
    padding: 0;
}

.sidebar-menu li {
    padding: 5px;
    border-bottom: 1px solid #444;
}

.sidebar-menu a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
    padding-left: 10px;
}

.sidebar-menu a:hover {
    background-color: #ffee00bd;
    color: #000;
    border-radius: 25px;
}

/* Botón de cerrar */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
    color: #fff;
}


.sidebar summary.toggle-submenu {
  cursor: pointer;
  color: #fff;
  padding: 10px;
  font-weight: bold;
  list-style: none;
  position: relative;
}

.sidebar summary.toggle-submenu:hover {
  background-color: #ffee00bd;
  color: #000;
  border-radius: 25px;
}

.sidebar summary.toggle-submenu::marker {
  display: none; /* Oculta la flecha nativa */
}

.sidebar summary.toggle-submenu::after {
  content: "▸";
  position: absolute;
  right: 15px;
  transition: transform 0.3s ease;
}

.sidebar details[open] summary.toggle-submenu::after {
  transform: rotate(90deg);
}

.sidebar .submenu {
  padding-left: 20px;
  background-color: #000;
  
}

.sidebar .submenu li {
  
  list-style: none;
}

.sidebar .submenu a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.sidebar .submenu a:hover {
  color: #000;
}

/**Fin del apartado de encabezado **/



/* Responsive adjustments */
@media (max-width: 1087px) {
      /* Ajustes para el header */
      .nav-list {
        flex-direction: column; /* Cambiar a columna en pantallas pequeñas */
        display: none;
    }

    .nav-item {
        margin: 10px 0; /* Espaciado vertical entre elementos */
    }

    .nav-menu.active .nav-list {
        display: flex; /* Mostrar el menú en pantallas pequeñas cuando está activo */
    }
    
}
@media (max-width: 768px) {
  
   
    /* Ajustes para el footer */
    .footer {
        flex-direction: column;
        padding: 20px 10px;
    }

    .footer-container {
        flex-direction: column;
        gap: 15px;
    }

    /* Ajustes para el calendario */
    .calendar,
    .event-list,
    .event-details {
        max-width: 100%;
        margin: 10px 0;
    }
    .slideshow {
        height: calc(100vh - 120px);
    }

 
}

/* Estilos para la sección Calendario de Actividades */


.footer {
    padding-top: 20px;
    margin-top: 0;
}
.main-titles{
    text-align: center;
    margin-bottom: 20px;
    margin: auto;
    color: #fff;
    border-bottom: #ffee00bd 3px solid;
    width: 350px;
    font-size: 2.8rem;
}
.titles{
    margin-top: 25px;
    margin-bottom: 10px;
    border-bottom: 3px solid #ffee00bd;
    color: #fff;
    text-align: center;
    font-size: 2.2rem;
}
.titles.left-align {
    text-align: left;
    padding-left: 8px;
    font-size: 2.4rem;
}

/* Grid para mostrar eventos */
.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Columnas responsivas */
    gap: 20px; /* Espacio entre eventos */
}

/* Estilos para cada evento individual */
.evento {
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
}

.evento:hover,
.evento:focus {
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    outline: none;
}

.evento img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

/* Información básica del evento */
.evento-info {
    padding: 10px;
    flex-grow: 1;
}

.evento-info h3 {
    margin-bottom: 5px;
    color: #000;
    text-align: center;
}

.evento-info p {
    font-size: 0.9rem;
    color: #333;
}

/* Botón "Ver más" para mostrar detalles */
.btn-detalle {
    margin: 10px auto 0 auto; /* Centrado horizontal */
    background-color: #000;
    color: #fff;
    border: none;
    padding: 8px 12px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
}

.btn-detalle:hover {
    background-color: #444;
}

/* Detalle del evento desplegable */
.evento-detalle {
    display: none; /* Oculto por defecto */
    padding: 10px;
    background-color: #eee;
    border-top: 1px solid #ccc;
    font-size: 0.9rem;
    color: #222;
}

.evento-detalle p {
    margin-bottom: 10px;
}

/* Botón "Cerrar" dentro del detalle */
.btn-cerrar {
    background-color: #000;
    color: #fff;
    border: none;
    padding: 6px 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 10px auto 0 auto; /* Centrado horizontal */
}

.btn-cerrar:hover {
    background-color: #444;
}


/* Footer multi-column layout */
.footer {
    position: relative;
    bottom: 0;
    width: 100%;
    background-color: #000; /* Fondo negro */
    color: #fff;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 20px;
    font-size: 0.9rem;
}



/* Background and text color for Contacto section in footer */
.footer-section.contact-info {
    background-color: #000;
    color: #fff;
    padding: 20px;
    border-radius: 8px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1 1 200px;
    margin: 10px;
}
.footer-section h3 {
    text-align: center;
}
.footer-section.contact-info h3 {
    margin-top: -20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 1.2rem;
    border-bottom: 2px solid #555;
    padding-bottom: 5px;
}

.footer-section p,
.footer-section ul,
.footer-section iframe {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding-left: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ccc;
}

/* Social media icons */
.footer-section.social-media {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-section.social-media a {
    display: inline-block;
    margin: 0 7.5px;
}
.footer-section.social-media a:first-child {
    margin-left: 0;
}
.footer-section.social-media a:last-child {
    margin-right: 0;
}
.footer-section.social-media {
    text-align: center;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 10px;
}
.social-icons a {
    display: inline-block;
}

.footer-section.social-media a {
    display: inline-block;
}

.footer-section.social-media img {
    width: 32px;
    height: 32px;
    /* Removed filter to ensure icons are visible */
    filter: none;
    transition: filter 0.3s ease;
}

.footer-section.social-media a[aria-label="Twitter"] img {
    filter: none;
}

.footer-section.social-media a:hover img {
    filter: brightness(0) invert(0.7);
}

/* Map iframe */
.footer-section.map {
    text-align: center;
}
.footer-section.map iframe {
    border-radius: 8px;
    border: none;
    display: inline-block;
    margin: 0 auto;
}


/* Botón para volver arriba */
#scrollTopBtn {
    display: none; /* Oculto por defecto */
    position: fixed;
    bottom: 16px;
    right: 20px;
    width: 56px;
    height: 56px;
    z-index: 1000;
    background-color: #000;
    color: #ffee00bd;
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    pointer-events: auto;
    transition: background-color 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
    transform: rotate(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    
}



#scrollTopBtn:hover {
    background-color: #ffee00bd;
    color: #000;
}



/* Estilos para el calendario */
        .calendar {
            max-width: 90%;
            margin: 20px auto;
            border: 1px solid #ccc;
            background: #fafafaab;
            border-radius: 8px;
            padding: 10px;
            backdrop-filter: blur(10px);
        }
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }
        .calendar-header button {
            background: #000;
            color: #fff;
            border: none;
            padding: 14px ;
            cursor: pointer;
            border-radius: 4px;
        }

        .button{
            font-size: 1.5rem;
        }

        #monthYear {
            font-weight: bold;
            font-size: 1.5rem;
            font-family: tahoma;
            color: #000;
            padding: 8px 16px;
            user-select: none;
        }
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 250px));
            gap: 10px;
            justify-content: center; 
        }
        .event-box {
            background-color: #222;
            border: 2px solid #ffee00bd;
            border-radius: 6px;
            width: 100%;
            padding: 10px;
            color: white;
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
            justify-content:space-between;
            transition: background-color 0.3s ease;
            box-sizing: border-box;
        }
        .event-box:hover {
            background-color: #100A05;
            
        }
        .event-box img {
            width: 100%;
            height: 140px;
            object-fit: cover;
            border-radius: 4px;
            margin-bottom: 12px;
        }
        .event-box h3 {
            margin-bottom: 4px;
            font-size: 1.3rem;
            color: #fff;
            border-bottom: 2px solid #ffee00bd;
        }
        .event-box p {
            margin: 1px;
            font-size: 0.95rem;
            color: #fff;
            text-align: left;
            width: 100%;
        }
        .ver-mas-btn {
            border: 2px solid #ffee00bd;
            background-color: transparent;
            color: #ffee00bd;
            padding: 8px 16px;
            cursor: pointer;
            border-radius: 4px;
            font-size: 1em;
            margin-top: 12px;
            width: 100%;
        }

        .ver-mas-btn:hover{
            background-color: #ffee00bd;
            color: #000;
        }

        #prevMonth:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/*Fin del calendario*/

/**Eventos y actividades pasadas**/
.container{
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px;
    gap: 20px;
    color: #fff;
  
    
}

.month{
    font-weight: bold;
    border-radius: 10px;
    padding: 20px;
    border: 1px solid #ffee0077;
    text-align: center;
    width: 90%;
    position: relative;
    
}
.month h2 {
    display: inline-block;
    position: relative;
    margin-bottom: 10px;
    background-image: linear-gradient(to right, #ffee00bd 100%, transparent 0%);
    background-size: 0% 3px;
    background-repeat: no-repeat;
    background-position: bottom left;
    transition: background-size 0.4s ease;
}

.month h2.subrayado {
    background-size: 100% 3px;
}


.arrow_down{
    position: absolute;
    top: 10px; /* Espaciado desde la parte superior */
    right: 10px; /* Espaciado desde el borde derecho */
    color: #ffee0077;
    border-radius: 10px;
    font-size: 50px;
    font-weight: 10;
    width: 50px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
   
}

.arrow{
    transition: transform 0.3s ease, color 0.3s ease;
     
}

.arrow:hover{
   
    color: #ffee00bd;
    transform: translateY(12px) scale(1.1);
    cursor: pointer;
}
.arrow.up {
    transform: rotate(180deg); /* Gira la flecha 180 grados */
}

.annual_calendar_grip{
    max-height: 0;
    opacity: 0;
    transition: max-height 0.5s ease, opacity 0.5s ease;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 250px));
    gap: 10px;
    justify-content: center;
    overflow: hidden;
   
    
   
    
}

.annual_calendar_grip.activo {
    max-height: 100%; /* Suficientemente grande para mostrar el contenido */
    opacity: 1;
    
}

.event-description {
    max-height: 100px;
    overflow: hidden;
    position: relative;
    text-align: justify;
}

.event-description::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2.5em; /* ajusta según tu fuente */
    background: linear-gradient(to bottom, transparent, #00000075);/* el #000 debe coincidir con tu fondo */
}



/**fIN DE EVENTOS Y ACTIVIDADES PASADAS**/

/**CAROUSEL DE PROMOSION**/

.carousel-container {
    width: 90%;
    margin: auto;
    overflow: hidden;
    position: relative;
    
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
   
}

.carousel-item {
    position: relative;
    min-width: 100%;
    cursor: pointer;
    overflow: hidden;
}

.carousel-item img {
    width: 100%;
    height: 400px;
    object-fit: fill;
    display: block;
    transition: transform 0.3s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.overlay-text {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.603); /* Fondo sólido con opacidad */
    color: #fff;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    transition: background 0.6s ease; /* Transición de fondo */
    
}

.overlay-text:hover{
   background: rgba(0, 0, 0, 0.781); /* Cambia la opacidad en hover */
}

/**Noticias**/

.slider {
  width: 90vw;
  height: 500px;
  background-color: #222;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  position: relative;
  overflow: hidden;
}

.slides-wrapper {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease;
}

.container_all {
  width: 100%;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container_news {
  width: 91%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.news {
  width: 50%;
  color: #fff;
  padding: 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

.news h2 {
  text-align: center;
  font-weight: bold;
  margin-bottom: 10px;
  border-bottom: 3px solid #ffee0077;
}

.news h3 {
  margin: 0 0 10px;
}

.news-content {
  overflow-y: auto;
  flex-grow: 1;
  padding-right: 10px;
}

.news-content p {
  text-align: justify;
  font-size: 1.1rem;
  line-height: 1.5;
}

.img-container {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.img-container img,
.img-container video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  background-color: rgba(0,0,0,0.3);
  border: none;
  padding: 10px 15px;
  cursor: pointer;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

/* Responsivo */
@media (max-width: 768px) {
  .container_news {
    flex-direction: column;
  }

  .news,
  .img-container {
    width: 100%;
    height: 50%;
  }

  .news {
    padding: 10px;
    margin-bottom: 0;
  }

  .news-content {
    overflow-y: auto;
    flex-grow: 1;
  }

  .img-container img {
    object-fit: contain;
    height: 100%;
  }
}



/**RESPONSIVE DE EVENTOS Y ACTIVIDADES PASADAS**/
@media screen and (max-width: 768px) {
    .container{
        padding: 10px;
    }
    .month{
        width: 100%;
    }
    .arrow_down{
        width: 50px;
        font-size: 40px;
    }
    .arrow{
        font-size: 40px;
    }
    
}


/* Responsive de el menu hamburguesa*/
@media screen and (max-width: 1087px) {
    .nav-menu {
        display: none;
    }
    .sidebar {
        display: block;
    }

    .menu-toggle {
        display: block;
    }
}

@media screen and (max-width: 960px) {
     #intro-video h1.intro-title {
      font-size: 2.5rem;
   }

   .lia-bermudez {
      font-size: 3rem;
   }
    
}
@media screen and (max-width: 820px) {
     #intro-video h1.intro-title {
      font-size: 2rem;
   }

   .lia-bermudez {
      font-size: 2.5rem;
   }
    
}
@media screen and (max-width: 700px) {
     #intro-video h1.intro-title {
      font-size: 1.8rem;
   }

   .lia-bermudez {
      font-size: 2.1rem;
   }
    
}
@media screen and (max-width: 600px) {
     #intro-video h1.intro-title {
      font-size: 1.6rem;
   }

   .lia-bermudez {
      font-size: 2rem;
   }
    
}
@media screen and (max-width: 400px) {
     #intro-video h1.intro-title {
      font-size: 1rem;
   }

   .lia-bermudez {
      font-size: 1.5rem;
   }
    
}


/* Estilos para el botón DESARROLLADORES */
.desarrolladores-wrapper {
    position: relative;
    z-index: 101;
}

.btn-desarrolladores {
    width: 100%; /* Ancho del 100% para ocupar todo el espacio disponible */
    background-color: #ffee00bd; /* Color de fondo amarillo */
    color: #000; /* Color del texto negro */
    font-weight: bold; /* Texto en negrita */
    font-size: 1.2rem; /* Tamaño de la fuente */
    padding: 15px 0; /* Espaciado interno arriba y abajo */
    border: none; /* Sin borde */
    cursor: pointer; /* Cambia el cursor a una mano al pasar por encima */
    text-align: center; /* Texto centrado */
    transition: background-color 0.3s ease; /* Transición suave para el cambio de color de fondo */
    -webkit-user-select: none; /* Evita que el usuario pueda seleccionar el texto en Safari */
    user-select: none; /* Evita que el usuario pueda seleccionar el texto */
}

.btn-desarrolladores:hover {
    background-color: #000; /* Cambia el fondo a negro al pasar el mouse */
    color: #ffee00bd; /* Cambia el texto a amarillo al pasar el mouse */
}

/* Estilos para la sección desplegable de desarrolladores */
.desarrolladores-info {
    width: 100%; /* Ancho del 100% para ocupar todo el espacio disponible */
    background-color: rgba(34, 34, 34, 0.85); /* Fondo semi-transparente */
    color: #fff; /* Color del texto blanco */
    max-height: 0; /* Altura máxima inicial de 0 para ocultar el contenido */
    overflow: hidden; /* Oculta el contenido que excede la altura máxima */
    transition: max-height 0.4s ease-out, padding 0.4s ease-out, opacity 0.4s ease-out; /* Transiciones suaves para la altura, opacidad y transformación */
    opacity: 0; /* Opacidad inicial de 0 para ocultar el contenido */
    padding: 0 20px; /* Espaciado interno 20px; /* Espaciado interno a los lados */
    box-sizing: border-box; /* Incluye el padding en el ancho total del elemento */
    position: absolute; /* Cambiado a absolute para que se posicione relativo al wrapper */
    bottom: 100%; /* Posicionado justo encima del botón */
    left: 0; /* Alinear a la izquierda del wrapper */
    border-radius: 8px 8px 0 0; /* Bordes redondeados en la parte inferior */
    box-shadow: 0 -4px 8px rgba(0,0,0,0.5); /* Sombra hacia arriba */
    -webkit-backdrop-filter: blur(10px); /* Para compatibilidad con navegadores WebKit */
    backdrop-filter: blur(10px);
    text-align: center;
    z-index: 1000; /* Aumentado para asegurar que esté por encima de otros elementos */
}
 
.desarrolladores-info.active {
    max-height: 300px; /* suficiente para mostrar todo el contenido */
    opacity: 1; /* Opacidad completa para mostrar el contenido */
    padding: 15px 20px; /* Espaciado interno */
}

.btn-desarrolladores {
    width: 100%; /* Ancho del 100% para ocupar todo el espacio disponible */
    background-color: #000; /* Color de fondo negro */
    color: #ffee00bd; /* Color del texto amarillo */
    font-weight: bold; /* Texto en negrita */
    font-size: 1.2rem; /* Tamaño de la fuente */
    padding: 15px 0; /* Espaciado interno arriba y abajo */
    border: none; /* Sin borde */
    cursor: pointer; /* Cambia el cursor a una mano al pasar por encima */
    text-align: center; /* Texto centrado */
    transition: background-color 0.3s ease; /* Transición suave para el cambio de color de fondo */
    -webkit-user-select: none; /* Evita que el usuario pueda seleccionar el texto en Safari */
    user-select: none; /* Evita que el usuario pueda seleccionar el texto */
    position: relative; /* Posicionamiento relativo */
    z-index: 101; /* Asegura que esté por encima de otros elementos */
    border-radius: 8px 8px 0 0; /* Bordes redondeados en la parte superior */
}

.btn-desarrolladores:hover {
    background-color: #ffee00bd; /* Cambia el fondo a amarillo al pasar el mouse */
    color: #000; /* Cambia el texto a negro al pasar el mouse */
}

.desarrolladores-info.active {
    max-height: 300px; /* suficiente para mostrar todo el contenido */
    opacity: 1; /* Opacidad completa para mostrar el contenido */
    padding: 15px 20px; /* Espaciado interno */
}

.desarrolladores-nombres p,
.desarrolladores-contacto p {
    margin: 5px 0; /* Espaciado vertical */
    text-align: center; /* Texto centrado */
    font-size: 1.2rem; /* Tamaño de la fuente */
    font-family: 'Poppins', sans-serif; /* Fuente */
    font-weight: 600; /* Peso de la fuente */
    color: #ffee00bd; /* Color del texto amarillo */
    animation: fadeInUp 0.8s ease forwards; /* Animación */
    opacity: 0; /* Opacidad inicial de 0 */
}

.desarrolladores-nombres p:nth-child(1) {
    animation-delay: 0.1s; /* Retraso de la animación para el primer nombre */
}
.desarrolladores-nombres p:nth-child(2) {
    animation-delay: 0.3s; /* Retraso de la animación para el segundo nombre */
}
.desarrolladores-nombres p:nth-child(3) {
    animation-delay: 0.5s; /* Retraso de la animación para el tercer nombre */
}
.desarrolladores-nombres p:nth-child(4) {
    animation-delay: 0.7s; /* Retraso de la animación para el cuarto nombre */
}
.desarrolladores-nombres p:nth-child(5) {
    animation-delay: 0.9s; /* Retraso de la animación para el quinto nombre */
}
.desarrolladores-nombres p:nth-child(6) {
    animation-delay: 1.1s; /* Retraso de la animación para el sexto nombre */
}

@keyframes fadeInUp {
    0% {
        opacity: 0; /* Opacidad inicial de 0 */
        transform: translateY(20px); /* Desplaza el elemento 20px hacia abajo */
        text-shadow: 0 0 5px rgba(255, 238, 0, 0.7); /* Sombra de texto */
    }
    100% {
        opacity: 1; /* Opacidad completa */
        transform: translateY(0); /* Elimina el desplazamiento vertical */
        text-shadow: 0 0 10px rgba(255, 238, 0, 1); /* Sombra de texto */
    }
}

.desarrolladores-contacto a {
    color: #ffee00bd; /* Color del texto amarillo */
    text-decoration: none; /* Sin subrayado */
}

.desarrolladores-contacto a:hover {
    text-decoration: underline; /* Subrayado al pasar el mouse */
}



/**CHATBOTT**/
/* Importa la fuente Inter desde Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

/* Define las variables de color para el tema */
:root {
  --color-bg: #fafafaab; /* Color de fondo general */
  --color-text-primary: #1A1A1A; /* Color del texto principal */
  --color-text-secondary: #4A4A4A; /* Color del texto secundario */
  --color-accent: #FFD700; /* Color de acento (amarillo) */
  --color-accent-hover: #E0B800; /* Color de acento al pasar el mouse (amarillo más oscuro) */
  --color-border: #E0E0E0; /* Color del borde */
  --color-input-bg: #F8F8F8; /* Color del fondo de los campos de entrada */
  --color-bot-message-bg: #FFFACD; /* Color del fondo de los mensajes del bot (amarillo claro) */
  --color-user-message-text: #1A1A1A; /* Color del texto de los mensajes del usuario */
  --color-toggle: #000; /* Color del botón de alternancia */
  --radius: 0.75rem; /* Radio del borde */
}

/* Estilos para el encabezado del chatbot */
header {
  padding: 1rem; /* Espaciado interno */
  background: var(--color-accent); /* Color de fondo amarillo */
  color: var(--color-text-primary); /* Color del texto principal */
  flex-shrink: 0; /* Evita que el encabezado se encoja */
}

header h1 {
  font-size: 1.25rem; /* Tamaño de la fuente */
  margin: 0; /* Sin margen */
}

/* Estilos para la ventana de chat */
.chat-window {
  flex-grow: 1; /* La ventana de chat ocupa el espacio restante */
  padding: 1rem; /* Espaciado interno */
  overflow-y: auto; /* Agrega una barra de desplazamiento vertical si el contenido excede la altura */
  background: var(--color-input-bg); /* Color del fondo de los campos de entrada */
  display: flex; /* Utiliza flexbox para organizar los mensajes */
  flex-direction: column; /* Organiza los mensajes en una columna */
  gap: 0.5rem; /* Espaciado entre los mensajes */
}

/* Estilos para los mensajes */
.message {
  max-width: 80%; /* Ancho máximo del mensaje */
  padding: 0.5rem 0.75rem; /* Espaciado interno */
  border-radius: var(--radius); /* Radio del borde */
  font-size: 0.95rem; /* Tamaño de la fuente */
  line-height: 1.4; /* Altura de la línea */
  word-wrap: break-word; /* Permite que las palabras largas se rompan y pasen a la siguiente línea */
}

/* Estilos para los mensajes del usuario */
.message.user {
  background: var(--color-accent); /* Color de fondo amarillo */
  color: var(--color-user-message-text); /* Color del texto del usuario */
  align-self: flex-end; /* Alinea el mensaje a la derecha */
  border-bottom-right-radius: 0; /* Elimina el borde inferior derecho */
}

/* Estilos para los mensajes del bot */
.message.bot {
  background: var(--color-bot-message-bg); /* Color del fondo de los mensajes del bot (amarillo claro) */
  color: var(--color-text-primary); /* Color del texto principal */
  align-self: flex-start; /* Alinea el mensaje a la izquierda */
  border-bottom-left-radius: 0; /* Elimina el borde inferior izquierdo */
}

/* Estilos para el formulario de entrada */
form {
  display: flex; /* Utiliza flexbox para organizar los elementos del formulario */
  border-top: 1px solid var(--color-border); /* Borde superior */
  padding: 0.75rem; /* Espaciado interno */
  background: var(--color-bg); /* Color de fondo general */
  flex-shrink: 0; /* Evita que el formulario se encoja */
  gap: 0.5rem; /* Espaciado entre los elementos del formulario */
}

/* Estilos para el campo de entrada de texto */
input[type="text"] {
  flex-grow: 1; /* El campo de entrada ocupa el espacio restante */
  border: 1px solid var(--color-border); /* Borde */
  border-radius: var(--radius); /* Radio del borde */
  padding: 0.5rem 0.75rem; /* Espaciado interno */
  font-size: 0.95rem; /* Tamaño de la fuente */
  background: var(--color-input-bg); /* Color del fondo de los campos de entrada */
  color: var(--color-text-primary); /* Color del texto principal */
}

/* Estilos para el campo de entrada de texto cuando está enfocado */
input[type="text"]:focus {
  outline: none; /* Elimina el contorno */
  border-color: var(--color-accent); /* Cambia el color del borde a amarillo */
  box-shadow: 0 0 4px var(--color-accent); /* Agrega una sombra amarilla */
  background: white; /* Cambia el fondo a blanco */
}

/* Estilos para el botón */
button {
  background: var(--color-accent); /* Color de fondo amarillo */
  border: none; /* Sin borde */
  color: var(--color-text-primary); /* Color del texto principal */
  font-weight: 600; /* Texto en negrita */
  padding: 0.5rem 1rem; /* Espaciado interno */
  border-radius: var(--radius); /* Radio del borde */
  cursor: pointer; /* Cambia el cursor a una mano al pasar por encima */
  transition: background-color 0.3s ease, color 0.3s ease; /* Transición suave para el cambio de color de fondo y texto */
}

/* Estilos para el botón al pasar el mouse */
button:hover {
  background: var(--color-text-primary); /* Cambia el fondo al color del texto principal */
  color: var(--color-accent); /* Cambia el color del texto a amarillo */
}

/* Estilos para la barra de desplazamiento de la ventana de chat */
.chat-window::-webkit-scrollbar {
  width: 6px; /* Ancho de la barra de desplazamiento */
}

/* Estilos para el pulgar de la barra de desplazamiento */
.chat-window::-webkit-scrollbar-thumb {
  background-color: var(--color-accent); /* Color de fondo amarillo */
  border-radius: 3px; /* Radio del borde */
}

/* Estilos para el botón de alternancia del chat */
#chat-toggle {
  position: fixed; /* Posicionamiento fijo */
  bottom: 5rem; /* Distancia desde la parte inferior */
  right: 1.25rem; /* Distancia desde la derecha */
  background-color: var(--color-toggle); /* Color de fondo del botón de alternancia */
  color: var(--color-text-primary); /* Color del texto principal */
  width: 3.5rem; /* Ancho */
  height: 3.5rem; /* Alto */
  border-radius: 50%; /* Forma circular */
  display: flex; /* Utiliza flexbox para centrar el contenido */
  justify-content: center; /* Centra horizontalmente */
  align-items: center; /* Centra verticalmente */
  font-size: 1.5rem; /* Tamaño de la fuente */
  cursor: pointer; /* Cambia el cursor a una mano al pasar por encima */
  box-shadow: 0 2px 6px rgba(0,0,0,0.3); /* Sombra */
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
  transition: background-color 0.3s ease; /* Transición suave para el cambio de color de fondo */
}
#chat-toggle img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  pointer-events: none;
}

/* Estilos para el botón de alternancia del chat al pasar el mouse */
#chat-toggle:hover {
  background-color: var(--color-accent-hover); /* Cambia el fondo a amarillo más oscuro */
}

/* Estilos para el contenedor del chat cuando está oculto */
.chat-container.hidden {
  display: none; /* Oculta el contenedor */
}

/* Estilos para el contenedor del chat */
.chat-container {
  position: fixed; /* Posicionamiento fijo */
  bottom: 9rem; /* Distancia desde la parte inferior */
  right: 1.5rem; /* Distancia desde la derecha */
  width: 360px; /* Ancho */
  max-height: 400px; /* Altura máxima */
  display: flex; /* Utiliza flexbox para organizar los elementos */
  flex-direction: column; /* Organiza los elementos en una columna */
  border: 1px solid var(--color-border); /* Borde */
  border-radius: var(--radius); /* Radio del borde */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1); /* Sombra */
  background: var(--color-bg); /* Color de fondo general */
  overflow: hidden; /* Oculta el contenido que excede las dimensiones */
  z-index: 1000; /* Asegura que esté por encima de otros elementos */
}

/* Estilos para mensajes toast desde la derecha */
.toast-container {
    position: fixed;
    bottom: 10rem; /* Subido más arriba */
    right: 1.5rem; /* Alineado con el botón del chatbot */
    z-index: 1100;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 320px;
    pointer-events: none; /* Para que no interfiera con clicks */
}

.toast-message {
    background-color: #ffffff;
    color: black;
    padding: 12px 20px;
    border-radius: 12px;
    box-shadow: 0 0 8px 2px #ffee00;
    font-size: 14px;    
    font-family: 'Poppins', Arial, sans-serif;
    font-weight: 600;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards, fadeOut 0.5s forwards 4.5s;
    position: relative;
    pointer-events: auto;
}

/* Triángulo para el globo de diálogo */
.toast-message::after {
    content: "";
    position: absolute;
    bottom: -10px; /* Subido más */
    right: 20px; /* Cambiado a la derecha */
    border-width: 10px 10px 0 10px;
    border-style: solid;
    border-color: #ffffff transparent transparent transparent;
}

@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}


/**parte del formulario**/

/* Estilos para el modal de inicio */
.inicio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Contenido del modal */
.inicio-modal-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 320px;
}

/* Avatar Lia */
.avatar-lia {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

/* Formulario de inicio */
.form-inicio {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.25);
    padding: 15px;
    border-radius: 10px;
}

/* Texto de bienvenida debajo del avatar */
.welcome-text {
    color: #fff;
    font-weight: bold;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: justify;
    align-items: center;
}

.welcome-text p {
    opacity: 0;
    transform: translateY(20px);
    animation-fill-mode: forwards;
    animation-name: slideInUp;
    animation-duration: 0.6s;
}

.welcome-text p:nth-child(1) {
    animation-delay: 0.2s;
}

.welcome-text p:nth-child(2) {
    animation-delay: 0.6s;
}

.welcome-text p:nth-child(3) {
    animation-delay: 1s;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-inicio label {
    color: #fff;
    font-weight: bold;
    margin-bottom: 5px;
}

.form-inicio input[type="text"] {
    padding: 10px;
    border-radius: 8px;
    border: none;
    outline: none;
    font-size: 1rem;
}

.form-inicio button {
    background-color: #ffee00bd;
    color: #000;
    font-weight: bold;
    padding: 12px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.form-inicio button:hover {
    background-color: #000;
    color: #ffee00bd;
}


/* Estilos para la sección Recorrido Virtual */
.virtual-tour-section {
  margin-top: 50px;
  text-align: center;
  padding: 40px 20px;
}

.section-title {
  font-size: 2rem;
  color: #ffee00bd;
  margin-bottom: 10px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 3px solid #ffee00bd;
  display: inline-block;
  padding-bottom: 5px;
}

.virtual-tour-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  padding: 0 10px;
  max-width: 100%;
  box-sizing: border-box;
}

.virtual-tour-link {
  text-decoration: none;
  width: 100%;
  max-width: 1900px;
  margin: 0 auto;
  display: block;
}

.virtual-tour-card {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
}

.virtual-tour-card:hover {
  transform: scale(1.05);
}

.virtual-tour-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 1;
  transition: opacity 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

.virtual-tour-card:hover .overlay {
  opacity: 1;
}

.overlay-text {
  color: white;
  font-size: 1.2rem;
  font-weight: bold;
  text-shadow: 0 0 5px rgba(0,0,0,0.7);
  text-align: center;
  padding: 0 10px;
}

/* Responsive ajustes para el recorrido virtual */
@media (max-width: 768px) {
  .virtual-tour-card {
    height: 200px;
  }
  .overlay-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .virtual-tour-card {
    height: 150px;
  }
  .overlay-text {
    font-size: 0.9rem;
  }
}
