@import url("/css/main.css");

body {
    background-color: #f5f5f5;
}

.logo1 {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
        url(../assets/img/servicios-img/image1.png) center bottom no-repeat;
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

/* Estilos para el header y navbar */

.logo2 {
    background: linear-gradient(#ded0c465, #ded0c4),
        url(../assets/img/servicios-img/image2.png) center bottom no-repeat;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;

    height: auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
    margin-top: 4rem;
    padding: 2rem;
}
.logo2 h1 {
    font-size: 1.4rem;
}

.texto {
    font-size: 5px;
    font-weight: 100;
    text-align: center;
    padding-top: 5px;
    width: 100%;
    font-family: Arial, Helvetica, sans-serif;
}

/* Category sections */

.servicios_items {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;

    padding: 3rem 0;
    margin: auto;
}

.category-left {
    background-color: #a38c6d;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    height: 400px;
    margin: 0 2rem;
    margin-top: 80px;
}
.category-right {
    background-color: #a38c6d;
    padding: 30px;
    margin: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    height: 400px;
    font-size: 14px;
}

.category-center {
    background-color: #f9f9f9;
    padding: 30px;

    margin: 0 2rem;
    height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    flex: 1;
    font-size: 14px;
}

.servicios_items-icon {
    width: 30px;
    height: 60px;
    margin-bottom: 15px;
}

.descripcion-active {
    color: #fff;
    font-weight: 300;
}

.title {
    color: #fff;
    margin: 2rem 0;
    font-size: 2rem;
}

.title1 {
    font-size: 2rem;
    margin: 2rem 0;
}

.servicios_items button {
    background-color: #81644f;
    color: white;
    border: none;
    padding: 8px 18px;
    font-size: 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 28px;
}

.category-left,
.category-center,
.category-right {
    margin-top: 0rem;
}
.logo4 {
    background-image: url("../assets/img/servicios-img/image4.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: black;
}

.logo5 {
    background: linear-gradient(#a38c6dae, #a38c6d),
        url(../assets/img/servicios-img/image5.png) center bottom no-repeat;
    display: flex;
    padding-top: 70px;
    padding-bottom: 90px;
    background-size: contain;
    background-repeat: no-repeat;
    width: 100%;
    background-position: center;
    background-color: #a38c6d;
    justify-content: center;
    color: white;
}

.texto5 {
    font-family: Arial, Helvetica, sans-serif;
    border-left: 5px solid #f9f9f9;
    display: flex;
    justify-content: center;
    flex-direction: column;
    width: 90%;
    padding-left: 10px;
}

@media (min-width: 768px) {
    .logo1 {
        height: 550px;
    }
    .servicios_items {
        flex-direction: row;
    }

    .logo2 .texto {
        width: 60%;
    }
    .logo2 {
        width: 100%;
    }
    .logo2 h1 {
        text-align: center;
        font-size: 1.5rem;
    }
    .slogan {
        width: 30rem;
    }
    .texto5 {
        width: 40%;
    }

    .logo5 {
        height: 40rem;
    }
    .logo2 {
        height: 40rem;
    }
    .category-left,
    .category-center,
    .category-right {
        margin-top: 8rem;
    }
}
