/* houm villas */

.houm-villas-grid {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: 1fr;


}



@media (min-width: 992px) {
    .houm-villas-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
        row-gap: 7rem;
    }

    .houm-villas-item:nth-child(4) {
        grid-row-start: 2;
        grid-row-end: 3;
        grid-column-start: 2;
        grid-column-end: 4;
    }

    .houm-villas-item {
        grid-column: span 2;
    }
}

.houm-villas-grid .thumb-box img {
    width: 100%;
    height: 280px;
    float: left;
    object-fit: cover;
}

.thumb-box {
    display: flex;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.thumb-box a {
    padding: 0;
    position: relative;
    width: 100%;
    height: 100%;
    color: white;
}

.thumb-box a:hover {
    color: white;
}

.thumb-box img {
    width: 100%;
    height: 280px;
    float: left;
    object-fit: cover;
}

@media (min-width: 992px) {
    .thumb-box img {
        height: 65vh;
    }
}

.houm-villas .thumb-box .overlay-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 7%;
    background: linear-gradient(to top, black 14%, transparent 89%);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 1s ease-in-out;
}

.houm-villas .thumb-box .overlay-box h2 {
    font-size: 3rem;
    color: white;
}

@media (min-width: 992px) {
    .houm-villas .thumb-box .overlay-box h2 {
        font-size: 4rem;
    }
}

.houm-villas .thumb-box .meta {
    font-size: 1.6rem;
    display: block;
}

.houm-villas .thumb-box .main-title {
    font-size: 1.6rem;
    display: block;
    font-weight: 700;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
}

.houm-villas .thumb-box .description {
    color: white;
    display: block;
    max-height: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s ease-in-out;

}


.houm-villas .thumb-box a .description {
    opacity: 1;
    max-height: 100%;
    margin-top: 5px;
    transition: all 1s ease-in-out;

    height: fit-content;
    margin-top: 2rem;

}


.houm-villas .thumb-box a h2 {
    margin-bottom: 4rem !important;
}

@media (min-width: 992px) {
    .houm-villas .thumb-box a h2 {
        margin-bottom: 2rem !important;
    }

    .houm-villas .thumb-box a .overlay-box {
        max-height: 100%;
        opacity: 1;
        transition: all 0.3s ease-out;
    }

    .houm-villas .thumb-box a .description {
        opacity: 0;
        max-height: 100%;
        transition: all 1s ease-in-out;
    }

    .houm-villas .thumb-box a:hover .description {
        opacity: 1;
        max-height: 100%;

        height: fit-content;
        margin-top: 2rem;

    }

    .houm-villas .thumb-box a:hover .overlay-box {
        padding: 7%;
        max-height: 100%;
        opacity: 1;
    }




}

.houm-villas-2 {
    background: url('../img/florecilla.svg'), linear-gradient(to bottom, white 40%, #e3e9e0 40%);
    background-repeat: no-repeat;
    background-size: 100px 100px, cover;
    background-position: 4%, center;
}

@media (min-width: 2000px) {
    .houm-villas-2 {
        background-position: 6%, center;
    }
}

@media (min-width: 992px) {
    .content-villas {
        margin-left: auto;
        width: 85%;
    }
}

.houm-villas-2 .thumb-box a:hover .overlay-box {
    justify-content: flex-end !important;
}

.houm-villas-2 .item {
    background: #ccc;
    width: auto;
}

.houm-villas-2 .item img {
    width: 100%;
}

.houm-villas-2 .owl-prev,
.houm-villas-2 .owl-next {
    border: 0;
    display: flex;
    align-items: center;
}

.houm-villas-2 .owl-nav span {
    color: #865341 !important;
    font-size: 72px;
    font-weight: 400;
    border: 0;
    width: 30px;
    display: block;
    line-height: 0.8;
}


.houm-villas-2 .owl-dots button {
    border: 0;
    background-color: #6f6f6f;

}

.houm-villas-2 .owl-dots span {
    color: #6f6f6f !important;
    font-size: 100px;
    font-weight: 400;
    border: 0;
    height: 3px;
    display: block;
    width: 20px;
    margin: 0;
}

.houm-villas-2 .owl-dots button {
    width: 50px;
    border: 0;

}

@media (min-width: 992px) {
    .houm-villas-2 .owl-dots button {
        width: 100px;
        border: 0;
    }
}

.houm-villas-2 .owl-dots .owl-dot {
    background-color: #6f6f6f;
}

.houm-villas-2 .owl-dots .owl-dot.active {
    background-color: #a7b2a0;
}

.houm-villas-2 .owl-dots {
    display: flex;
    gap: 0.5rem;
}

.houm-villas-2>h2 {
    margin: 0 auto 6rem auto !important;
}

.houm-villas-2 a h2 {
    margin: 0;
}


.houm-villas-2 .thumb-box a .description {
    opacity: 1;
    max-height: 100%;
    margin-top: 0 !important;
    height: fit-content;
    font-size: 1.4rem;
}



.houm-villas-2 .thumb-box a .overlay-box {
    width: 100%;
    height: 100%;
    max-height: 100%;
    padding: 10% 7%;
    justify-content: flex-end;
}

@media (min-width: 992px) {
    .houm-villas-2 .thumb-box a .overlay-box {
        top: 92%;
        max-height: 183px;
    }

    .houm-villas-2 .thumb-box a .description {
        opacity: 0;
        max-height: 0%;
        font-size: 2rem;
        height: 0%;
        margin-top: 0;

    }


    .houm-villas-2 .thumb-box a:hover .description {
        opacity: 1;
        max-height: 100%;
        font-size: 2rem;
        height: fit-content;

    }

    .villas-img img {
        height: 65vh !important;
    }

}

.houm-villas-2 .thumb-box a:hover .overlay-box {
    width: 100%;
    height: 100%;
    max-height: 100%;
    top: 50%;
    transition: all 0.6s ease-in-out;
}

.houm-villas-2 .owl-carousel {
    display: grid;
}

.houm-villas-2 .owl-nav {
    width: fit-content;
    display: flex;
}

.houm-villas-2 .owl-dots {
    display: none;
}

.custom-nav-container {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding-left: 3rem;
}


@media (min-width: 992px) {
    .custom-nav-container {
        padding-left: 0;
    }
}


.custom-nav-container .owl-next {
    color: #e0e8eb !important;
    background-image: url('../img/arrow-right.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #e3e9e0;
    width: 35px;
    height: 35px;
    margin: 0rem 0.8rem;
    padding: 0;

}

.custom-nav-container .owl-prev {
    color: #e0e8eb !important;
    background-image: url('../img/arrow-left.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-color: #e3e9e0;
    width: 35px;
    height: 35px;
    margin: 1.5rem;
    margin: 0rem 0.8rem 1.5rem 0;
    padding: 0;

}

.custom-nav-container .owl-next span,
.custom-nav-container .owl-prev span {
    border: 0 !important;
    display: flex;
    align-items: center;
    color: transparent !important;
    border-left-color: transparent;
    border-right-color: transparent;
    opacity: 0;
}