/* styles-home-main.css */

/* General Main Styles */
.main {
    padding: 0;
    
}

/* Estilos para la sección de héroe */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    height: 500px; /* Ajusta la altura según sea necesario */
    overflow: hidden;
    margin: 0 20px;
    border-radius: 20px;
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 600px;
    width: 62%;
    background-color: #FEF708; /* Fondo amarillo */
    clip-path: polygon(0 0, 100% 0, 92% 100%, 0% 100%); /* Corte diagonal */
    z-index: 3;
    position: relative;
}

.hero-text {
    z-index: 2;
    color: #fff;
    max-width: 560px;
    padding: 0;
    box-sizing: border-box;
    position: relative;
}

.hero-text h1 {
    font-size: 3.5em;
    text-align: left;
    font-weight: 800;
    color: #000; /* Texto negro para mejor contraste */
}

.hero-text text {
    text-decoration: underline;
    text-decoration-color: #FF5532;
}

.hero-text .search-bar {
    margin-top: 50px;
    max-width: 550px;
    font-size: 1.1em;
    position: relative; /* Necesario para el posicionamiento absoluto del botón */
    display: flex;
    align-items: center;
    background: #fff;
    color: #333;
    border-radius: 35px; /* Borde redondeado general */
    overflow: hidden;
}

.hero-text .search-bar input[type="text"] {
    display: flex;
    flex: 1;
    color: #333;
    width: 217px;
    padding: 28px; /* Ajustado para mantener el tamaño del input */
    font-size: 1em;
    border: none;
    outline: none;
    border-radius: 35px; /* Borde redondeado solo en la izquierda */
}

.hero-text .search-bar button {
    position: absolute;
    top: -13px;
    right: 8px;
    padding: 18px 28px; /* Ajustado para mantener el tamaño del botón */
    font-weight: 700;
    background-color: #FF5532; /* Botón naranja */
    color: #fff;
    border: none;
    border-radius: 35px; /* Borde redondeado solo en la derecha */
    cursor: pointer;
    transition: background-color 0.3s;
    height: 82%;
}

.hero-text .search-bar button:hover {
    background-color: #e64a19;
}

.hero-image {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    overflow: hidden; /* Asegura que la imagen no sobresalga */
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.background-pattern {
    position: absolute;
    top: -100px;
    left: -130px;
    width: 150%;
    height: 150%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.6; /* Ajusta la opacidad según sea necesario */
}

.search-bar {
    margin-top: 20px;
}

.search-bar input, .search-bar button {
    padding: 10px;
    font-size: 16px;
}

.search-bar input {
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-right: 10px;
    width: 70%;
}

.search-bar button {
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* BUSCAR SERVICIOS VEHÍCULOS (INICIO) */

.browse-category {
    padding: 20px;
    padding-bottom: 160px;
}

.browse-category h2 {
    margin: 50px 0 20px 0;
}

.categories {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center; /* Alinea verticalmente los elementos dentro de .categories */
    justify-content: space-between; /* Distribuye el espacio entre los botones y el enlace Ver todo */
}

.categories button {
    background-color: #f5f5f5;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #353535;
}

.categories button.active {
    background-color: #FEF708;
    color: #000;
    font-weight: 600;
}

.cont-categories-mobile {
    display: none;
}

.disp-categories-mobile {
    display: flex;
}

.categories-mobile {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center; /* Alinea verticalmente los elementos dentro de .categories-mobile */
    justify-content: space-between; /* Distribuye el espacio entre los botones y el enlace Ver todo */
}

.categories-mobile button {
    background-color: #f5f5f5;
    border: none;
    padding: 10px 20px;
    border-radius: 10px;
    margin: 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    color: #353535;
}

.categories-mobile button.active {
    background-color: #FEF708;
    color: #000;
    font-weight: 600;
}

.vertodo {
    color: #0000ee;
    font-weight: 600;
    margin-left: auto; /* Empuja el enlace Ver todo hacia el extremo derecho */
}

.category-list {
    display: flex;
    gap: 20px;
    flex-wrap: nowrap;
    justify-content: flex-start; /* Apila los recuadros hacia la izquierda */
}

.category-item {
    text-decoration: none;
    position: relative;
    width: 250px; /* Ancho aumentado */
    height: 250px; /* Altura aumentada */
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.219);
    transition: transform 0.3s ease;
}

.category-item:hover {
    transform: translateY(-5px);
}

.category-item span {
    padding: 10px;
    width: 100%;
    text-align: left;
    font-size: 18px;
    font-weight: 700;
    z-index: 1;
}

.category-item img {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 0;
}

.category-item div {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.575), transparent);
    z-index: 0;
}

/* BUSCAR SERVICIOS VEHÍCULOS (FIN) */

.separator {
    width: 95%;
    text-align: center;
    padding: 30px 0;
    margin: 0 2.5%;
    border: 0 none;
    border-bottom: 1px solid #e0d5c8;
}

/* SERVICIOS POPULARES (INICIO) */

.popular-zip {
    padding: 40px 20px 160px 20px;
    text-align: left;
}

.popular-zip h2 {
    margin: 50px 0 20px 0;
    display: inline-block;
}

.popular-zip h2 a {
    color: #0000ee;
    text-decoration: none;
}

.division-servicios-populares {
    display: flex;
    align-items: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 columnas */
    grid-template-rows: repeat(3, 1fr); /* 3 filas */
    gap: 0;
    margin-bottom: 20px;
}

.service-items {
    display: flex;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    text-align: center;
    border: 1px solid #e7e7e7;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.service-items:hover {
    transform: translateY(-3px);
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.137);
}

.service-items img {
    max-width: 40px;
    max-height: 40px;
    margin-bottom: 15px;
}

.service-items span {
    display: block;
    padding-left: 20px;
    font-size: 16px;
    font-weight: bold;
    color: #353535;
}

.browse-all {
    background-color: #FEF708;
    color: #000;
    padding: 15px 25px;
    float: right;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-left: auto; /* Coloca el botón al extremo derecho */
}

.browse-all a{
    color: #000;
    text-decoration: none;
}

.browse-all-mobile {
    background-color: #FEF708;
    color: #000;
    padding: 15px 25px;
    float: right;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    margin-left: auto; /* Coloca el botón al extremo derecho */
}

.cont-all-mobile {
    display: none;
    width: 100%;
}

.fl-all {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
}

/* SERVICIOS POPULARES (FIN) */

.more-services {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.more-services span {
    font-size: 14px;
    color: #333;
    background-color: #e9ecef;
    padding: 5px 10px;
    border-radius: 4px;
}

button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* REQUERIMIENTOS MÁS RECIENTES (INICIO) */

.most-popular-projects {
    padding: 40px 20px;
    text-align: center;
}

.most-popular-projects h2 {
    text-align: left;
    margin-bottom: 20px;
}

.most-popular-projects a {
    text-decoration: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columnas */
    grid-template-rows: repeat(2, auto); /* 2 filas */
    gap: 0px;
    justify-items: center; /* Centra los ítems horizontalmente */
}

.project-image-container {
    background-color: #fff;
    padding: 5px; /* Ajusta el padding para que quepa dentro de 80px */
    border-radius: 50%;
    text-align: center;
    width: 80px; /* Tamaño del círculo */
    height: 80px; /* Tamaño del círculo */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.project-image-container:hover {
    transform: translateY(-7px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.233);
}

.project-image-container img {
    max-width: 40px; /* Tamaño de la imagen */
}

.project-item {
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centra los elementos dentro de cada ítem */
}

.project-item span {
    margin-top: 15px; /* Espacio entre el círculo y el texto */
    font-size: 14px;
    font-weight: bold;
    color: #353535;
    text-align: center; /* Asegura que el texto esté centrado */
}

/* REQUERIMIENTOS MÁS RECIENTES (FIN) */

/* CONOCE MÁS DE YEBAZ (INICIO) */

.angi-app {
    position: relative; /* Necesario para contener la imagen absoluta */
    background-color: #f8f9fa;
    margin-top: 60px;
    padding: 80px 150px 180px 150px; /* Padding izquierdo y derecho */
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.angi-app h2 {
    font-size: 26px;
    font-weight: 600;
}

.angi-app p {
    font-size: 14px;
    padding-bottom: 20px; 
    font-weight: 600;
}

.angi-app h2,
.angi-app p {
    text-align: left;
    margin-bottom: 20px;
}

.angi-app .content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    max-width: 60%;
}

.angi-app ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.angi-app ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
}

.angi-app ul li .material-icons {
    font-size: 20px;
    color: #000;
    font-weight: 800;
    margin-right: 10px;
}

.angi-app .angi-app-image {
    position: absolute;
    right: 150px; /* Respeta el padding derecho */
    top: -30px; /* Sigue sobresaliendo hacia arriba */
    bottom: -30px; /* Sigue sobresaliendo hacia abajo */
    max-width: 370px; /* Ajusta el tamaño de la imagen según sea necesario */
    z-index: 1;
}

.cont-button {
    text-align: left;
    margin-top: 50px;
}


.angi-app a {
    padding: 15px 25px;
    background-color: #FEF708;
    color: #000;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}


/* CONOCE MÁS DE YEBAZ (FIN) */

/* PUBLICA TUS SERVICIOS (INICIO) */

/* Estilos para el modal y el botón de cerrar */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0, 0, 0, 0.539); 
}

.modal-content {
    background-color: #fff;
    margin: 10% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 600px;
    position: relative;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}

.close {
    color: #000;
    float: right;
    font-size: 38px;
    font-weight: bold;
    background-color: yellow;
    border-radius: 50%;
    bottom: 40px;
    right: -40px;
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    padding: 10px 5px 0 5px;
}

.close:hover,
.close:focus {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.button-class {
    padding: 18px 28px;
    font-weight: 700;
    background-color: #000; 
    color: #fff;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fixed-price-service {
    padding: 60px 0px 100px 0px;
    background-color: #f8f9fa;
}

.fixed-price-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.fixed-price-image {
    position: relative;
    display: flex;
}

.fixed-price-image img {
    max-width: 100%;
    border-radius: 20px;
    top: -120px;
    left: 25px; 
    position: absolute;
}

.fixed-price-image div {
    width: 410px;
    height: 480px;
    margin-right: 20px;
    background-color: #fef708;
    border-radius: 20px;
}

.fixed-price-text {
    max-width: 50%;
}

.fixed-price-text h2 {
    font-weight: 600;
    font-size: 26px;
    margin-bottom: 15px;
}

.fixed-price-text text {
    text-decoration: underline;
    text-decoration-color: #FF5532;
}

.fixed-price-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.fixed-price-icons span {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
}

.fixed-price-icons img {
    max-width: 40px;
}

.fixed-price-text h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.fixed-price-text p {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.fixed-price-text button {
    margin-top: 50px;
    padding: 15px 25px;
    background-color: #FEF708;
    color: #000;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

/* PUBLICA TUS SERVICIOS (FIN) */

/* PUBLICA TUS REQUERIMIENTOS (INICIO) */

/* Estilos para el modal y el botón de cerrar */
.modalReq {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgb(0,0,0); 
    background-color: rgba(0, 0, 0, 0.539); 
}

.modal-content-req {
    background-color: #fff;
    margin: 10% auto; 
    padding: 20px;
    border: 1px solid #888;
    width: 80%; 
    max-width: 600px;
    position: relative;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
}

.close-req {
    color: #000;
    float: right;
    font-size: 38px;
    font-weight: bold;
    background-color: yellow;
    border-radius: 50%;
    bottom: 40px;
    right: -40px;
    width: 40px;
    height: 40px;
    position: relative;
    text-align: center;
    line-height: 40px;
    cursor: pointer;
    padding: 10px 5px 0 5px;
}

.close-req:hover,
.close-req:focus {
    background-color: #000;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}

.button-class-req {
    padding: 18px 28px;
    font-weight: 700;
    background-color: #000; 
    color: #fff;
    border: none;
    border-radius: 35px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.fixed-price-service-req {
    padding: 60px 0px 100px 0px;
    background-color: #f8f9fa;
}

.fixed-price-content-req {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.fixed-price-image-req {
    position: relative;
    display: flex;
}

.fixed-price-image-req img {
    max-width: 100%;
    border-radius: 20px;
    top: -120px;
    left: 25px; 
    position: absolute;
}

.fixed-price-image-req div {
    width: 410px;
    height: 480px;
    margin-right: 20px;
    background-color: #fef708;
    border-radius: 20px;
}

.fixed-price-text-req {
    max-width: 50%;
}

.fixed-price-text-req h2 {
    font-weight: 600;
    font-size: 26px;
    margin-bottom: 15px;
}

.fixed-price-text-req text {
    text-decoration: underline;
    text-decoration-color: #FF5532;
}

.fixed-price-icons-req {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.fixed-price-icons-req span {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 14px;
    font-weight: 500;
}

.fixed-price-icons-req img {
    max-width: 40px;
}

.fixed-price-text-req h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.fixed-price-text-req p {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
}

.fixed-price-text-req button {
    margin-top: 50px;
    padding: 15px 25px;
    background-color: #FEF708;
    color: #000;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
}

/* PUBLICA TUS REQUERIMIENTOS (FIN) */

/* INICIAR SESIÓN O REGÍSTRATE (INICIO) */

.join-network {
    padding: 60px 0 80px 0;
    text-align: center;
}

.join-network h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.join-network p {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 20px;
}

.join-network div {
    margin-top: 40px;
}

.join-network a {
    padding: 15px 25px;
    background-color: #FEF708;
    color: #000;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
}


/* INICIAR SESIÓN O REGÍSTRATE (FIN) */