/* ==========================================================================
   LUI HERO BANNER & SLIDER - COMPLETE BEM STYLES
   Path: templates/sections/block-banner/style.css
   Standards: Design Tokens from assets/css/global.css
   ========================================================================== */

/* 1. ÉP SECTION HERO TRÀN VIỀN MÀN HÌNH (BREAKOUT FULLWIDTH) */
.lui-hero,
.lui-scope .crb-block-fullwidth.lui-hero,
.lui-scope .lui-hero {
    width: 100vw !important;
    max-width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    box-sizing: border-box !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
    background-color: var(--color-primary-second, #456967);
    font-family: var(--font-body, 'Nunito Sans', sans-serif);
}

/* 2. LỚP PHỦ TỐI (OVERLAY) */
.lui-hero__overlay,
.lui-scope .lui-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.28);
    z-index: 2;
    pointer-events: none;
}

.lui-hero--no-overlay .lui-hero__overlay,
.lui-scope .lui-hero--no-overlay .lui-hero__overlay {
    display: none !important;
}

/* ==========================================================================
   STANDARD SLIDER LAYOUT
   ========================================================================== */
.lui-hero__slider,
.lui-scope .lui-hero__slider {
    width: 100% !important;
    height: auto !important;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.lui-hero__slide,
.lui-scope .lui-hero__slide {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-image: var(--bg-mb, var(--bg-desk));
    box-sizing: border-box;
    padding: 100px 0;
}

@media (min-width: 768px) {
    .lui-hero__slide,
    .lui-scope .lui-hero__slide {
        background-image: var(--bg-desk, var(--bg-mb));
    }
}

/* CÁC MỨC CHIỀU CAO (BANNER HEIGHT) */
.lui-hero--height-fullscreen .lui-hero__slider,
.lui-hero--height-fullscreen .lui-hero__slide,
.lui-scope .lui-hero--height-fullscreen .lui-hero__slider,
.lui-scope .lui-hero--height-fullscreen .lui-hero__slide {
    min-height: 100vh !important;
}

.lui-hero--height-standard .lui-hero__slider,
.lui-hero--height-standard .lui-hero__slide,
.lui-scope .lui-hero--height-standard .lui-hero__slider,
.lui-scope .lui-hero--height-standard .lui-hero__slide {
    min-height: clamp(520px, 60vh, 700px) !important;
}

.lui-hero--height-compact .lui-hero__slider,
.lui-hero--height-compact .lui-hero__slide,
.lui-scope .lui-hero--height-compact .lui-hero__slider,
.lui-scope .lui-hero--height-compact .lui-hero__slide {
    min-height: clamp(380px, 45vh, 480px) !important;
}

/* VIDEO NỀN (NẾU CÓ) */
.lui-hero__video,
.lui-scope .lui-hero__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.lui-hero__video-wrapper,
.lui-scope .lui-hero__video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.lui-hero__video--iframe {
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* CONTAINER NỘI DUNG */
.lui-hero__container-inner,
.lui-scope .lui-hero__container-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: var(--container-max-w, 1200px);
    margin: 0 auto;
    padding: 0 var(--container-pad-x, 20px);
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lui-hero__content,
.lui-scope .lui-hero__content {
    max-width: 860px;
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* CĂN CHỈNH GIỮA (CENTER - CHUẨN MẪU LIVING HOPE) */
.lui-hero__slide--center .lui-hero__content,
.lui-hero--align-center .lui-hero__content,
.lui-scope .lui-hero__slide--center .lui-hero__content,
.lui-scope .lui-hero--align-center .lui-hero__content {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
}

/* CĂN CHỈNH TRÁI (LEFT) */
.lui-hero__slide--left .lui-hero__content,
.lui-hero--align-left .lui-hero__content,
.lui-scope .lui-hero__slide--left .lui-hero__content,
.lui-scope .lui-hero--align-left .lui-hero__content {
    text-align: left !important;
    align-items: flex-start !important;
    justify-content: center !important;
    margin: 0 !important;
}

/* TYPOGRAPHY TRONG HERO */
.lui-hero__subtitle,
.lui-scope .lui-hero__subtitle {
    font-family: var(--font-body, 'Nunito Sans', sans-serif) !important;
    font-size: var(--fs-caption, 14px) !important;
    line-height: var(--lh-caption, 1.4) !important;
    font-weight: 600 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #FFFFFF !important;
    margin-bottom: calc(var(--space-heading-bottom, 16px) / 2) !important;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.lui-hero__title,
.lui-scope .lui-hero__title {
    font-family: var(--ff-hero, var(--font-heading, 'Cormorant SC', serif)) !important;
    font-size: var(--fs-hero, 42px) !important;
    line-height: var(--lh-hero, 50px) !important;
    font-weight: var(--fw-hero, 400) !important;
    letter-spacing: 2px !important;
    color: #FFFFFF !important;
    text-transform: uppercase !important;
    margin: 0 0 var(--space-heading-bottom, 16px) 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.lui-hero__desc,
.lui-scope .lui-hero__desc {
    font-family: var(--ff-body, var(--font-body, 'Nunito Sans', sans-serif)) !important;
    font-size: var(--fs-body-m, 20px) !important;
    line-height: var(--lh-body-m, 27px) !important;
    color: #FFFFFF !important;
    margin: 0 0 var(--space-text-bottom, 24px) 0 !important;
    opacity: 0.95;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* NÚT BẤM CTA (MAKE AN APPOINTMENT) */
.lui-hero__action,
.lui-scope .lui-hero__action {
    display: flex;
    align-items: center;
    width: 100%;
}

.lui-hero__slide--center .lui-hero__action,
.lui-hero--align-center .lui-hero__action {
    justify-content: center !important;
}

.lui-hero__slide--left .lui-hero__action,
.lui-hero--align-left .lui-hero__action {
    justify-content: flex-start !important;
}

.lui-hero__btn,
.lui-scope .lui-hero__btn,
.lui-hero .btn-outline-light {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 28px !important;
    border-radius: var(--radius-atom, 6px) !important;
    font-family: var(--font-body, 'Nunito Sans', sans-serif) !important;
    font-size: var(--fs-btn-l, 17px) !important;
    font-weight: 600 !important;
    letter-spacing: 1px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    transition: var(--transition-base, all 0.3s ease) !important;
    background-color: transparent !important;
    border: 1.5px solid #FFFFFF !important;
    color: #FFFFFF !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2) !important;
}

.lui-hero__btn:hover,
.lui-scope .lui-hero__btn:hover,
.lui-hero .btn-outline-light:hover {
    background-color: #FFFFFF !important;
    border-color: #FFFFFF !important;
    color: var(--color-primary-second, #456967) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

/* BREADCRUMB */
.lui-hero__breadcrumb,
.lui-scope .lui-hero__breadcrumb {
    margin-bottom: var(--space-heading-bottom, 16px);
    font-size: var(--fs-caption, 14px);
    color: rgba(255, 255, 255, 0.85);
}

.lui-hero__breadcrumb a,
.lui-scope .lui-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
}

.lui-hero__breadcrumb a:hover,
.lui-scope .lui-hero__breadcrumb a:hover {
    color: #FFFFFF;
    text-decoration: underline;
}

/* PHÂN TRANG (DOTS) VÀ MŨI TÊN (ARROWS) */
.lui-hero__pagination,
.lui-scope .lui-hero__pagination {
    position: absolute !important;
    bottom: 24px !important;
    left: 0 !important;
    width: 100% !important;
    z-index: 10 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
}

.lui-hero__pagination .swiper-pagination-bullet,
.lui-scope .lui-hero__pagination .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background-color: #FFFFFF !important;
    opacity: 0.5 !important;
    margin: 0 !important;
    transition: var(--transition-base, all 0.3s ease) !important;
    cursor: pointer !important;
}

.lui-hero__pagination .swiper-pagination-bullet-active,
.lui-scope .lui-hero__pagination .swiper-pagination-bullet-active {
    opacity: 1 !important;
    transform: scale(1.3) !important;
    background-color: #FFFFFF !important;
}

.lui-hero__arrow,
.lui-scope .lui-hero__arrow {
    color: #FFFFFF !important;
    width: 44px !important;
    height: 44px !important;
    background: rgba(0, 0, 0, 0.25) !important;
    border-radius: 50% !important;
    transition: var(--transition-base, all 0.3s ease) !important;
}

.lui-hero__arrow:hover,
.lui-scope .lui-hero__arrow:hover {
    background: rgba(0, 0, 0, 0.5) !important;
}

.lui-hero__arrow::after {
    font-size: 18px !important;
}

/* ==========================================================================
   CAROUSEL CARDS LAYOUT
   ========================================================================== */
.lui-hero--carousel,
.lui-scope .lui-hero--carousel {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 480px !important;
    padding: 60px 0 !important;
    background-color: var(--color-primary-second, #456967) !important;
}

.lui-hero__carousel-container,
.lui-scope .lui-hero__carousel-container {
    position: relative !important;
    z-index: 2 !important;
    max-width: var(--container-max-w, 1200px) !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 var(--container-pad-x, 20px) !important;
    box-sizing: border-box !important;
}

.lui-hero__swiper-carousel,
.lui-scope .lui-hero__swiper-carousel {
    width: 100% !important;
    overflow: hidden !important;
    position: relative !important;
    padding: 10px 0 50px 0 !important;
}

.lui-hero__carousel-slide,
.lui-scope .lui-hero__carousel-slide {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: auto !important;
    box-sizing: border-box !important;
}

.lui-hero__card,
.lui-scope .lui-hero__card {
    width: 100% !important;
    background: #FFFFFF !important;
    border-radius: var(--radius-atom, 6px) !important;
    overflow: hidden !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12) !important;
    aspect-ratio: 16 / 10 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: var(--transition-base, all 0.3s ease) !important;
}

.lui-hero__card:hover,
.lui-scope .lui-hero__card:hover {
    transform: translateY(-6px) scale(1.02) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2) !important;
}

.lui-hero__card-link,
.lui-scope .lui-hero__card-link {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.lui-hero__card-img,
.lui-scope .lui-hero__card-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* ==========================================================================
   RESPONSIVE DESIGN (DESKTOP & MOBILE SWITCHING)
   ========================================================================== */
.lui-hero__text-desktop {
    display: inline;
}

.lui-hero__text-mobile {
    display: none;
}

@media (max-width: 768px) {
    .lui-hero__text-desktop {
        display: none !important;
    }

    .lui-hero__text-mobile {
        display: inline !important;
    }

    .lui-hero__slide,
    .lui-scope .lui-hero__slide {
        padding: 60px 0;
    }

    .lui-hero__title,
    .lui-scope .lui-hero__title {
        font-size: var(--fs-hero, 28px) !important;
        line-height: var(--lh-hero, 36px) !important;
        letter-spacing: 1px !important;
    }

    .lui-hero__desc,
    .lui-scope .lui-hero__desc {
        font-size: var(--fs-body-m, 16px) !important;
        line-height: var(--lh-body-m, 22px) !important;
    }

    .lui-hero__btn,
    .lui-scope .lui-hero__btn {
        padding: 8px 20px !important;
        font-size: 15px !important;
    }
}
