﻿.banneroverlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.banner {
    width: 100%;
    float: left;
    position: relative;
}

    .banner img {
        width: 100%;
    }

.bannerText {
    display: flex;
    align-items: center;
    justify-content: right;
    text-align: center;
    color: var(--text-primary-highlight);
    height: 100%;
    font-size: 3rem;
    margin-top: 30px;
}

/* ===== Overlay gradient (SCSS -> CSS) ===== */
.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient( to bottom, rgba(14, 29, 51, 0.8), rgba(14, 29, 51, 0.2) );
    /* background: linear-gradient(
    to bottom,
    rgba(0, 158, 150, 0.85),
    rgba(0, 158, 150, 0.25)
); 

    */
}

/* ===== Hero Slider ===== */
.hero-slider {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

    /* carousel cell */
    .hero-slider .carousel-cell {
        width: 100%;
        height: 100%;
        background-repeat: no-repeat;
        background-size: cover;
        background-position: center;
    }

        /* inner content */
        .hero-slider .carousel-cell .inner {
            position: relative;
            top: 50%;
            transform: translateY(-50%);
            color: #ffffff;
            text-align: center;
        }

            /* subtitle */
            .hero-slider .carousel-cell .inner .subtitle {
                font-size: 2.2rem;
                line-height: 1.2em;
                font-weight: 200;
                font-style: italic;
                letter-spacing: 3px;
                color: rgba(255, 255, 255, 0.5);
                margin-bottom: 5px;
            }

            /* title */
            .hero-slider .carousel-cell .inner .title {
                font-size: 3rem;
                line-height: 1.2em;
                text-transform: uppercase;
                letter-spacing: 3px;
                margin-bottom: 40px;
            }

            /* button */
            .hero-slider .carousel-cell .inner .btn {
                border: 1px solid #ffffff;
                padding: 14px 18px;
                text-transform: uppercase;
                font-size: 0.8rem;
                letter-spacing: 3px;
                color: #ffffff;
                text-decoration: none;
                transition: all 0.2s ease;
            }

                /* button hover */
                .hero-slider .carousel-cell .inner .btn:hover {
                    background: #ffffff;
                    color: #000000;
                }

    /* ===== Flickity controls ===== */
    .hero-slider .flickity-prev-next-button {
        width: 80px;
        height: 80px;
        background: transparent;
    }

        .hero-slider .flickity-prev-next-button:hover {
            background: transparent;
        }

        .hero-slider .flickity-prev-next-button .arrow {
            fill: #ffffff;
        }

    /* ===== Flickity dots ===== */
    .hero-slider .flickity-page-dots {
        bottom: 30px;
    }

        .hero-slider .flickity-page-dots .dot {
            width: 50px;
            height: 6px;
            opacity: 1;
            background: rgba(255, 255, 255, 1);
            border: 0 solid #ffffff;
            border-radius: 2px;
            /* shadow bên dưới */
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.25);
        }

            /* dot active */
            .hero-slider .flickity-page-dots .dot.is-selected {
                background: var(--text-primary-highlight);
                border: 0 solid var(--text-primary-highlight);
            }
