/** HERO CAROUSEL **/
.hero-houm {
    padding: 0 !important;
    position: relative !important;
}

.logo-houm-white {
    opacity: 1 !important;
    transition: opacity 1.5s ease-in-out !important;
    z-index: 2 !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 50%;

    @media (min-width: 992px) {
        width: auto;
    }
}

.logo-houm-white.logo-houm-white-scroll {
    opacity: 0 !important;
}

.hero-houm .item-1,
.hero-houm .item-2,
.hero-houm .item-3 {
    height: 30rem !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;
}

@media (min-width: 992px) {

    .hero-houm .item-1,
    .hero-houm .item-2,
    .hero-houm .item-3 {
        height: 70rem !important;
    }
}

.hero-houm-text {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.4);

    height: 100%;
    margin-left: auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: flex-start;
    padding: 0 12% 0 14%;
    z-index: 5;
    position: relative;
}

@media (min-width: 992px) {
    .hero-houm-text {
        width: 45% !important;
        padding: 0 10% 0 10% !important;
    }
}

.container-carrousel {
    height: 100%;
    position: relative;
}

.container-carrousel::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    z-index: 1;

}

.hero-houm-title {
    color: #dfeb82 !important;
    font-size: 2.5rem !important;
    text-transform: uppercase !important;
    margin-bottom: 2rem !important;
}

.hero-houm-subtitle {
    color: white !important;
    font-size: 2.5rem !important;
}

.hero-houm-subtitle::after {
    background-color: #dfeb82 !important;
    font-size: 3rem !important;
    content: "" !important;
    display: flex !important;
    height: 5px !important;
    width: 150px !important;
    margin-top: 3rem !important;
}

@media (min-width: 992px) {
    .hero-houm-subtitle {
        font-size: 3rem !important;
    }
}


.carousel-control-next-icon,
.carousel-control-prev-icon {
    width: 5rem !important;
    height: 5rem !important;
}

#carouselExample {
    visibility: hidden;
    opacity: 0;
}


/** FORM SEARCH **/
.houm-form-form {
    display: flex;
    flex-grow: 1;
    width: 100%;
    height: 100%;
    align-items: stretch
}

.houm-form {
    visibility: hidden;
    padding: 0 !important;
    position: fixed;
    z-index: 9999 !important;
    top: 0;
    width: 100vw;
    min-height: 100vh;
    left: 0;
    background-color: white;
    opacity: 0;
    transition: all 0.25s ease-in-out;
    overflow: auto;
    transform: scale(0.9);
    display: flex;
    align-items: stretch
}

.houm-form-opened {
    visibility: visible;
    opacity: 1;
    transform: scale(1);
}

.houm-form aside a {
    display: block;
    margin: 0 auto;
    text-align: center;

    & img {
        margin: 3rem auto 0 auto;
        display: block;
    }
}

.toggle-search-button {
    background-color: #efefef;
    border: 2px solid white;
    font-family: "Baskervville", serif;
    font-size: 2.5rem;
    position: fixed;
    top: 25%;
    right: 0;
    padding: 1.5rem 2rem;
    border-top-right-radius: 1rem;
    border-top-left-radius: 1rem;
    transform-origin: top right;
    transform: rotate(-90deg) translateY(-99%);
    z-index: 20;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.4);
    color: black;
}

.close-search {
    background-color: transparent;
    border: 0;
    position: absolute;
    right: 25px;
    top: 25px;
    z-index: 50;
}

.houm-form-grid {
    background-color: white;
    width: 100%;
    position: relative;
    display: grid;

    @media (min-width: 992px) {
        grid-template-columns: 2.5fr 0.5fr;
        overflow: auto;
    }
}

.houm-form-promotion {
    display: flex;
    flex-direction: column;
    gap: 1rem;

}

.houm-form-promotion label {
    width: 100% !important;
}

@media (min-width: 992px) {
    .houm-form-promotion {
        display: flex;
    }

    .houm-form-promotion label {
        width: 100% !important;
    }
}

.houm-form-item {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    position: relative;
}

.houm-form-wrap .houm-form-item {
    flex-grow: 0;
}

@media (min-width: 992px) {
    .houm-form-wrap .houm-form-item {
        flex-grow: 1;
        width: max-content;
    }
}

.houm-form-item input,
.houm-form-item select {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 37px !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-size: 1.8rem !important;
}

.houm-form-item select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background: transparent url('../img/arrow-down.svg') no-repeat right 10px center !important;
    width: 100% !important;
}

.houm-form-promotion input {
    background-image: url(../img/tick.svg);
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: left 60%;
}

.houm-form-item input {
    border-bottom: 1px solid #b5ac9c !important;
}

.houm-form-item label {
    font-size: 1.4rem !important;
    color: #865341 !important;
    display: block;
    font-weight: 600;
    text-transform: uppercase;
}

.houm-form-item {

    & input,
    & select,
    & .select-menu {
        border-bottom: 1px solid gainsboro;
    }

}

.select-btn:focus,
.form-control:focus {
    outline: 1px;
    box-shadow: 0 0 3px rgba(109, 108, 105, 0.3);
}

.houm-form-subgrid {
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: 100%;
    padding: 10%;
    gap: 6rem;
}

.houm-form-subgrid>a {
    display: inline-flex;
    margin-bottom: 0;
}

.houm-form-subgrid>img {
    width: fit-content;
}

.houm-form-wrap {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.houm-form-wrap:has(.houm-form-date) {
    flex-wrap: nowrap;

    & input {
        display: block;
        padding: 0.7rem 0 0.7rem 40px !important;
    }
}

.form-data-items h2 {
    font-family: 'Baskervville', sans-serif;
    font-weight: 400;
    font-size: 3rem;
    color: #333333;
    margin-bottom: 2rem !important;

}

.houm-form-item input,
.houm-form-item select,
.houm-form-item .select-menu {
    padding-left: 40px !important;
    display: block;
}

.houm-form-date input,
.houm-form-date .select-menu {
    background-image: url('../img/calendar.svg');
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: 4px center;

}

.form-hotel-item select,
.houm-form-item .select-menu {

    position: relative;

}

.form-hotel-item select::before,
.form-hotel-item .select-menu::before {
    content: '';
    display: block;
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: 0;
    top: 9px !important;
    background-image: url('../img/bed.svg');
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: left 90%;

}

.houm-form-adults select::before,
.houm-form-adults .select-menu::before {
    content: '';
    display: block;
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: 0;
    top: 9px !important;
    background-image: url('../img/stick-man.svg');
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: left 90%;

}


.houm-form-kids select::before,
.houm-form-kids .select-menu::before {
    content: '';
    display: block;
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: 0;
    top: 9px !important;
    background-image: url('../img/stick-man.svg');
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: left 90%;

}

.houm-form-babies select::before,
.houm-form-babies .select-menu::before {
    content: '';
    display: block;
    width: 4rem;
    height: 4rem;
    position: absolute;
    left: 0;
    top: 9px !important;
    background-image: url('../img/stick-man.svg');
    background-repeat: no-repeat;
    background-size: 30px;
    background-position: left 90%;

}


.form-data-items .mb-2 {
    margin-bottom: 6rem !important;
}

.form-data-items h2::after {
    display: none;
}

@media (min-width: 992px) {
    .houm-form-wrap {
        flex-direction: row;
    }

    .houm-form-wrap .houm-form-item {
        flex-grow: 1;
    }

    .houm-form-wrap .houm-form-item select {
        width: 100%;
    }

    .houm-form-wrap .houm-form-promotion {
        width: 65%;
    }

    .houm-form-wrap input[type="submit"] {
        width: 30% !important;
    }
}

.houm-form-wrap input[type="submit"] {
    width: 100%;
    flex-grow: 0;
}

@media (min-width >=992px) {


    .houm-form-promotion label {
        width: fit-content !important;
        white-space: nowrap !important;
        margin: 0 !important;
    }




}

.houm-form input[type="submit"] {
    border: none;
    border-radius: 1rem;
    background-color: #a7b2a0 !important;
    font-size: 2rem;
    transition: all 0.3s ease-in-out;
    height: 50px;
    align-self: center;
    font-weight: 600;
    margin: 1rem auto;
    width: 100%;
    max-width: none;
    color: black;
    text-transform: uppercase;
    align-self: flex-end;

}

.houm-form input[type="submit"]:hover {
    background-color: #9ca688;
    color: white;
}

@media (min-width: 992px) {
    .houm-form input[type="submit"] {
        margin: 0;

    }

    .houm-form input[type="submit"] {
        width: fit-content;
    }
}

.houm-form-button {
    padding: 1rem 0 !important;
    text-align: center !important;
    display: block !important;
    width: 100% !important;
    color: black !important;
    background-color: #a7b2a0 !important;
    text-transform: uppercase !important;
    font-weight: 400 !important;
    font-size: 2rem !important;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4) !important;
    border: 0 !important;
    margin-bottom: 1rem !important;
    transition: opacity 0.3s ease-in-out !important;
    opacity: 1 !important;
}

.houm-form-button:hover {
    opacity: 0.95 !important;
}



@media (min-width: 992px) {
    .houm-form-button {
        display: none !important;
    }


}

.container-form-grid {
    display: flex;
    gap: 2rem;
    height: 100%;
    flex: 1;

    & aside {
        background-color: #efefef;
        width: 35%;
        height: 100%;
        display: none;

        @media (min-width: 992px) {
            height: 100%;
            width: 35%;
            display: flex;
            border-right: 1px solid gainsboro;
        }
    }
}

/** HERO VIDEO **/
.hero-houm-video {
    height: 100% !important;
    width: 100% !important;
    position: relative !important;
    overflow: hidden !important;
}

@media (min-width: 992px) {
    .hero-houm-video {
        height: calc(100vh - 80px) !important;
        /* Ensures the video takes up 100% of the viewport on larger screens */
    }
}

.hero-houm-video video {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: cover !important;
    /* Ensures the video covers the entire space without distortion */
    z-index: 0 !important;
    transform: translate(-50%, -50%) !important;
}

/* HERO HOUM VIDEO FILE RESPONSIVE */
.hero-houm-video-file {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-houm-video-file video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    background-color: #000;

    &::webkit-media-controls {
        display: none !important;
    }

}


@media (max-width: 768px) {
    .hero-houm-video-file video {
        object-fit: cover;
    }
}

.hero-houm .carousel-inner {
    width: 100% !important;
    height: calc(100vh - 80px) !important;
    /* Ensures the entire carousel takes up 100% of the viewport */
}



.carousel-item {
    height: calc(100vh - 80px) !important;
    /* Ensures each carousel item takes up 100% of the viewport */
}

/** footer houm **/
.footer-houm {
    background-color: #756565;
    position: relative;
    padding-bottom: 0;

}

.footer-houm-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 3rem 0;

}


.footer-houm-grid a {
    color: white;
    text-decoration: none;
    transition: opacity 0.3s ease-in-out;
    font-weight: 300;
    font-size: 16px;
    text-align: center;
}




.footer-houm-grid a:hover {
    opacity: 0.8;
    color: white;
}


@media (min-width: 992px) {
    .footer-houm-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.footer-houm-logo {
    padding: 2.5rem;
    border-radius: 50%;
    background-color: #a7b2a0;
    position: relative;
    margin: 0 auto;
    width: fit-content;
    margin-top: -98px;
    z-index: 3;
}

.footer-houm-logo img {
    display: block;
    filter: brightness(0);

}

@media (min-width: 992px) {

    .footer-houm-logo {
        margin-top: -126px;
    }
}

.footer-houm-policy {
    padding: 1rem 0;
    color: white;
    background-color: #615454;
    font-weight: 500;
}

.footer-houm-policy-grid {
    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.footer-houm-policy p {
    margin: 0;
    font-weight: 300;
    font-size: 16px;
}

@media (min-width: 992px) {
    .footer-houm-policy-grid {
        display: flex;
        justify-content: space-between;
    }
}

.footer-houm-policy a {
    text-decoration: none;
    color: #848484;
    font-weight: 400;
}


.footer-houm-policy a:hover {
    text-decoration: none;
    color: #848484;
}

.footer-houm-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    font-size: 1.25rem;
}

@media (min-width: 992px) {
    .footer-houm-wrap {
        display: flex;
        flex-direction: row;
    }
}

.footer-houm-policy-grid p:first-of-type {
    text-align: center;
}

.footer-houm-wrap span {
    display: none;
}

@media (min-width: 992px) {

    .footer-houm-wrap span {
        display: block;
        color: #848484;
    }
}

.footer-houm-social {
    display: flex;
    gap: 1rem;
    justify-content: center;
    text-align: center;
}

.footer-houm-social img {
    width: 20px;
    height: 20px;
}

/**  HOUM CARE **/
.houm-care {
    padding: 15rem 0;
    background-color: #efefef;
}

.houm-care-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 992px) {
    .houm-care-grid {
        grid-template-columns: 1fr 1fr 2fr;
    }
}

.houm-care-item {
    overflow: hidden;
    height: 100%;
}

.houm-care-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.houm-care-text {
    padding: 1rem 1.5rem;
    background-color: white;
    height: 100%;
}

.houm-care-text p {
    margin-bottom: 0.5rem;
}

p.houm-care-date {
    margin: 0;
    color: gray;
}

.houm-care-text a {
    text-decoration: none;
    color: black;

}

.houm-care-text h3 {
    font-size: 2.3rem;
    font-weight: 500;
}

.houm-care-text a:has(h3):hover {
    text-decoration: underline;

}

.houm-care-item .carousel-inner,
.houm-care-item .carousel-item,
.houm-care-item .carousel {
    height: 100% !important;
}

/** we are section **/
.we-houm {
    padding: 10rem 0;
}


@media (min-width: 992px) {
    .we-houm {
        padding: 0;
    }

    .we-houm h2 {
        margin-top: 3rem;
    }
}

.we-houm-text {
    padding: 4.5rem;
    background-color: #efefef;
}


.we-houm-testimonial::before {
    content: '\201C';
    font-family: 'Times New Roman', Times, serif;
    font-size: 12rem;
    color: #a7b2a0;
    position: absolute;
    left: -40px;
}

@media (min-width: 992px) {


    .we-houm-grid {
        display: grid;
        grid-template-columns: 1.5fr 2fr;
        gap: 3rem
    }

    .we-houm-text {
        position: relative;
        left: -150px;
        margin-bottom: 3rem;
        width: 128%;
        max-width: 1100px;
    }

    .we-houm-bg {
        background-repeat: no-repeat;
        background-size: cover;
    }
}

.we-houm-testimonial {
    position: relative;
    margin-left: 2rem;
    font-style: italic;
}


@media (min-width: 1400px) {
    .we-houm-text {
        width: 100%;
        max-width: 1100px;
    }
}

/** houm hotels **/

.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 img {
    width: 100%;
    height: 280px;
    float: left;
    object-fit: cover;
}

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

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

    .thumb-box .overlay-box h2 {
        font-size: 4rem;
        color: white;
        margin-top: -4rem !important;
    }
}

.thumb-box .overlay-box {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 7%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.4s ease-in-out;
}

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




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

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

.thumb-box .description {
    color: white;
    margin-top: 5px;
    display: block;
    max-height: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s ease-out, max-height 0.4s ease-out, height 0.4s ease-out, margin 0.4s;

}


.thumb-box a:hover .description {
    opacity: 1;
    max-height: 100%;
    margin-top: 5px;
    transition: opacity 0.4s ease-out, max-height 0.9s ease-out;
    height: fit-content;

}



.houm-hotels-title {
    margin: 0 auto 6rem auto !important;
}

.houm-hotels-grid {
    display: flex;
    gap: 1.5rem;
    flex-direction: column;
}



@media (min-width: 992px) {
    .houm-hotels-grid {
        flex-direction: row;
    }

}

/* houm villas */

.houm-villas-grid {
    display: grid;
    gap: 3rem;
    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;
}

.footer-right-column>img {
    display: block;
    margin: 0 auto 2rem auto;
    height: auto;
}


/** privacy policy **/

.container-policy {
    margin-right: auto;
}

.policy-text {
    text-align: center;
}

.btn-policy {
    margin-top: 3rem;
}

@media (min-width: 992px) {
    .policy-text {
        text-align: left;
    }

    .container-policy {
        max-width: 75%;
    }

}

/** experiencies page**/
.houm-experiencies .nav-tabs {
    display: flex;
    justify-content: space-around;

    position: relative;
    border: 0;

    &::before {
        content: "";
        display: block;
        width: 100%;
        background-color: #efefefbc;
        height: 70%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        position: absolute;
    }
}

.houm-experiencies .nav-link {
    position: relative;
    font-size: 2rem;
    transition: opacity 0.3s ease-in-out;
    align-self: center;
    font-weight: 400;
    width: 100%;
    color: #333333;
    text-transform: uppercase;
    padding: 1rem 3rem;


    &.active {
        display: block;

        height: 120%;
        width: 100%;
        background-color: #a7b2a0;
        font-size: 2rem;
        transition: opacity 0.3s ease-in-out;
        align-self: center;
        font-weight: 400;
        width: 100%;
        color: #333333;


    }
}

.houm-experiencies .pagination {
    justify-content: center;

    & .page-link {
        color: #333333;
        font-weight: 500;
        font-size: 1.6rem;
    }
}