﻿/* ===========================
   RESET CƠ BẢN
=========================== */
.list-cate-lease ul,
.list-cate-lease li {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* ===========================
   GRID
=========================== */
.l-cate-lease-full-service {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

/* Item chính */
.item-cate-lease {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    transition: all .35s ease;
}

    .item-cate-lease a {
        display: block;
        position: relative;
        height: 100%;
    }

/* ===========================
   HÌNH ẢNH
=========================== */
.decor-img-cate-lease {
    position: relative;
    width: 100%;
    height: 330px;
    border-radius: 16px;
    overflow: hidden;
}

    .decor-img-cate-lease img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .6s ease, filter .4s ease;
        border-radius: 16px;
    }

    /* Overlay xanh lá – phong cách nông nghiệp */
    .decor-img-cate-lease::after {
        content: "";
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,80,20,0.45) 100%);
        z-index: 2;
        transition: opacity .4s ease;
        opacity: 1;
    }

/* Hover ảnh */
.item-cate-lease:hover .decor-img-cate-lease img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.item-cate-lease:hover .decor-img-cate-lease::after {
    /* opacity: 0; */
    background: linear-gradient(to top, rgba(0, 0, 0, 0) 0%, rgb(0 0 0 / 77%) 100%);
}

/* ===========================
   TIÊU ĐỀ DƯỚI ẢNH (MẶC ĐỊNH)
=========================== */
.title-cate-lease {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    z-index: 5;
    text-align: left;
    transition: all .35s ease;
}

    .title-cate-lease h4 {
        color: #ffffff;
        font-size: 24px;
        font-weight: normal;
        text-transform: uppercase;
        font-family: 'Inter_24pt-SemiBold';
    }

/* Ẩn tiêu đề khi hover */
.item-cate-lease:hover .title-cate-lease {
    opacity: 0;
    transform: translateY(20px);
}

/* ===========================
   NỘI DUNG HIỆN KHI HOVER
=========================== */
.bic-content {
    position: absolute;
    inset: 0;
    padding: 30px 25px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    text-align: left;
    z-index: 10;
    opacity: 0;
    transition: opacity .35s ease, transform .35s ease;
    transform: translateY(20px);
}

.item-cate-lease:hover .bic-content {
    opacity: 1;
    transform: translateY(0);
}

/* Tiêu đề bên trong */
.bic-content h3.bic-text {
    font-size: 24px;
    font-weight: normal;
    color: #ffffff;
    margin: 0 0 10px 0;
    text-transform: uppercase;
    font-family: 'Inter_24pt-SemiBold';
}

/* Mô tả */
.bic-descript {
    color: #e8ffe8;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 20px;
    font-family: 'Inter_24pt-Medium';
}

/* ===========================
   BUTTON "TÌM HIỂU THÊM"
=========================== */
.bic_readmore {
    margin-top: auto;
}

    .bic_readmore span {
        background: linear-gradient(90deg, #2E8F43, #57C84D);
        padding: 12px 22px;
        border-radius: 40px;
        font-size: 15px;
        color: #fff;
        display: inline-flex;
        align-items: center;
        gap: 8px;
        transition: all .3s ease;
        font-weight: normal;
    }

        .bic_readmore span:hover {
            background: #1E6F34;
            transform: translateY(-2px);
        }

        /* Icon mũi tên */
        .bic_readmore span .icon svg path {
            fill: #fff;
        }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .l-cate-lease-full-service {
        grid-template-columns: repeat(2, 1fr);
    }

    .decor-img-cate-lease {
        height: 260px;
    }
}

@media (max-width: 600px) {
    .l-cate-lease-full-service {
        grid-template-columns: repeat(1, 1fr);
    }

    .decor-img-cate-lease {
        height: 230px;
    }
}