/**
 * Banner Top Component Styles
 *
 * Hero banner with background image slider and static content.
 * Compatible with Swiper/Splide slider libraries.
 *
 * @package RIKAI_Marketing
 * @since 1.0.0
 */

/* ==================================================
   Hero Banner Layout
   ================================================== */

.top-banner {
    position: relative;
    width: 100%;
    min-height: 750px;
    max-height: 750px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* ==================================================
   Background Slider
   ================================================== */

.top-banner-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-slider__wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

/* ==================================================
   Overlay
   ================================================== */

.hero-banner__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(
        to bottom,
        rgba(83, 83, 83, 0),
        /* Opaque white at the very top */ rgb(83, 83, 83)
            /* Fully transparent at the bottom of the overlay div */
    );
    z-index: 2;
}

/* ==================================================
   Main Content (Static)
   ================================================== */

.hero-banner__content {
    position: relative;
    z-index: 3;
    color: #ffffff;
    margin-top: 10%;
    width: 100%;
}

.hero-banner__content .container {
    margin: 0px auto;
    padding: 0px 75px;
}

.hero-banner__text {
    max-width: 700px;
    display: flex;
    flex-direction: column;
    font-weight: 700;
}

.hero-banner__title-en {
    font-size: 22px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.hero-banner__title-jp {
    font-size: 34px;
    line-height: 1.4;
    margin-bottom: 15px;
}

.hero-banner__bottom-row {
    margin-top: 40px;
}

.hero-banner__message {
    font-size: 22px;
    line-height: 1.6;
    font-weight: 700;
}

.hero-banner__message-sub {
    font-size: 16px;
    line-height: 1.6;
    font-weight: 500;
}

.hero-banner__cta {
    margin-top: 40px;
}

/* ==================================================
   Stats Badges
   ================================================== */

.hero-banner__stats {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.hero-stat-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    overflow: hidden;
    padding: 0;
}

.hero-stat-badge:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.hero-stat-badge__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 50%;
}

/* ==================================================
   Right Section
   ================================================== */

.hero-banner__right {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}

.hero-case-link__category {
    color: var(--dark-color);
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.hero-case-link__title {
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    display: block;
    transition: opacity 0.3s ease;
}

a.hero-case-link__title:hover {
    opacity: 0.8;
    color: #ffffff;
}

/* Contact Button */
.hero-contact-button .btn {
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.hero-contact-button .btn::after {
    background-image: url("../../assets/images/btn-arrow-right.svg") !important;
}

.hero-contact-button .btn-outline-dark:hover {
    color: var(--primary-color) !important;
}

/* ==================================================
   Slider Pagination
   ================================================== */

.hero-slider__pagination {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding: 15px;
    width: 80%;
}

.hero-slider__dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary-color-lightest);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider__dot:hover,
.hero-slider__dot.active {
    background: var(--primary-color);
}

/* ==================================================
   Responsive Design
   ================================================== */

@media (max-width: 992px) {
    .hero-banner__content .container {
        margin: 0 0;
        max-width: unset;
    }

    .top-banner {
        min-height: 620px;
        max-height: 620px;
    }

    .hero-banner__title-en {
        font-size: 18px;
    }

    .hero-banner__title-jp {
        font-size: 30px;
    }

    /* .hero-banner__right {
		position: static;
		transform: none;
		margin-top: 40px;
		align-items: flex-start;
		padding: 0 15px;
	} */

    .hero-banner__stats {
        margin-top: 15px;
    }

    .hero-stat-badge {
        width: 70px;
        height: 70px;
    }

    .hero-banner__bottom-row {
        margin-top: 20px;
    }

    .hero-banner__cta {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    .top-banner {
        min-height: 700px;
        max-height: 700px;
    }

    .hero-banner__content {
        margin-top: 130px;
    }
}

@media (max-width: 576px) {
    .hero-banner__content .container {
        padding: 0 20px;
    }

    .top-banner {
        min-height: 700px;
        max-height: 700px;
    }

    .hero-banner__content {
        margin-top: 130px;
    }

    .hero-banner__title-en {
        font-size: 14px;
    }

    .hero-banner__title-jp {
        font-size: 22px;
    }

    .hero-banner__cta .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .hero-banner__stats {
        gap: 10px;
    }

    .hero-stat-badge {
        width: 70px;
        height: 70px;
    }

    .hero-banner__right {
        align-items: flex-start;
        margin-top: 20px;
    }

    .hero-banner__right .hero-case-link__category {
        color: #ffffff;
    }

    .hero-banner__right .hero-slider__pagination {
        justify-content: flex-start;
    }

    .hero-banner__message {
        font-size: 18px;
    }

    .hero-banner__message-sub {
        font-size: 14px;
    }
}

@media (max-width: 375px) {
    .hero-banner__message {
        font-size: 16px;
    }
    .hero-banner__cta {
        margin-top: 10px;
    }

    .hero-banner__message-sub {
        font-size: 12px;
    }

    .hero-banner__cta .btn {
        margin-top: 10px !important;
    }
}
