/*============================================================================================*/
/* Your custom styles below */
/*============================================================================================*/

header .logo_normal img,
header .logo_sticky img,
.logo_panel img {
    width: auto;
    height: 52px;
    max-width: 135px;
    padding: 4px;
    border: 1px solid rgba(151, 134, 103, 0.45);
    background-color: #fff;
    box-sizing: border-box;
    object-fit: contain;
}

@media (max-width: 767px) {
    header .logo_normal img,
    header .logo_sticky img,
    .logo_panel img {
        height: 44px;
    }
}

.btn_4.learn-more {
    width: 220px;
}

.btn_4.learn-more .button-text {
    left: 0;
    right: 12px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 14px 0 58px;
    white-space: nowrap;
}

.hero {
    position: relative;
}

.hero.hero-clean {
    background: linear-gradient(135deg, #5f553f 0%, #978667 52%, #b8aa83 100%);
}

.hero.hero-cover {
    overflow: hidden;
    background: #0e3e28;
}

.hero-cover-picture,
.hero-cover-img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.hero-cover-img {
    object-fit: contain;
    object-position: center;
}

.hero-cover .mouse_wp {
    position: absolute;
    left: 50%;
    bottom: 30px;
    z-index: 2;
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    .hero.full-height.hero-cover {
        height: 100vh;
        min-height: 100vh;
        height: 100svh;
        min-height: 100svh;
    }
}

.region-carousel-card {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    background: linear-gradient(145deg, #f3ede5 0%, #ffffff 100%);
    box-shadow: 0 20px 60px rgba(34, 34, 34, 0.14);
    padding: 14px;
}

.region-carousel {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #f3ede5;
}

.region-carousel .carousel-inner,
.region-carousel .carousel-item {
    width: 100%;
    aspect-ratio: 16 / 10;
}

.region-carousel .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.region-carousel .carousel-control-prev,
.region-carousel .carousel-control-next {
    width: 12%;
    opacity: 0.9;
}

.region-carousel .carousel-control-prev-icon,
.region-carousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(24, 24, 24, 0.45);
    background-size: 52%;
}

.region-carousel .carousel-indicators {
    margin-bottom: 12px;
}

.region-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 0;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.8);
}

.region-carousel .carousel-indicators .active {
    background: #b88a52;
}

.room-carousel {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #ccc;
}

.room-carousel .carousel-inner,
.room-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.room-carousel .carousel-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.room-carousel .carousel-control-prev,
.room-carousel .carousel-control-next {
    width: 12%;
    opacity: 0.95;
    z-index: 4;
}

.room-carousel .carousel-control-prev-icon,
.room-carousel .carousel-control-next-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background-color: rgba(24, 24, 24, 0.45);
    background-size: 52%;
}

.room-carousel .carousel-indicators {
    z-index: 4;
    margin-bottom: 16px;
}

.room-carousel .carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    margin: 0 5px;
    background-color: rgba(255, 255, 255, 0.85);
}

.room-carousel .carousel-indicators .active {
    background: #b88a52;
}

.row_list_version_1 .box_item_info {
    background-color: rgba(255, 255, 255, 0.55);
    backdrop-filter: blur(2px);
}

.row_list_version_1 .box_item_info small {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #a89064;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.45);
    line-height: 1.2;
}

.box_item_info .facilities ul li i {
    flex: 0 0 30px;
    width: 30px;
    text-align: center;
}

@media (max-width: 991px) {
    .region-carousel-card {
        margin-bottom: 24px;
    }
}

@media (max-width: 767px) {
    .parallax_section_1 {
        height: auto;
        min-height: 0;
    }

    .parallax_section_1 .wrapper {
        position: relative;
        min-height: 0;
        padding: 50px 0;
    }

    .parallax_section_1 .title h2 {
        font-size: 30px;
        line-height: 1.15;
    }

    .carousel_testimonials .owl-stage-outer {
        overflow: visible;
    }

    .margin_120_95 {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .bg_white .add_bottom_90 {
        flex-direction: column-reverse;
        align-items: stretch !important;
        gap: 8px;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .bg_white .add_bottom_90 > [class*="col-"] {
        width: 100%;
    }

    .bg_white .add_bottom_90 .title {
        margin-bottom: 0;
    }

    .region-carousel-card {
        border-radius: 20px;
        padding: 10px;
        box-shadow: 0 14px 35px rgba(34, 34, 34, 0.14);
    }

    .region-carousel-card.mb-4 {
        margin-bottom: 0 !important;
    }

    .region-carousel {
        border-radius: 14px;
    }

    .region-carousel .carousel-inner,
    .region-carousel .carousel-item {
        aspect-ratio: 4 / 3;
    }

    .region-carousel .carousel-control-prev-icon,
    .region-carousel .carousel-control-next-icon {
        width: 34px;
        height: 34px;
    }

    .region-carousel .carousel-indicators {
        margin-bottom: 8px;
    }

    .row_list_version_1 .pinned-image--medium {
        height: 62vh;
        min-height: 390px;
    }

    .room-carousel .carousel-control-prev,
    .room-carousel .carousel-control-next {
        width: 16%;
    }

    .room-carousel .carousel-control-prev-icon,
    .room-carousel .carousel-control-next-icon {
        width: 34px;
        height: 34px;
    }

    .room-carousel .carousel-indicators {
        margin-bottom: 8px;
    }

    .bg_white .container.margin_120_95 {
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .box_overlay {
        padding: 24px 20px;
        min-height: 0;
    }

    .pic {
        margin-bottom: 18px;
    }

    .pic figure {
        width: 70px;
        height: 70px;
    }

    .pic figure img {
        width: 70px;
    }

    .pic h4 {
        font-size: 14px;
        line-height: 1.25;
    }

    .pic h4 small {
        font-size: 12px;
        line-height: 1.25;
    }

    .comment {
        font-size: 16px;
        line-height: 1.45;
    }
}

@media (min-width: 768px) {
    .box_overlay {
        padding-left: 290px;
    }

    .pic {
        width: 215px;
    }

    .pic h4 {
        width: 120px;
        line-height: 1.25;
    }

    .pic h4 small {
        line-height: 1.25;
    }
}

@media (min-width: 992px) {
    .box_overlay {
        padding-left: 340px;
    }

    .pic {
        width: 265px;
    }

    .pic h4 {
        width: 170px;
    }
}

.room-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 22px;
}

.room-actions .btn_4.learn-more {
    width: 220px;
    min-height: 2.6rem;
}

.room-actions button.btn_4.learn-more {
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
}

.room-actions .btn_4.learn-more .circle {
    position: absolute;
    top: 0;
    left: 0;
}

.room-actions .btn_4.learn-more .button-text {
    position: relative;
    min-height: 2.6rem;
    align-items: center;
    font-size: 15px;
    line-height: 1.2;
    z-index: 1;
}

.apartment-gallery-modal,
.image-zoom-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.apartment-gallery-modal[aria-hidden="false"],
.image-zoom-modal[aria-hidden="false"] {
    display: block;
}

body.gallery-open {
    overflow: hidden;
}

.apartment-gallery-backdrop,
.image-zoom-modal {
    background: rgba(0, 0, 0, 0.72);
}

.apartment-gallery-backdrop {
    position: absolute;
    inset: 0;
}

.apartment-gallery-dialog {
    position: relative;
    width: min(1120px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    margin: 16px auto;
    padding: 24px;
    overflow: auto;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.28);
}

.gallery-close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 50%;
    background: #978667;
    color: #fff;
    font-size: 28px;
    line-height: 42px;
    z-index: 2;
}

.gallery-modal-header {
    padding-right: 54px;
    margin-bottom: 18px;
}

.gallery-modal-header h3 {
    margin: 0;
}

.gallery-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.gallery-tab {
    border: 1px solid rgba(151, 134, 103, 0.35);
    border-radius: 999px;
    padding: 10px 16px;
    background: #fff;
    color: #333;
    font-weight: 600;
}

.gallery-tab.active {
    background: #978667;
    color: #fff;
}

.gallery-pane {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.gallery-pane.active {
    display: grid;
}

.gallery-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 16px;
    overflow: hidden;
    background: #f3f0ea;
}

.gallery-thumb img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.2s ease;
}

.gallery-thumb:hover img {
    transform: scale(1.035);
}

.image-zoom-modal {
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.image-zoom-modal[aria-hidden="false"] {
    display: flex;
}

.image-zoom-modal img {
    max-width: min(1200px, 94vw);
    max-height: 90vh;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}

.image-zoom-modal .gallery-close {
    position: fixed;
}

@media (max-width: 991px) {
    .gallery-pane {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .room-actions .btn_4.learn-more {
        width: 100%;
    }

    .apartment-gallery-dialog {
        padding: 18px;
        width: calc(100vw - 18px);
        margin: 9px auto;
    }

    .gallery-pane {
        grid-template-columns: 1fr;
    }

    .gallery-thumb img {
        height: 260px;
    }
}
