* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: Inter;
    overflow-x: hidden;
}

/*----------------------Header Section----------------------*/

.header {
    display: flex;
    width: 100vw;
    position: relative;
    padding: 0 20px;
    background-color: #fff;
    align-items: center;
    justify-content: space-between;
}

.logo-container {
    display: flex;
    width: 200px;
}

.logo {
    width: 100%;
    height: 100%;
}

nav {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

.nav-items a {
    padding: 14px 26px;
    text-decoration: none;
    color: black;
    font-weight: bold;
    margin: 0 5px;
    transition: background-color 0.5s ease, opacity 0.5s ease;
}

.nav-items a:hover {
    background-color: #9b7d35;
    opacity: 0.9;
    color: #fff;
}

.header-checkbox {
    display: none;
}

.header__open-nav-button {
    position: absolute;
    width: 40px;
    cursor: pointer;
    display: none;
    top: 23px;
    right: 23px;
}

/*----------------------Header END----------------------*/

/*----------------------Header Queries----------------------*/

@media (max-width: 860px) {

    .header {
        min-width: 100vw;
    }

    nav {
        display: flex;
        flex-direction: column;
        position: relative;
        background-color: #fff;
        align-items: center;
        justify-content: center;
    }

    .header__open-nav-button {
        display: flex;
        right: 0px;
        top: 16px;
    }

    .nav-items {
        display: none;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 20px 0;
    }

    .header-checkbox:checked ~ .nav-items {
        display: flex;
    }

    .nav-items a {
        font-size: 1.3rem;
    }

}

/*----------------------Querie END----------------------*/

/*----------------------Main Section----------------------*/

.main-inicio {
    display: flex;
    flex-direction: column;
    min-width: 100vw;
    min-height: 87vh;
    background-image: url(img/mainimg.webp);
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    justify-content: center;
    padding: 0 34px;
}

.title-container {
    text-align: left;
    width: 80%;
    color: #fff;
    font-size: 1rem;
    text-shadow: 0 0 7px #000;
    margin-bottom: 35px;
}

h1 {
    font-weight: 200;
    margin-bottom: 15px;
    font-size: 2.7rem;
}

h2 {
    font-weight: 200;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.button-inicio {
    padding: 10px 75px;
    font-size: 1.3rem;
    background-color: transparent;
    border: 2px solid #fff;
    cursor: pointer;
    transition: background-color 0.5s ease, opacity 0.5s ease;
}

.button-inicio a {
    text-decoration: none;
    color: #ffffff;
}

.button-inicio:hover {
    background-color: #9b7d35;
    opacity: 0.9;
}

/*----------------------Main END----------------------*/

/*----------------------Main Querie----------------------*/
@media (max-width: 650px) {

    .button-inicio {
        display: flex;
        padding: 10px 50px;
        font-size: 1.1rem;
        justify-content: center;
    }
}

/*----------------------Carrusel Section----------------------*/

.carrusel-section {
    padding: 60px 20px;
    background-color: #f5f5f5;
    text-align: center;
}

.carrusel-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: Roboto;
}

.carrusel-wrapper {
    overflow: hidden;
    position: relative;
    width: 70%;
    max-width: 1200px;
    margin: auto;
}

.carrusel {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.carrusel-item {
    min-width: 100%;
    position: relative;
}

.carrusel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: 10px;
}

/* Etiquetas */
.tag {
    position: absolute;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 0.9rem;
    font-family: Inter;
}

.tag.precio {
    bottom: 15px;
    left: 15px;
}

.tag.tipo {
    top: 15px;
    right: 15px;
}

.tag.destacada {
    background-color: rgba(255, 0, 0, 0.7);
    top: 15px;
    left: 15px;
}

/*----------------------Carrusel END----------------------*/

/*----------------------Carrusel Querie----------------------*/

@media (max-width: 650px) {
    .carrusel-wrapper {
        width: 100%;
    }

    .carrusel-item img {
        height: 300px;
    }
}



/*----------------------presentation Section----------------------*/

section {
    background-color: #f5f5f5;
}

.pres-title {
    font-size: 2.5rem;
    margin-bottom: 40px;
    font-family: Roboto;
    text-align: center;
}

.pres-wrapper {
    display: flex;
    overflow: hidden;
    position: relative;
    width: 80%;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
}

.presentation h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    font-family: Roboto;
}

.presentation p {
    font-size: .9rem;
    font-weight: 300;
}

.pres-container {
    width: 33.33%;
    text-align: center;
    padding: 20px;
    box-sizing: border-box;
}

.pres-img {
    width: 100%;
    padding: 20px;
    padding-bottom: 0;
}

.pres-img img{
    width: 100%;
    height: auto;
    border-radius: 10px;
}

/*----------------------presentation END----------------------*/

/*----------------------presentation Querie----------------------*/

@media (max-width: 650px) {
    .pres-container {
        width: 100%;
    }
}

/*----------------------Querie END----------------------*/

/*----------------------Contact Section----------------------*/

.contact {
    padding-bottom: 60px;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 40px;
    padding-top: 50px;
    font-family: Roboto;
    text-align: center;
    
}

.contact-container {
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
    padding: 0 50px 0 0;
    gap: 50px;
    width: 80%;
    max-width: 1200px;
    margin: auto;
    background-color: #9b7d35;
    border-radius: 10px;
}

.contact-img {
    min-width: 50%;
    position: relative;
}

.contact-img img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    border-radius: 10 0 0 10px;
}

form {
    display: grid;
    grid-template-columns: 1fr 1fr;
        grid-template-areas:
        "name lastname"
        "email email"
        "message message"
        "button button";
    width: 100%;
    gap: 5px;
}

.form-item :is(input, textarea) {
    width: 100%;
    padding: 7px;
    font-size: 16px;
    border: none;
    box-shadow: 2px 2px 4px #0003;
    background-color: #fffd;
}

.form-item textarea {
    resize: none;
    min-width: 100%;
    min-height: 80px;
    font-family: inherit;
}

.form-item input[type="submit"] {
    padding: 12px;
    background-color: #ffffff6c;
    color: #fff;
    transition: background-color 0.5s ease, opacity 0.5s ease;
}

input, textarea:focus {
    border: none;
    outline: none;
}

input[type="submit"]:hover {
    cursor: pointer;
    font-weight: bold;
    background-color: #000000;
    color: #fff;
}

.form-item:first-child {
    grid-area: name;
}
.form-item:nth-child(2) {
    grid-area: lastname;
}
.form-item:nth-child(3) {
    grid-area: email;
}
.form-item:nth-child(4) {
    grid-area: message;
}
.form-item:nth-child(5) {
    grid-area: button;
}
.form-item :is(input, textarea) {
    box-shadow: none;
    border-radius: 4px;
}

/*----------------------Contact END----------------------*/

/*----------------------Contact Querie----------------------*/

@media (max-width: 650px) {

    .contact-container {
        flex-direction: column;
        padding: 0;
    }

    .contact-img {
        width: 100%;
    }

    .contact-img img {
        height: 300px;
        object-fit: cover;
        border-radius: 10px 10px 0 0;
    }

    form {
        grid-template-columns: 1fr;
        grid-template-areas:
            "name"
            "lastname"
            "email"
            "message"
            "button";
        padding: 30px;
    }
}

/*----------------------Querie END----------------------*/
/*----------------------Footer Section----------------------*/
footer {
    background-color: #9b7d35;
    color: #fff;
    padding-top: 20px;
    text-align: center;
    font-size: .8rem;
}

.footer-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 8%;
}

.box {
    margin: 0 20px;
}

.footer-direction {
    margin-bottom: 5px;
}

.footer-direction-text {
    display: flex;
}

.footer-direction-text img {
    padding: 5px;
    width: 35px;
    height: 35px;
    background-color: #4d3e1ba1;
    margin-right: 10px;
    border-radius: 50px;
    color: #fff;
}

.footer-phone {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.footer-phone img {
    padding: 5px;
    width: 35px;
    height: 35px;
    background-color: #4d3e1ba1;
    margin-right: 10px;
    border-radius: 50px;
    color: #fff;
}

.footer-email {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
}

.footer-email a {
    text-decoration: none;
    color: #0779a9;
}

.footer-email img {
    padding: 5px;
    width: 35px;
    height: 35px;
    background-color: #4d3e1ba1;
    margin-right: 10px;
    border-radius: 50px;
    color: #fff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-links li, a{
    text-decoration: none;
    color: #fff;
    list-style: none;
    padding: 2px 0;
    padding-left: 3px;
}

.footer-links a:hover {
    color: #5a481f;
}

.footer-bottom {
    margin: 0;
    margin-top: 20px;
    font-size: 0.8rem;
    color: #ccc;
    border-top: 1px solid #444;
    padding: 20px 0;
}

.footer-social {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.footer-social li {
    list-style: none;
}

.footer-social img {
    width: 25px;
    height: 25px;
    margin: 0 10px;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

.footer-social li:hover {
    transform: scale(1.2);
    transition: transform 0.3s ease-in-out;
}
/*----------------------Footer END----------------------*/

/*----------------------Footer Querie----------------------*/

@media (max-width: 650px) {
    .footer-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0px;
    }

    .contact-container {
        gap: 0px;
    }

    .footer-links {
        text-align: center;
        padding: 5px;
    }

    .footer-social ul{
        display: flex;
    }

    .footer-direction-text {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .footer-direction-text img {
        margin: 0;
    }

    .footer-phone {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
    }

    .footer-phone img {
        margin: 0;
    }

    .footer-email {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2px;
    }

    .footer-email img {
        margin: 0;
    }

    h3 {
        display: flex;
        text-align: center;
        justify-content: center;
        margin: 0;

    }
}

/*----------------------END Querie----------------------*/




header {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}


/*----------------------Venta main----------------------*/

.main-ventas {
    display: flex;
    flex-direction: column;
    background-color: #ebebeb;
    box-sizing: border-box;
    padding: 20px;
    align-items: center;
}

.venta-title-container {
    font-family: Roboto;
    margin-bottom: 10px;
    align-self: flex-start;
}

.venta-title-container h3 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.venta-title-container p {
    font-size: .7rem;
}

.venta-container {
    display: flex;
    background-color: #fff;
    justify-content: center;
    align-items: center;
    min-width: 80%;
    max-width: 1200px;
    height: 220px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}

.venta-container:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

.venta-img {
    width: 360px;
    height: 100%;
    position: relative;
}

.tag-destacada {
    position: absolute;
    background-color: rgba(255, 0, 0, 0.606);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-family: Inter;
    top: 10px;
    left: 10px;
}
.venta-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.venta-info {
    width: 100%;
    padding: 15px;
}

.venta-info h4{
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.venta-info p {
    font-size: .78rem;
    margin-bottom: 12px;
}

.venta-speci-box {
    display: flex;
    gap: 10px;
}

.venta-specifications span svg{
    display: flex;
}

.venta-specifications {
    display: flex;
    text-align: center;
    align-items: center;
    font-size: .8rem;
    gap: 3px;
    margin-bottom: 12px;
}

.venta-des h5{
    margin-bottom: 3px;
}

.venta-des p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.venta-contact {
    display: flex;
}

.venta-contact a {
    display: flex;
    padding: 10px 20px;
    background-color: #67C15E;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: .8rem;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


@media (max-width: 660px) {
    .venta-container {
        flex-direction: column;
        height: auto;
    }

    .venta-img {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }

    .venta-img img {
        border-radius: 10px 10px 0 0;
    }

    .venta-info {
        padding: 15px;
    }

}





.main-alquiler {
    display: flex;
    flex-direction: column;
    background-color: #ebebeb;
    box-sizing: border-box;
    padding: 20px;
    align-items: center;
}

.alquiler-title-container {
    font-family: Roboto;
    margin-bottom: 10px;
    align-self: flex-start;
}

.alquiler-title-container h3 {
    font-size: 1.1rem;
    margin-bottom: 3px;
}

.alquiler-title-container p {
    font-size: .7rem;
}

.alquiler-container {
    display: flex;
    background-color: #fff;
    justify-content: center;
    align-items: center;
    min-width: 80%;
    max-width: 1200px;
    height: 220px;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 20px;
    text-decoration: none;
    color: inherit;
}

.alquiler-container:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transform: scale(1.02);
    transition: transform 0.3s ease-in-out;
}

.alquiler-img {
    width: 360px;
    height: 100%;
    position: relative;
}

.tag-destacada {
    position: absolute;
    background-color: rgba(255, 0, 0, 0.606);
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-family: Inter;
    top: 10px;
    left: 10px;
}
.alquiler-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.alquiler-info {
    width: 100%;
    padding: 15px;
}

.alquiler-info h4{
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.alquiler-info p {
    font-size: .78rem;
    margin-bottom: 12px;
}

.alquiler-speci-box {
    display: flex;
    gap: 10px;
}

.alquiler-specifications span svg{
    display: flex;
}

.alquiler-specifications {
    display: flex;
    text-align: center;
    align-items: center;
    font-size: .8rem;
    gap: 3px;
    margin-bottom: 12px;
}

.alquiler-des h5{
    margin-bottom: 3px;
}

.alquiler-des p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.alquiler-contact {
    display: flex;
}

.alquiler-contact a {
    display: flex;
    padding: 10px 20px;
    background-color: #67C15E;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: .8rem;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


@media (max-width: 660px) {
    .alquiler-container {
        flex-direction: column;
        height: auto;
    }

    .alquiler-img {
        width: 100%;
        height: 200px;
        border-radius: 10px 10px 0 0;
    }

    .alquiler-img img {
        border-radius: 10px 10px 0 0;
    }

    .alquiler-info {
        padding: 15px;
    }

}

/* 🚩 Botones de carrusel */
.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(118, 118, 118, 0.8);
    border: none;
    color: #fff;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 1rem;
    z-index: 2;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

#prev-button {
    left: 10px;
}

#next-button {
    right: 10px;
}

.venta-img {
    position: relative;
}

.venta-img:hover .carousel-button {
    opacity: 1;
}

.carousel-button {
    opacity: 0.7;
}




/*----------------------Nosotros main----------------------*/

.main-nosotros {
    background-color: #ebebeb;
}

.main-nosotros h2 {
    font-weight: 200;
    font-size: 2.7rem;
    margin-bottom: 40px;
    padding-top: 40px;
    text-align: center;
}

.nosotros-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 30px 20px;
}

.nosotros-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
}

.nosotros-img {
    width: 500px;
    height: 650px;
    border-radius: 10px;
}

.nosotros-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.nosotros-text {
    width: 50%;
    height: 100%;
    padding: 20px;
    flex-wrap: balance;
}

.nosotros-text div {
    margin: 40px 0;
}

.nostros-text div, h6 {
    font-weight: 500;
    font-size: 2.2rem;
    color: #9b7d35;
    margin-bottom: 6px;
}

.nosotros-p {
    font-family: Roboto;
    font-weight: 500;
    font-size: 0.9rem;
    color: #333;
}

/*----------------------Nosotros END----------------------*/

/*----------------------Nosotros Querie----------------------*/

@media (max-width: 860px) {

    .nosotros-img-container {
        display: none;
    }

    .nosotros-text {
        width: 100%;
        padding-top: 0;
    }
        
}