@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:ital,wght@0,100..700;1,100..700&family=Satisfy&family=Space+Grotesk:wght@300..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', 'sans-serif';
}

html {
    scroll-behavior: smooth;
}

/* SECCION DE INICIO MENU */
.inicio .contenido {
    max-width: 1200px;
    margin: auto;
    color: #fff;
}

.inicio header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    padding: 0 5%;
    align-items: center;
    z-index: 100;
    background: linear-gradient(to right, #1229ff, #0d48ec, #219bff);
}

.inicio .logo {
    display: flex;
    align-items: center;
    color: #00deef;
    font-size: 50px;
}

.inicio .logo img {
    height: 40px;
}

.inicio nav ul {
    list-style: none;
}

.inicio nav ul li {
    float: left;
    position: relative;
}

#inicio nav ul li a {
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 5px 10px;
    border: 2px solid transparent;
    border-radius: 15px;
}

#inicio header nav ul li ul {
    position: absolute;
    right: 0;
    width: 300px;
    background: linear-gradient(to right, rgba(16, 4, 190, 0.5), rgba(16, 20, 255, 0.5), rgba(15, 167, 255, 0.5));
    display: none;
    border-radius: 10px;
}

#inicio header nav ul li ul li a {
    font-size: 15px;
    text-transform: capitalize;
}

#inicio header nav ul li ul li {
    width: 100%;
}

#inicio header nav ul li:hover>ul {
    display: initial;
}

#inicio header nav a:hover {
    transition: .3s;
    border-radius: 15px;
    background-color: #fff;
    color: #000d7e;
}

.navegacion a:active {
    background-color: #ff4747;
}

.inicio .redes a {
    text-decoration: none;
    color: #fff;
    display: inline-block;
    margin: 0 10px;
}

.inicio .redes a:hover {
    color: #3345e9;
}


/* redes */
.social-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    /* background-color: #f2f2f2; */
    /* box-shadow: 0px 0px 15px #00000027; */
    padding: 8px 6px;
    border-radius: 5em;
}

.social-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    /* Reducido el ancho */
    height: 30px;
    /* Reducido el alto */
    border-radius: 50%;
    margin: 0 6px;
    /* Reducido el margen */
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.27);
    /* Simplificado el box-shadow */
    transition: 0.3s;
}

.social-button:hover {
    background-color: #f2f2f2;
    box-shadow: 0px 0px 6px 3px rgba(0, 0, 0, 0.27);
    /* Simplificado el box-shadow */
}

.social-buttons svg {
    transition: 0.3s;
    height: 14px;
    /* Reducido el tamaño del icono */
    width: auto;
    /* Ajustado para mantener la relación de aspecto */
}

.facebook {
    background-color: #2549e7;
}

.facebook svg {
    fill: #f2f2f2;
}

.facebook:hover svg {
    fill: #4267B2;
}

.instagram {
    background-color: #c13584;
}

.instagram svg {
    fill: #f2f2f2;
}

.instagram:hover svg {
    --instagram-white: #fff;
    --instagram-blue: #3051f1;
    --instagram-purple: #c92bb7;
    --instagram-red: #f73344;
    --instagram-orange: #fa8e37;
    --instagram-yellow: #fcdf8f;
    --instagram-yellow_to: #fbd377;

    background: radial-gradient(circle farthest-corner at 28% 120%,
            var(--instagram-yellow) -16%,
            var(--instagram-yellow_to) 16%,
            var(--instagram-orange) 32%,
            var(--instagram-red) 48%,
            transparent 64%),
        linear-gradient(0deg, var(--instagram-red) 16%, transparent 72%),
        linear-gradient(145deg,
            var(--instagram-blue) -48%,
            var(--instagram-purple) 24%);
}


#toggle,
#inicio label {
    display: none;
    cursor: pointer;
}

#inicio .menu {
    width: 45px;
    height: 25px;
    color: #fff;
}

@media(max-width:950px) {
	#inicio label {
		display: initial;
	}

	#inicio {
		padding: 20px 10%;
	}

	label[for="toggle"] .menu {
		filter: invert(50%) sepia(100%) saturate(200%) hue-rotate(180deg);
	  }
	  

	#inicio nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: linear-gradient(90deg, rgb(37, 37, 221) 28%, rgb(0, 29, 122) 100%);
		display: none;
	}

    .inicio .logo img {
        height: 35px;
    }

	#inicio nav ul li {
		width: 100%;
	}

	#inicio nav ul li a {
		padding: 6px 10px 6px 10%;
	}

	#inicio nav ul li ul {
		position: fixed;
        top: 100%;
        left: 40%;
		padding: 10px 15px;
        transform: translateX(-50%);
		transform: translateY(-20%);
        max-height: 450px;
        overflow-y: auto;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
		z-index: 999; /* Aumenta el z-index para asegurar que se muestren sobre el menú principal */
	}

	#inicio nav ul li ul li {
		width: 100%;
		cursor: pointer;
	}

	#inicio nav ul li ul li a {
		font-size: 7px;
		padding: 6px 10px;
		
	}

    #toggle:checked~nav ul li ul {
        max-height: 500px;
        transition: max-height 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 1;
        visibility: visible;
    }

    /* Estilos para mejorar la legibilidad */
    #inicio nav ul li ul {
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        border-radius: 4px;
		width: 240px;
    }

	#toggle:checked~nav {
		display: block;
	}

}

/* BIENVENIDA */

.image-container {
    position: relative;
    width: 100%;
    /* contenedor ocupe todo el ancho disponible */
    min-height: 600px;
    /* Define una altura específica para un diseño más flexible */
    overflow: hidden;
    /* contenido no se desborde */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    /* Color del texto */
}

.overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.404);
    /* Color negro con 50% de opacidad */
    z-index: -1;
    /* Overlay esté detrás del contenido */
}

.overlay img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* imagen cubra todo el espacio disponible */
    position: absolute;
    z-index: -2;
    /* imagen esté detrás del overlay */
}

.overlay h1 {
    z-index: 1;
    /* texto esté delante del overlay */
    margin-top: 0;
    /* Ajusta el margen superior según sea necesario */
    font-family: "Josefin Sans", "Satisfy", serif;
    font-weight: 400;
    font-size: 4.5vw;
    text-align: center;
}

/* responsive adaptar el diseño a diferentes tamaños de pantalla */
@media (max-width: 768px) {
    .image-container {
        height: 300px;
        /* Ajusta la altura para pantallas más pequeñas */
    }

    .overlay h1 {
        font-size: 24px;
        /* Ajusta el tamaño de la fuente para pantallas más pequeñas */
    }
}

@media (max-width: 480px) {
    .image-container {
        height: 200px;
        /* Ajusta aún más la altura para pantallas muy pequeñas */
    }

    .overlay h1 {
        font-size: 10.5vw;
        /* Reduce el tamaño de la fuente para pantallas muy pequeñas */
    }
}

/* ------------------------------------------------------------------------------- */
/* PARTE 1 */
/* -------------------------------------------------------------------------------- */
.contenedor1 {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centrado vertical */
    align-items: center; /* Centrado horizontal */
    height: 70vh; /* Altura del viewport */
    max-width: 1200px; /* Máximo de ancho */
    margin: auto; /* Centrado en la página */
}
.centrado1{
    max-width: 700px;
}

.centrado1 h1, 
.centrado1 p {
    text-align: center; /* Aseguramos que el texto dentro también esté centrado */
}

.centrado1 h1 {
    font-size: 2em;
}

.centrado1 p{
    font-size: 17px;
    line-height: 30px;
}

/* Ajuste para pantallas medianas */
@media (max-width: 768px) {

    .contenedor1 {
        height: 50vh;
    }

    .centrado h1{
        font-size: 2rem;
    }

    .contenedor1 p {
        font-size: 15px;
    }
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 480px) {

    .centrado1 {
        padding: 0px 20px;
    }

    .centrado h1{
        font-size: 2rem;
    }
    .contenedor1 p {
        font-size: 1rem;
    }
}

/* ------------------------------------------------------------------- */
/* INFORMACION */
/* -------------------------------------------------------------------- */

.info-general {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80vh;
}

.overlay-container {
    position: relative;
    width: 90%; /* Ancho responsivo */
    max-width: 1200px; /* Ancho máximo */
    height: 70vh; /* Altura responsiva */
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra todo el div */
}

.overlay-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 255, 0.5); /* Azul transparente */
    z-index: 1; /* Asegura que el overlay esté encima de la imagen */
}

.text-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centra el texto */
    color: white; /* Color del texto */
    text-align: center;
    z-index: 2; /* Asegura que el texto esté encima del overlay */
}

.text-content h1 {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 1.2em;
    line-height: 1.6;
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
    .text-content h1 {
        font-size: 2em; /* Tamaño de fuente más pequeño en pantallas pequeñas */
    }

    .text-content p {
        font-size: 1em; /* Tamaño de fuente más pequeño en pantallas pequeñas */
    }
}

@media (max-width: 480px) {
    .overlay-container {
        height: 50vh; /* Ajusta la altura en pantallas muy pequeñas */
    }

    .text-content h1 {
        font-size: 1.5em; /* Tamaño de fuente aún más pequeño */
    }

    .text-content p {
        font-size: 0.9em; /* Tamaño de fuente aún más pequeño */
    }
}
    

/* ------------------------------------------------------------------- */
/* GALERIA */
/* -------------------------------------------------------------------- */

.container-galeria {
    max-width: 1200px;
    margin: 0 auto;
}

.texto-galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50vh; /* Ajusta esto según tus necesidades */
}

.texto-galeria h1 {
    font-size: 32px;
    margin-bottom: 10px;
}

.descripcion-galeria {
    font-size: 18px;
    margin-bottom: 20px;
    text-align: center;
}

.gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.gallery img {
    width: calc(33.333% - 20px);
    height: 280px;
    object-fit: cover;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.centrar-boton-galeria {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 20vh; /* Ajusta esto según tus necesidades */
}

.centered-button {
    display: block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.centered-button:hover {
    background-color: #0056b3;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .texto-galeria {
         height: auto; /* Ajusta la altura automáticamente */
         padding: 10px;
     }
 
    .texto-galeria h1 {
        font-size: 2rem;
     }
     
     .descripcion-galeria {
         font-size: 1rem; /* Reduce el tamaño del texto para pantallas más pequeñas */

     }
 }

 @media (max-width: 480px) {
    .texto-galeria {
         padding: 10px; /* Reduce el padding para pantallas muy pequeñas */
     }
 
    .texto-galeria h1 {
        font-size: 2rem;
     }
     
     .descripcion-galeria {
         font-size: 1rem; /* Reduce aún más el tamaño del texto para pantallas extra pequeñas */
     }
 }

 @media (max-width: 1024px) {

    .gallery {
        padding: 10px;
    }
    .gallery img {
         flex: 1 0 46%; /* Ajusta el ancho de las imágenes para pantallas medianas */
     }
 }
 
 @media (max-width: 768px) {
    .gallery img {
         flex: 1 0 100%; /* Muestra una sola imagen por fila en pantallas pequeñas */
     }
 }

/* ----------------------------------------------------------------------- */
/* SECCION DE FOOTER */
/* ----------------------------------------------------------------------- */

.footer {
    background-color: #333;
    color: #fff;
    padding: 2rem 0;
  }
  
  .container-footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .row-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .col-footer {
    flex-basis: calc(33.333% - 20px);
    text-align: center;
    justify-content: center;
    align-items: center;
  }

  .col-footer h3 {
    font-size: 25px;
  }
  
  .btn-wspinfo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
  }

  .btn-wspinfo a{
    text-decoration: none;
  }
  
  
  .contact-btn {
    background-color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    border-radius: 15px;
    padding: 10px 15px;
    font-size: 16px;
    transition: all 0.3s ease;
  }
  
  .contact-btn:hover {
    background-color: rgba(22, 241, 114, 0.849);
    color: #fff;
  }
  
  .contact-btn i {
    margin-right: 5px;
    font-size: 18px;
  }
  
  
  .social-links {
    list-style-type: none;
    padding-left: 0;
  }
  
  .social-links li {
    display: inline-block;
    margin-right: 15px;
  }
  
  .social-links i {
    font-size: 24px;
    color: #fff;
  }
  
  
  @media (max-width: 768px) {
    .row-footer {
      flex-direction: column;
      text-align: center;
    }
    
    .col-footer {
      flex-basis: 100%;
      margin-bottom: 20px;
    }
  }