/**
 * =========================================================
 * HÌNH ẢNH TRIỂN KHAI - SLIDER
 * =========================================================
 */


/**
 * ---------------------------------------------------------
 * SECTION
 * ---------------------------------------------------------
 */

.bc-hinh-anh-trien-khai {
    width: 100%;
    padding: 40px 0 0;
    overflow: hidden;
    color: #333;
}


/**
 * ---------------------------------------------------------
 * HEADER
 * ---------------------------------------------------------
 */

.bc-hinh-anh-trien-khai .amenities-header {
    max-width: 1300px;
    margin: 0 auto 30px;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}
.bc-hinh-anh-trien-khai .amenities-heading {
    flex: 1 1 auto;
}
.bc-hinh-anh-trien-khai .heading-label {
    margin: 0 0 8px;

    color: #1d84c7;

    font-size: 16px;
    font-weight: 700;

    line-height: 1.3;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}


.bc-hinh-anh-trien-khai .heading-title {
    margin: 0;
    color: #14358a;
    font-size: 1.6em;
    font-weight: 600;
    line-height: 1.15;
}


.bc-hinh-anh-trien-khai .heading-description {
    flex: 0 1 550px;
    max-width: 550px;
    margin: 0;
    color: #222;
    font-size: 16px;
    line-height: 1.6;
    text-align: justify;
}

/**
 * ---------------------------------------------------------
 * PREVENT SWIPER FLASH BEFORE INITIALIZATION
 * ---------------------------------------------------------
 */

.bc-hinh-anh-trien-khai .amenities-slider {
    visibility: hidden;
    opacity: 0;
}

.bc-hinh-anh-trien-khai.bc-slider-initialized .amenities-slider {
    visibility: visible;
    opacity: 1;
    transition: opacity 0.25s ease;
}


.bc-hinh-anh-trien-khai .amenities-slider .swiper-wrapper {
    align-items: stretch;
}


.bc-hinh-anh-trien-khai .amenities-slider .swiper-slide {
    position: relative;

    height: 450px;

    overflow: hidden;

    background: #ddd;

    transition:
        transform 0.5s ease,
        opacity 0.5s ease;
}


.bc-hinh-anh-trien-khai
.amenities-slider
.swiper-slide:not(.swiper-slide-active) {
    opacity: 0.92;
}


/**
 * ---------------------------------------------------------
 * IMAGE
 * ---------------------------------------------------------
 */

.bc-hinh-anh-trien-khai .slide-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform 0.8s cubic-bezier(.2, .7, .2, 1);
}


.bc-hinh-anh-trien-khai
.swiper-slide-active
.slide-image {
    transform: scale(1.03);
}


/**
 * ---------------------------------------------------------
 * GRADIENT
 * ---------------------------------------------------------
 */

.bc-hinh-anh-trien-khai .slide-gradient {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.05) 55%,
            rgba(0, 0, 0, 0) 100%
        );

    pointer-events: none;
}


/**
 * ---------------------------------------------------------
 * CONTENT BOX
 * ---------------------------------------------------------
 */

.bc-hinh-anh-trien-khai .slide-content {
    position: absolute;

    left: 50%;
    bottom: 24px;

    width: calc(100% - 50px);

    max-width: 650px;

    padding: 22px 28px;

    transform: translateX(-50%);

    color: #fff;

    background:
        linear-gradient(
            135deg,
            #005cc5,
            #14358a
        );

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    box-shadow:
        0 15px 40px rgba(65, 26, 15, 0.18);
}


.bc-hinh-anh-trien-khai .slide-content::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 4px;
    height: 100%;

    background: rgba(255, 255, 255, 0.55);
}


.bc-hinh-anh-trien-khai .slide-title {
    margin: 0 0 8px;

    color: #fff;

    font-size: 21px;

    line-height: 1.3;

    font-weight: 700;
}


.bc-hinh-anh-trien-khai .slide-description {
    margin: 0;

    color: rgba(255, 255, 255, 0.88);

    font-size: 12px;

    line-height: 1.55;

    display: -webkit-box;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;

    overflow: hidden;
}


/**
 * ---------------------------------------------------------
 * NAVIGATION
 * ---------------------------------------------------------
 */

.bc-hinh-anh-trien-khai .swiper-navigation {
    position: relative;

    max-width: 800px;

    margin: 30px auto 0;

    padding: 0 30px;

    display: flex;

    justify-content: space-between;

    align-items: center;
}


.bc-hinh-anh-trien-khai
.swiper-button-prev-custom,

.bc-hinh-anh-trien-khai
.swiper-button-next-custom {
    position: relative;
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    border: 1px solid #1d84c7;
    border-radius: 50%;
    color: #1d84c7;
    background: #fff;
    cursor: pointer;
    transition:
        all 0.3s ease;
    box-shadow:
        0 8px 25px rgba(90, 40, 20, 0.08);
    margin-right: unset;
}


.bc-hinh-anh-trien-khai
.swiper-button-prev-custom:hover,

.bc-hinh-anh-trien-khai
.swiper-button-next-custom:hover {
    color: #fff;

    background: #14358a;

    border-color: #14358a;

    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(189, 80, 46, 0.25);
}


.bc-hinh-anh-trien-khai
.swiper-button-prev-custom:focus-visible,

.bc-hinh-anh-trien-khai
.swiper-button-next-custom:focus-visible {
    outline: 2px solid #14358a;

    outline-offset: 3px;
}


.bc-hinh-anh-trien-khai
.swiper-button-prev-custom::after,

.bc-hinh-anh-trien-khai
.swiper-button-next-custom::after {
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    margin-top: -8px;
}


.bc-hinh-anh-trien-khai
.swiper-button-prev-custom::after {
    content: "←";
}


.bc-hinh-anh-trien-khai
.swiper-button-next-custom::after {
    content: "→";
}


.bc-hinh-anh-trien-khai
.swiper-button-disabled {
    opacity: 0.35;

    cursor: default;

    pointer-events: none;
}


/**
 * ---------------------------------------------------------
 * PAGINATION
 * ---------------------------------------------------------
 */

.bc-hinh-anh-trien-khai .amenities-pagination {
    position: static !important;

    width: auto !important;

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 7px;
}


.bc-hinh-anh-trien-khai
.amenities-pagination
.swiper-pagination-bullet {
    width: 7px;
    height: 7px;

    margin: 0 !important;

    border-radius: 100px;

    opacity: 1;

    background: #ee8020;

    transition:
        width 0.35s ease,
        background 0.35s ease,
        transform 0.35s ease;
}


.bc-hinh-anh-trien-khai
.amenities-pagination
.swiper-pagination-bullet-active {
    width: 30px;

    background: #1d84c7;

    transform: translateY(0);
}


/**
 * ---------------------------------------------------------
 * TABLET
 * ---------------------------------------------------------
 */

@media (max-width: 1024px) {

    .bc-hinh-anh-trien-khai {
        padding-top: 35px;
    }


    .bc-hinh-anh-trien-khai
    .amenities-header {
        padding: 0 24px;
    }


    .bc-hinh-anh-trien-khai
    .heading-title {
        font-size: 36px;
    }


    .bc-hinh-anh-trien-khai
    .heading-description {
        max-width: 400px;
    }


    .bc-hinh-anh-trien-khai
    .amenities-slider {
        padding: 0 24px;
    }


    .bc-hinh-anh-trien-khai
    .amenities-slider
    .swiper-slide {
        height: 440px;
    }


    .bc-hinh-anh-trien-khai
    .slide-content {
        width: calc(100% - 35px);

        padding: 18px 22px;
    }


    .bc-hinh-anh-trien-khai
    .slide-title {
        font-size: 18px;
    }


    .bc-hinh-anh-trien-khai
    .swiper-navigation {
        padding: 0 24px;
    }

}


/**
 * ---------------------------------------------------------
 * MOBILE
 * ---------------------------------------------------------
 */

@media (max-width: 767px) {

    .bc-hinh-anh-trien-khai {
        padding: 30px 0 50px;
    }


    .bc-hinh-anh-trien-khai
    .amenities-header {
        display: block;

        margin-bottom: 25px;

        padding: 0 20px;
    }


    .bc-hinh-anh-trien-khai
    .heading-label {
        font-size: 13px;

        margin-bottom: 5px;
    }


    .bc-hinh-anh-trien-khai
    .heading-title {
        font-size: 31px;
    }


    .bc-hinh-anh-trien-khai
    .heading-description {
        max-width: none;

        margin-top: 15px;

        font-size: 12px;
    }


    .bc-hinh-anh-trien-khai
    .amenities-slider {
        padding: 0 20px;
    }


    .bc-hinh-anh-trien-khai
    .amenities-slider
    .swiper-slide {
        height: 430px;
    }


    .bc-hinh-anh-trien-khai
    .slide-content {
        bottom: 15px;

        width: calc(100% - 30px);

        padding: 17px 20px;
    }


    .bc-hinh-anh-trien-khai
    .slide-title {
        font-size: 17px;
    }


    .bc-hinh-anh-trien-khai
    .slide-description {
        font-size: 11px;

        line-height: 1.5;

        -webkit-line-clamp: 4;
    }


    .bc-hinh-anh-trien-khai
    .swiper-navigation {
        margin-top: 22px;

        padding: 0 20px;
    }


    .bc-hinh-anh-trien-khai
    .swiper-button-prev-custom,

    .bc-hinh-anh-trien-khai
    .swiper-button-next-custom {
        width: 44px;
        height: 44px;

        flex-basis: 44px;
    }


    .bc-hinh-anh-trien-khai
    .amenities-pagination
    .swiper-pagination-bullet {
        width: 6px;
        height: 6px;
    }


    .bc-hinh-anh-trien-khai
    .amenities-pagination
    .swiper-pagination-bullet-active {
        width: 24px;
    }

}


/**
 * ---------------------------------------------------------
 * SMALL MOBILE
 * ---------------------------------------------------------
 */

@media (max-width: 420px) {

    .bc-hinh-anh-trien-khai
    .amenities-slider
    .swiper-slide {
        height: 400px;
    }


    .bc-hinh-anh-trien-khai
    .heading-title {
        font-size: 28px;
    }


    .bc-hinh-anh-trien-khai
    .slide-content {
        padding: 15px 17px;
    }


    .bc-hinh-anh-trien-khai
    .slide-title {
        font-size: 16px;
    }

}