@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;700&display=swap');



:root{
    --background: linear-gradient(135deg, #2d50ecaf 0%, #764ba298 100%);
    --color-primary:#3f69f3;
    --color-secondary:#0b16b1;
    --boton-padding: 20px 40px;
}

body{
    font-family: 'Raleway', sans-serif;
}

.container{
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    padding:  0;
    max-width: 1200px;
}

.subtitle{
    color: var(--color-primary);
    font-size: 2.5rem;
    margin-bottom: 35px;
}

.hero {
    height: 100vh;
    background: none; /* Eliminamos el fondo anterior */
    position: relative;
    overflow: hidden; /* Para que el carrusel no se desborde */
}

.hero__carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Colocamos el carrusel detrás del contenido */
}

.hero__carousel-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero__carousel-img.active {
    opacity: 1;
}

.hero__carousel-img.prepare {
    opacity: 0;
    transition: none; /* Sin transición al preparar */
}

.nav{
    display: flex;
    justify-content: flex-end;
    height: 70px;
    align-items: center;
    font-weight: 700;
}

.nav--footer{
    font-weight: 300;
    justify-content: flex-start;
}

.nav__items{
    color: #fff;
    text-decoration: none;
    margin-right: 20px;
    padding: 10px 15px;
    font-weight: inherit;
}

.nav__items--cta{
    border: 1px solid #fff;
}

.nav__items--footer{
    padding: 10px ;
}

.hero__container{
    position: relative;
    /* Asegúrate de que tenga un alto definido o que el contenido lo defina */
    min-height: 400px; /* Ejemplo, ajusta según tu diseño */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('assets/your-hero-background-image.jpg'); /* Reemplaza con tu imagen de fondo */
    background-size: cover;
    background-position: center;
    color: #fff; /* Color del texto sobre el fondo */
    overflow: hidden; /* Importante para que la capa no se desborde */

    /* Agregamos una transición para el efecto de levantamiento/escala */
    transition: transform 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
    border-radius: 10px; /* Bordes redondeados para un look más moderno */
    margin: 20px auto; /* Centrar y dar espacio */
    max-width: 90%; /* Ancho máximo */
    
}




.hero__texts{
    width: 80%;
    margin-bottom: 50px;
}

.hero__title{
    font-size: 3.2rem;
}

.hero__subtitle{
    font-size: 2rem;
    font-weight: 300;
    margin: 15px 0;
}

.hero__cta{
    display: inline-block;
    background: #fff;
    padding: var(--boton-padding);
    color: var(--color-primary);
    text-decoration: none;
    border-radius: 40px;
}

.hero__wave{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
}

/* About */

.presentation{
    padding-top: 0;
    text-align: center;
}

.presentation__picture{
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 10px;
    object-fit: cover;
    object-position: top;
}

.presentation__copy{
    width: 80%;
    margin: 0 auto;
}

.presentation__cta{
    display: inline-block;
    margin-top: 30px;
    background: var(--color-primary);
    color: #fff;
    text-decoration: none;
    padding: var(--boton-padding);
    border-radius: 40px;
}

.about{
    min-height: 400px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 80px;
    justify-items: center;
    align-items: center;
}

.about__img{
    text-align: center;
}

.about__img--left{
    text-align: left;
}

.about__picture{
    max-width: 80%;
}

.about__paragraph{
    margin-bottom: 20px;
    line-height: 1.5;
    font-weight: 300;
}

/* Projects */

.projects{
    background: #f2f2f2;
}

.projects__grid{
    display: grid;
    height: 550px;
    grid-template-areas: 
    "img1 img1 img2 img3"
    "img1 img1 img4 img5";
    gap: 10px;
}

.projects__item{
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.projects__img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.projects__item:nth-of-type(1){
    grid-area: img1;
}

.projects__item:nth-of-type(2){
    grid-area: img2;
}

.projects__item:nth-of-type(3){
    grid-area: img3;
}

.projects__item:nth-of-type(4){
    grid-area: img4;
}


.projects__item:nth-of-type(5){
    grid-area: img5;
}

.projects__hover{
    position: absolute;
    background: #dc143c8c;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: translateX(100%);
    cursor: pointer;
    transition: transform .3s ease-in-out;
}

.projects__item:hover .projects__hover{
    transform: translateX(0%);
}

.projects__icon{
    margin-top: 10px;
    font-size: 30px;
}

/* Testimony */

.testimony__grid{
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.testimony__item{
    width: 95%;
    margin: 0 auto;
    background: var(--color-secondary);
    box-shadow: 0 8px 10px rgba(66,66,66, .5);
    border-radius: 7px;
    padding: 30px 25px;
    color: #fff;
    margin-bottom: 50px;
}

.testimony__person{
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimony__img{
    width: 100px;
    min-width: 100px;
    height: 100px;
    object-fit: cover;
    object-position: top;
    border-radius: 50%;
    border: 3px solid #fff;
    margin-right: 30px;
}

.testimony__name{
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.testimony__verification{
    color: #E0AFA0;
    font-weight: 700;
}

.testimony__review{
    font-weight: 300;
}

.footer {
    background-color: #34495e; /* Un gris azulado oscuro */
    color: #fff;
    padding: 2rem 0; /* Aumenta el padding vertical */
    width: 100%;
    box-sizing: border-box;
}

.footer__container {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* Tres columnas de igual ancho */
    gap: 1rem; /* Espacio entre las columnas */
    max-width: 1200px; /* Ancho máximo del contenedor */
    margin: 0 auto; /* Centrar el contenedor */
    padding: 0 1rem; /* Espacio horizontal dentro del contenedor */
}

.footer__section {
    margin-bottom: 1rem; /* Espacio debajo de cada sección */
}

.footer__title {
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3); /* Línea debajo del título */
    padding-bottom: 0.5rem;
}

.footer__contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__contact-item {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.footer__contact-item i {
    margin-right: 0.5rem;
    width: 1.2rem; /* Ancho fijo para los íconos */
    text-align: center; /* Centrar los íconos */
}

.footer__contact-link {
    color: #fff;
    text-decoration: none;
}

.footer__contact-link:hover {
    text-decoration: underline;
}

.footer__logo-img {
    max-width: 150px; /* Ajusta el tamaño del logo */
    height: auto;
    display: block;
    margin: 0 auto; /* Centrar el logo */
}

.footer__legal {
    text-align: center; /* Centrar el texto en la sección legal */
}

.footer__copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Media Queries para Responsividad */

@media (max-width: 768px) {
    .footer__container {
        grid-template-columns: 1fr; /* Una columna en pantallas pequeñas */
        text-align: center; /* Centrar el texto en general */
    }

    .footer__logo {
        order: -1; /* Mover el logo arriba en pantallas pequeñas */
        margin-bottom: 1rem;
    }
}



.footer {
    background-color: #34495e;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    width: 100%;
    box-sizing: border-box;
}

.footer__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.footer__logo {
    max-width: 80px;
    height: auto;
    margin-bottom: 0.5rem;
}

.footer__address,
.footer__city {
    margin: 0.2rem 0;
    font-size: 0.9rem;
}

.footer__verification-link {
    color: #fff; /* Color del texto del enlace */
    text-decoration: none; /* Quita el subrayado predeterminado */
    display: flex; /* Para alinear el ícono y el texto */
    align-items: center; /* Centra verticalmente el ícono y el texto */
    margin-top: 0.5rem; /* Espacio arriba del enlace */
    font-size: 0.9rem; /* Tamaño de la fuente */
    transition: color 0.3s ease; /* Transición suave para el color */
}

.footer__verification-link:hover {
    color: #ffd700; /* Cambia el color al hacer hover (opcional) */
}

.footer__verification-link i {
    margin-right: 0.3rem; /* Espacio entre el ícono y el texto */
}

.footer__copyright {
    margin-top: 1rem;
    font-size: 0.8rem;
}

/* Responsive design */

@media screen and (max-width: 800px){
    :root{
        --boton-padding: 18px 40px;
    }

    .nav{
        justify-content: space-around;
    }

    .nav__items--cta{
        border: none;
    }

    .nav__items{
        font-weight: 400;
        border-bottom: 1px solid #fff;
        margin-right: 0;
    }

    .nav__items--footer{
        border: none;
    }

    .hero__texts{
        width: 100%;
        margin-bottom: 80px;
    }

    .hero__title{
        font-size: 2.5rem;
    }

    .hero__subtitle{
        font-size: 1.5rem;
    }

    /* About */

    .presentation__copy{
        width: 100%;
    }

    .about{
        grid-template-columns: 1fr;
    }

    .about.container{
        padding-top: 30px;
    }

    .about__img--left{
        text-align: center;
    }

    .about__texts:last-child{
        grid-row: 3/4;
    }

    /* My projects */

    .projects__grid{
        grid-template-areas: 
        "img1 img1 img2 img2"
        "img1 img1 img3 img3"
        "img4 img4 img5 img5";
    }

    /* Testimony */

    .testimony__grid{
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Footer */

    .footer__grid{
        grid-template-columns: 1fr;
    }

    .footer__contact{
        grid-row: 1/2;
    }
}

@media screen and (max-width: 500px){
    :root{
        --boton-padding: 18px 35px;
    }

    .subtitle{
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .nav{
        flex-wrap: wrap;
        justify-content: space-evenly;
        margin-top: 10px;
    }
    

    .nav__items{
        padding: 0 10px;
        border: 0;
    }

    .hero__texts{
        text-align: center;
        margin-bottom: 100px;
    }

    .hero__title{
        font-size: 2rem;
    }

    /* About */

    .presentation__picture{
        width: 120px;
        height: 120px;
    }
    
    .about{
        row-gap: 60px;
    }

    .about.container{
        padding-top: 10px;
    }

    /* My projects */

    .projects__grid{
        grid-template-areas: 
        "img1"
        "img2"
        "img3"
        "img4"
        "img5";
        height: auto;
        grid-template-rows: repeat(5, 250px);
        grid-auto-rows: 250px;
        gap: 10px;
    }

    /* Testimony */

    .testimony__item{
        padding: 30px 15px;
    }

    .testimony__person{
        flex-direction: column;
    }

    .testimony__texts{
        text-align: center;
    }

    .testimony__img{
        margin: 0;
        margin-bottom: 20px;
    }
}




.formcontact {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px 0;
}

.formcontact__container {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 10px;
    overflow: hidden;
}

.formcontact__image-container {
    flex: 1;
    padding: 40px 20px;
    min-width: 300px;
}

.formcontact__image {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.formcontact__text {
    flex: 1;
    padding: 20px;
    min-width: 300px;
}

.formcontact__title {
    font-size: 2.5em;
    margin-bottom: 10px;
    color: #333;
}

.formcontact__subtitle {
    font-size: 1.2em;
    margin-bottom: 20px;
    color: #666;
}

.formcontact__form {
    display: flex;
    flex-direction: column;
}

.formcontact__input, .formcontact__textarea {
    margin-bottom: 15px;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.12), inset 0 1px 2px rgba(0,0,0,0.24);
    transition: all 0.3s ease-in-out;
}

.formcontact__input:focus, .formcontact__textarea:focus {
    border-color: #007BFF;
    box-shadow: 0 0 8px rgba(0,123,255,0.3);
    outline: none;
}

.formcontact__button {
    padding: 10px 20px;
    font-size: 1em;
    color: #fff;
    background-color: #007BFF;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.formcontact__button:hover {
    background-color: #0056b3;
}

/* Responsiveness */
@media (max-width: 768px) {
    .formcontact__container {
        flex-direction: column;
        align-items: center;
    }

    .formcontact__image-container, .formcontact__text {
        padding: 10px;
    }

    .formcontact__title {
        font-size: 2em;
    }

    .formcontact__subtitle {
        font-size: 1em;
    }
}
 .logosiap{
    display: block;
    margin: 0 auto 20px auto;
    width: 160px;
    height: auto;
 }

 .contact-info {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.contact-info__item {
    margin: 0 15px;
    color: #f3f3f3;
    font-size: 0.9em;
}

button {
    background: black;
    cursor: pointer;
    border: none;
    padding: 16px 32px;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    position: relative;
    border-radius: 12px;
}

button::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        red, blue, deeppink,blue,
        red, blue, deeppink,blue
    );
    background-size: 800%;
    border-radius: 10px;
    filter: blur(8px);
    animation: glowing 20s linear infinite;
}

@keyframes glowing {
    0% {
        background-position: 0 0;        
    }

    50% {
        background-position: 400% 0;
    }

    100% {
        background-position: 0 0;
    }
}