/* Homepage-only responsive layout corrections. Desktop rules stay unchanged. */

.mobile_luxury_image {
    display: none;
}

@media (max-width: 991px) {
    .site_header .navbar-collapse {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        z-index: 1000;
        max-height: calc(100vh - 76px);
        overflow-y: auto;
        padding: 0 20px 12px;
        background: #fff;
        box-shadow: 0 8px 14px rgb(0 0 0 / 10%);
    }

    .site_header ul.menu_list {
        width: 100%;
        height: auto;
        gap: 0;
        margin: 0;
    }

    .site_header ul.menu_list>li.nav-item {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
        min-height: 48px;
        gap: 0 8px;
        padding: 4px 0;
        border-bottom: 1px solid rgb(35 31 32 / 12%);
    }

    .site_header ul.menu_list>li.nav-item:last-child {
        border-bottom: 0;
    }

    .site_header ul.menu_list>li.nav-item>a.nav-link {
        flex: 1 1 auto;
        width: auto;
        padding: 12px 0 !important;
        text-align: left;
        color: #231f20;
    }

    .site_header ul.menu_list>li.nav-item>a.nav-link::before,
    .site_header ul.menu_list>li.nav-item>a.nav-link::after {
        display: none;
    }

    .site_header ul.menu_list>li.nav-item>span.menu_toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 40px;
        min-height: 40px;
        margin-left: auto;
    }

    .site_header ul.navbar-nav li ul.sub_menu.active_menu {
        position: static;
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        padding: 4px 0 8px 14px;
        background: transparent;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
    }

    .site_header ul.navbar-nav li ul.sub_menu.active_menu li {
        width: 100%;
    }

    .site_header ul.navbar-nav li ul.sub_menu.active_menu a.sub_item {
        display: block;
        width: 100%;
        padding: 9px 0;
        color: #231f20;
    }

    section.counter_sec .counter {
        width: 30%;
        min-width: 0;
    }

    section.counter_sec .right_side {
        width: 64%;
    }

    .projects_sec .filter_wrap {
        width: 100%;
        max-width: 100%;
        flex-wrap: wrap;
        gap: 10px;
        padding: 20px;
    }

    .projects_sec select.filter_option {
        flex: 1 1 180px;
        width: auto;
        min-width: 0;
        margin: 0;
    }

    section.lucury_propertysec>.jc_between {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    section.lucury_propertysec .left_img,
    section.lucury_propertysec .right_img {
        display: none;
    }

    section.lucury_propertysec .middle_content {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    }

    section.lucury_propertysec .mobile_luxury_image {
        display: block;
        width: 100%;
        height: auto;
        max-width: 100%;
        object-fit: contain;
    }

    section.lucury_propertysec .mobile_luxury_image--first {
        margin: 0 auto 28px;
        -webkit-filter: grayscale(1);
    }

    section.lucury_propertysec .mobile_luxury_image--second {
        margin: 28px auto 0;
        -webkit-filter: grayscale(1);
    }
}

@media (max-width: 767px) {
    .site_home_head {
        font-size: 16px;
    }

    .skip_btn {
        right: 18px;
        bottom: 22px;
        left: auto;
        width: max-content;
        max-width: calc(100% - 36px);
    }

    .skip_btn button {
        white-space: nowrap;
        font-size: 13px;
    }

    .skip_btn button::after {
        width: 44px;
        left: -54px;
    }

    section.counter_sec {
        padding: 52px 0 56px;
    }

    .counter_sec p.site_home_pra {
        margin-top: 24px;
        line-height: 1.7;
        font-size: 12px;
    }

    .counter_wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 28px;
        margin-top: 36px;
    }

    section.counter_sec .counter,
    section.counter_sec .right_side {
        width: 100%;
    }

    .counter .stat-wrap {
        width: 100%;
    }

    .counter_inner {
        gap: 12px;
        padding: 14px 0;
    }

    section.counter_sec .number_wrapper {
        font-size: clamp(28px, 8vw, 36px);
        flex: 0 0 auto;
    }

    section.counter_sec span.title {
        font-size: 14px;
        line-height: 1.3;
    }

    .counter_inner:not(:last-child)::after {
        width: min(100%, 250px);
    }

    .counter_wrapper .right_side .img_box {
        width: 100%;
    }

    .counter_wrapper .right_side .img_box img {
        display: block;
        width: 100%;
        height: auto;
    }

    .counter_wrapper .right_side .btn_wrapper {
        margin-top: 18px;
    }

    .projects_sec .filter_wrap {
        display: flex;
        flex-flow: row nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(4px, 2vw, 10px);
        box-sizing: border-box;
        width: 100%;
        min-height: 96px;
        padding: 24px clamp(8px, 3vw, 18px);
    }

    .projects_sec select.filter_option {
        flex: 1 1 0;
        width: 0;
        min-width: 0;
        min-height: 34px;
        box-sizing: border-box;
        padding: 5px clamp(4px, 1.5vw, 10px);
        margin: 0;
        overflow: hidden;
        text-overflow: clip;
        white-space: nowrap;
        font-size: clamp(10px, 3.4vw, 14px);
    }

    .projects_sec h2 {
        text-align: center;
    }

    section.lucury_propertysec {
        padding: 52px 0 64px;
    }

    section.lucury_propertysec>.jc_between {
        display: flex;
        flex-direction: column;
        gap: 0;
        align-items: stretch;
    }

    section.lucury_propertysec .middle_content {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 620px;
        margin: 0 auto;
        padding: 0 18px;
    }

    section.lucury_propertysec .middle_content h2 {
        margin-bottom: 24px;
    }

    section.lucury_propertysec .left_img,
    section.lucury_propertysec .right_img {
        display: none;
    }

    section.lucury_propertysec .left_img img,
    section.lucury_propertysec .right_img img {
        display: block;
        width: 100%;
        height: 150px;
        object-fit: cover;
    }

    section.spaces_sec {
        padding-bottom: 56px;
    }

    section.spaces_sec .spaces_img {
        padding-right: 0;
    }

    section.spaces_sec .spaces_img img {
        display: block;
        width: 100%;
        height: clamp(220px, 72vw, 320px);
    }

    section.spaces_sec a.bagde_btn {
        top: 22%;
        right: 0;
        width: min(50%, 340px);
        box-sizing: border-box;
        padding: 18px 20px;
        font-size: 16px;
        line-height: 1.3;
    }

    section.spaces_sec .btn_linewrapper {
        max-width: 100%;
        margin-top: 24px;
        padding: 0 12px;
    }

    section.home_blogs {
        padding: 56px 0 64px;
    }

    section.home_blogs .wrapper {
        margin-top: 30px;
    }

    section.home_blogs .post_row,
    section.home_blogs .post_row:nth-child(even) {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    section.home_blogs .post_fimage,
    section.home_blogs .post_content {
        width: 100%;
        max-width: 100%;
    }

    section.home_blogs .post_fimage img {
        display: block;
        width: 100%;
        height: auto;
    }

    section.home_blogs .post_row .post_content,
    section.home_blogs .post_row:nth-child(even) .post_content {
        text-align: left;
    }

    section.home_blogs h3.post_title {
        max-width: none;
        padding-bottom: 16px;
        margin-bottom: 16px;
    }

    section.home_blogs .post_excerpt p {
        max-width: none;
        line-height: 1.6;
    }
}

@media (max-width: 575px) {
    .site_home_head span.fs_change {
        font-size: clamp(16px, 6vw, 34px);
        line-height: 1.2;
    }

    .counter_wrapper .right_side .btn_wrapper {
        align-items: center;
    }

    section.lucury_propertysec .left_img img,
    section.lucury_propertysec .right_img img {
        height: 120px;
    }
}
