﻿.home-product {
    position: relative;
    z-index: 1;
    background-image: url(../../../Design/img/h21.png);
    background-size: 100% 100%;
    background-repeat: no-repeat;
    padding-bottom: 20px;
    position: relative;
    margin-top: -97px;
}

.home-product-container {
    position: relative;
}

.h-2 {
}

.home-du-an-descript {
    width: 85%;
    color: #1C1D28;
    font-family: 'interR';
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.home-du-an {
    padding-bottom: 53px;
    background: #F3F3F3;
}
/* --- Bổ sung Transition cho container và nút --- */

.ahe-addu {
    /* Thêm transition để chuyển đổi màu mượt mà */
    transition: all 0.3s ease-in-out;
    /* ... các thuộc tính gốc ... */
    border: 1px solid var(--default-color-1);
    padding: 10px 26px;
    border-radius: 31px;
}

.btnxem-tat {
    /* Thêm transition cho màu chữ */
    transition: color 0.3s ease-in-out;
    /* ... các thuộc tính gốc ... */
    color: var(--default-color-1);
}

/* --- Hiệu ứng HOVER (Di chuột vào container) --- */

.ahe-addu:hover {
    /* Đổi màu nền thành màu chính (hoặc màu nổi bật) */
    background-color: var(--default-color-1);
}

    /* --- Hiệu ứng HOVER (Đổi màu chữ bên trong) --- */

    .ahe-addu:hover .btnxem-tat {
        /* Đổi màu chữ thành màu trắng (hoặc màu nền cũ) */
        color: #FFF;
    }

.aa-homesa {
    padding-top: 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ahe-sadu h2 {
    font-family: 'monB';
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 58px;
    text-transform: uppercase;
    position: relative;
    color: var(--default-color-1);
    margin: 0;
    /* padding-top: 35px; */
}

    .ahe-sadu h2:before {
        content: "";
        position: absolute;
        height: 1px;
        width: 74%;
        background: var(--default-color-1);
        right: -111px;
        bottom: 13px;
    }

.homeDuAnSwiper {
    display: flex;
    gap: 20px;
    padding-top: 31px;
}

.homeDuAnTieuBieu {
    float: right;
    width: 100%;
}

.item-DuAn {
}

.itemass {
    border-radius: 10px;
    overflow: hidden;
}

.itemass-top img {
    height: 363px;
}

.itemass-top {
    position: relative;
}

.item-img {
}

.item-tg-a {
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #FFFF;
    background: var(--default-color-1);
    padding: 9px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    top: 0;
    right: 28px;
}

.item-ngay {
    font-size: 35px;
    font-family: 'monB';
}

.item-thang-nam {
}

.itemass-bottom {
    padding: 15px 15px;
    background: #FFFF;
}

.done-da {
    font-family: 'interSB';
    color: var(--default-color-4);
    text-transform: uppercase;
    font-size: 13px;
}

.da-title {
    position: relative;
    margin: 0;
    padding: 14px 0px;
    color: var(--default-color-1);
}

.da-descript {
    position: relative;
    padding-top: 5px;
    /* padding-bottom: 20px; */
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    padding-top: 15px;
    margin-bottom: 20px;
}

.da-title:before {
    content: "";
    position: absolute;
    width: 173px;
    background: #8080804f;
    bottom: 0px;
    height: 1px;
}

.da-descript:before {
    content: "";
    position: absolute;
    width: 173px;
    background: gray;
    top: -5px;
    height: 1px;
}

.homeDuAn {
    width: 48%;
}

.homeDuAn-top {
}

.itemm-left-bottom {
    position: absolute;
    bottom: 0;
    padding: 30px;
    padding-left: 10px;
    padding-right: 0;
    z-index: 1;
    transition: all 0.4s ease;
    padding-bottom: 9px;
}

.p-room-imgwq {
    height: 0;
    opacity: 1; /* ẩn mặc định */
    visibility: hidden;
    position: relative;
    margin-top: 10px;
    font-size: 14px;
    color: #000;
    background: var(--default-color-4);
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    transform: translateY(10px); /* trượt nhẹ từ dưới lên */
    transition: all 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 54%;
}

    .p-room-imgwq svg {
        margin-left: 5px;
    }

        .p-room-imgwq svg path {
            fill: #000
        }

.item-left-da:hover .p-room-imgwq {
    opacity: 1;
    height: auto;
    visibility: visible;
    transform: translateY(0); /* trở về vị trí ban đầu */
}

.sjas {
    font-size: 13px;
    color: var(--default-color-7);
    font-weight: bold;
}
.item-left-da:hover .title-duan-left{
    transform: translateY(-10px);
}
.title-duan-left {
    color: #FFFF;
    font-size: 19px;
    font-family: 'interM';
    padding-top: 16px;
    position: relative;
    text-transform: uppercase;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    line-height: 27px;
    transition: all 0.8s ease-in-out;
}

    .title-duan-left:before {
        position: absolute;
        content: "";
        width: 100px;
        background: gray;
        height: 2px;
        bottom: -6px;
    }

.p-room-imgwq {
}

.item-ngay-left {
    font-size: 18px;
    font-family: 'monB';
}

.item-thang-nam-left {
    font-size: 11px;
}

.item-left-da {
    position: relative;
    overflow: hidden;
    border-radius: 9px;
    z-index: 1; /* hiệu ứng bóng đổ giống box trong ảnh */ /* bóng đổ giống hình */
    transition: all 0.3s ease;
}

    .item-left-da:before {
        content: "";
        width: 100%;
        height: 100%;
        position: absolute;
        /* background: #903535ab; */
        background: linear-gradient(0deg, rgb(0 0 0 / 68%) 0%, rgb(0 0 0 / 41%) 30%, rgba(44, 197, 128, 0.05) 57%);
        top: 0px;
        left: 0px;
        /* hiệu ứng bóng đổ giống box trong ảnh */
        z-index: 1;
    }

.itemass-left-img img {
    height: 383px;
}

.itemass-left-img {
    position: relative;
    /* bóng đổ giống hình */
}

.item-tg-a-left {
    position: absolute;
    display: flex;
    flex-direction: column;
    text-align: center;
    color: #FFFF;
    background: var(--default-color-1);
    padding: 9px;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    top: 0;
    right: 20px;
}

.p-room-img svg {
    transition: transform 0.3s ease;
}

/* Hiệu ứng hover */
.p-room-img:hover {
    background: #0f6f41; /* màu đậm hơn */
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

    .p-room-img:hover svg {
        transform: translateX(4px); /* icon mũi tên chạy qua phải */
    }

.p-room-img {
    width: 31%;
    background: #00A257;
    padding: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    color: #FFF;
    border-radius: 27px;
    transition: all 0.3s ease;
}

.homeDuAn-bottom {
    background-image: url(../../../Design/img/Layer3.png);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 26px 17px;
    margin-top: 10px;
    border-radius: 10px;
}

.DA-bott-top {
}

.asdvzxb {
    text-align: center;
    font-size: 18px;
    font-family: 'interR';
    color: #FFF;
}

.skcxhvjk {
    font-size: 16px;
    text-align: center;
    color: var(--default-color-4);
    margin-top: 10px;
    font-style: italic;
    font-weight: bold;
}

.DA-bott-bottom {
}

.service-detail-descript-contact {
}

.service-contact-adress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 19px;
    gap: 16px;
    flex-direction: row;
}

.price-table-send-price-service {
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

    .price-table-send-price-service:nth-child(2) a {
        background: #00A257;
    }

    .price-table-send-price-service a:hover {
        background: var(--default-color-1); /* nền xanh */
        color: #fff; /* chữ trắng */
        transform: translateY(-6px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.25);
    }

    .price-table-send-price-service img {
        max-width: 40px;
        margin-bottom: 10px;
        transition: transform 0.3s ease;
        filter: invert(44%) sepia(87%) saturate(302%) hue-rotate(85deg) brightness(121%) contrast(116%); /* Màu xanh lá tương đối */
    }

    .price-table-send-price-service a:hover img {
        transform: scale(1.15) rotate(8deg); /* icon phóng to nhẹ + xoay */
    }

    .price-table-send-price-service a {
        display: flex;
        align-items: center;
        justify-content: unset;
        gap: 11px;
        background: var(--default-color-4);
        width: max-content;
        padding: 8px 9px;
        border-radius: 50px;
        border: 2px solid #fff;
        height: 65px;
        margin: auto;
        width: 246px;
        padding-left: 11px;
        border: 3px solid #FFF;
        transition: all 0.3s ease;
    }

.icon-send-price-service {
    position: relative;
    top: -19px;
    width: 60px;
    height: 60px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .icon-send-price-service img {
        width: 60%;
    }

.price-table-send-price-service span {
    font-size: 16px;
    color: #FFF;
    font-weight: bold;
}

.title-h-product {
    margin: 0;
    text-align: center;
    font-family: 'OswaM';
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    text-transform: uppercase;
    background: linear-gradient( 90deg, #138853 0%, #57BE85 50%, #138853 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: 54px;
    padding-top: 87px;
}

    .title-h-product:before {
        position: absolute;
        content: "";
        width: 24%;
        height: 38%;
        background: url(../../../Design/img/bottom-title.png) no-repeat;
        left: 54%;
        transform: translateX(-50%);
        bottom: -37px;
    }

.h-product-list {
    display: grid;
    grid-auto-rows: minmax(min-content,max-content);
    grid-template-columns: repeat(4,minmax(0,1fr));
    column-gap: 20px;
    row-gap: 20px;
    padding-bottom: 34px;
}

.product-item {
    padding: 10px;
    background: #EDFDF2;
    border-radius: 20px; /* đổ bóng */
    box-shadow: 4px 8px 8px 0 rgba(0, 0, 0, 0.10);
    Colors Color format Hex Background colors #EDFDF2;
    transition: all 0.4s ease;
    overflow: hidden;
}

.product-item-top {
}

.product-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

    .product-item:hover .product-item-top img {
        transform: scale(1.05);
    }

.product-item-title {
    transition: color 0.3s ease;
}

.product-item:hover .product-item-title {
    color: #138853; /* đổi sang màu nổi bật */
}

.product-item-top img {
    border-radius: 10px;
    transition: transform 0.4s ease;
    height: 250px;
}

.product-item-bottom {
}

.product-item-title {
    color: #2D2D2D;
    text-align: center;
    font-family: 'interSB';
    font-size: 19px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    padding-top: 17px;
}

.p-product-pricee h3 {
    margin: 0;
    padding: 15px 0;
    padding-bottom: 2px;
}

.p-product-pricee {
    color: #009C4D;
    text-align: center;
    font-family: 'interSB';
    font-size: 15px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}

.btn-h-product:hover {
    background: linear-gradient(90deg, #138853 0%, #57BE85 50%, #138853 100%); /* đậm hơn khi hover */
    transform: translateY(-2px); /* nổi lên nhẹ */
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.h-product-button-more {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 27px;
}

.btn-h-product {
    transition: all 0.3s ease;
    color: #FFF;
    font-family: 'interR';
    font-size: 17.274px;
    font-style: normal;
    font-weight: 400;
    line-height: normal;
    padding: 12px 21px;
    border-radius: 50px;
    background: #F7BC0A;
}

@media (max-width:739px) {
    .ahe-sadu h2 {
        font-size: 33px;
    }

    .h-product-button-more {
    }

    .btn-h-product {
        font-size: 12px;
    }

    .home-product {
        margin-top: unset;
    }

    .home-product-container {
    }

    .title-h-product {
        font-size: 29px;
        padding-top: 20px;
        padding-bottom: 50px;
        position: relative;
    }

    .h-product-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 10px;
        row-gap: 10px;
    }

    .product-item {
    }

    .product-item-top {
    }

        .product-item-top img {
            height: 145px;
        }

    .product-item-bottom {
    }

    .product-item-title {
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        font-size: 14px;
    }

    .btnxem-tat {
        font-size: 12px;
    }

    .p-product-pricee {
        font-size: 13px;
    }

    .title-h-product:before {
        width: 56%;
        bottom: -8px;
        left: 196px;
    }

    .home-product:after {
        width: 100%;
    }

    .home-product:before {
        background-size: 100% 16%;
    }

    .p-product-pricee h3 {
        padding-top: 8px;
    }

    .h-2 {
        margin-bottom: 0;
        padding-bottom: 0px;
        margin-top: unset;
    }

    .homeDuAnSwiper {
        flex-direction: column;
        padding-top: 5px;
    }

    .homeDuAnTieuBieu {
    }

    .item-DuAn {
    }

    .itemass {
    }

    .itemass-top {
    }

    .item-img {
        height: 300px !important;
    }

    .item-tg-a {
    }

    .item-ngay {
        font-size: 25px;
    }

    .item-thang-nam {
        font-size: 10px;
    }

    .itemass-bottom {
        padding-top: 10px;
    }

    .done-da {
    }

    .da-title {
        font-size: 18px;
    }

    .da-descript {
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        padding-top: 11px;
    }

    .homeDuAn {
        width: 100%;
    }

    .homeDuAn-top {
    }

    .da-title:before {
        display: none
    }

    .item-left-da {
    }

    .itemass-left-img img {
        height: 300px;
    }

    .itemass-left-img {
    }

    .item-ngay-thang {
        font-size: 12px
    }

    .itemm-left-bottom {
        padding-left: 8px;
        padding-bottom: 12px;
    }

    .item-tg-a-left {
    }

    .p-room-img {
        width: 35%;
        font-size: 11px;
        margin-top: 10px;
    }

    .homeDuAn-bottom {
    }

    .DA-bott-top {
    }

    .asdvzxb {
    }

    .skcxhvjk {
        padding: 2px 25px;
    }

    .DA-bott-bottom {
    }

    .service-detail-descript-contact {
    }

    .service-contact-adress {
        flex-direction: column;
        gap: 25px;
    }

    .price-table-send-price-service {
    }

    .title-duan-left {
        padding-top: 7px;
        font-size: 14px;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        line-height: 16px;
    }

    .icon-send-price-service {
        width: 45px;
        height: 45px;
    }

    .price-table-send-price-service span {
    }

    .p-room-imgwq {
        font-size: 10px;
        width: 68%;
    }

    .price-table-send-price-service a {
        /* width: 200px; */
        height: 54px;
    }

    .item-ngay-left {
        font-size: 14px;
    }

    .item-thang-nam-left {
        font-size: 8px;
    }

    .da-descript:before {
        top: 0px;
        background: #80808036;
    }

    .icon-send-price-service img {
        width: 45%;
        margin-bottom: 0;
    }
}
    