
/* =========================================
   KWICK FIN - PREMIUM SHOWCASE SLIDER
   Uses root.css design tokens
========================================= */

.kwick-showcase-section {
    position: relative;
    padding: 30px 0;
    background: var(--bg-body);
    overflow: hidden;
    isolation: isolate;
}

/* Section Heading */

.showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 42px;
}

.showcase-heading {
    max-width: 720px;
}

.showcase-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--secondary);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 17px;
}

.eyebrow-line {
    width: 25px;
    height: 2px;
    background: var(--secondary);
}

.showcase-heading h1 {
    font-family: var(--font-heading);
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -1.5px;
    color: var(--text-primary);
    margin: 0 0 15px;
}

.showcase-heading h1 span {
    display: block;
    color: var(--secondary);
}

.showcase-heading p {
    max-width: 550px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

/* Header Actions */

.showcase-header-action {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-shrink: 0;
}

.showcase-label {
    color: var(--text-muted);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.showcase-arrows {
    display: flex;
    align-items: center;
    gap: 10px;
}

.showcase-arrows button {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    border: 1px solid var(--border-color);

    background: var(--bg-card);
    color: var(--text-primary);

    font-size: 19px;
    box-shadow: var(--shadow-sm);

    transition: var(--transition-normal);
}

.showcase-arrows button:hover {
    background: var(--primary);
    color: var(--btn-primary-text);
    border-color: var(--primary);
    transform: translateY(-3px);
}

.showcase-arrows button.swiper-button-disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
}

/* Slider Stage */

.showcase-stage {
    position: relative;
    padding: 20px 0 30px;
}

.showcase-decoration {
    position: absolute;
    pointer-events: none;
    z-index: -1;
    border-radius: 50%;
}

.showcase-decoration-one {
    width: 360px;
    height: 360px;
    top: -40px;
    right: 4%;
    background: var(--secondary-light);
    opacity: 0.7;
    filter: blur(2px);
}

.showcase-decoration-two {
    width: 220px;
    height: 220px;
    bottom: -20px;
    left: 5%;
    background: var(--primary-light);
    opacity: 0.8;
}

/* Swiper */

.kwick-showcase-swiper {
    width: 100%;
    overflow: visible;
}

.kwick-showcase-swiper .swiper-slide {
    width: 86%;
    height: auto;
    opacity: 0.58;
    transform: scale(0.94);
    transition:
        opacity 0.5s ease,
        transform 0.5s ease;
}

.kwick-showcase-swiper .swiper-slide-active {
    opacity: 1;
    transform: scale(1);
}

/* Main Card */

.showcase-card {
    position: relative;
    height: 100%;
    overflow: hidden;

    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);

    box-shadow: var(--shadow-lg);

    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Banner Image */

.showcase-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--bg-soft);
}

.showcase-image-wrap img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: contain;
    transition: transform 0.8s ease;
}

.swiper-slide-active .showcase-card:hover .showcase-image-wrap img {
    transform: scale(1.015);
}

/* Card Footer */

.showcase-card-footer {
    min-height: 95px;
    padding: 19px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
}

.showcase-category {
    display: block;
    color: var(--secondary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.6px;
    margin-bottom: 7px;
}

.showcase-card-footer h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.showcase-visit {
    width: 46px;
    height: 46px;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: var(--primary);
    color: var(--btn-primary-text);

    font-size: 19px;
    text-decoration: none;

    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.showcase-visit:hover {
    background: var(--secondary);
    color: #FFFFFF;
    transform: rotate(45deg);
}

/* Bottom Progress */

.showcase-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    margin-top: 30px;
}

.showcase-pagination-area {
    width: min(360px, 45%);
    display: flex;
    align-items: center;
    gap: 20px;
}

.showcase-progress-track {
    position: relative;
    width: 100%;
    height: 4px;
    overflow: hidden;
    border-radius: 10px;
    background: var(--border-color);
}

.showcase-progress-fill {
    display: block;
    width: 25%;
    height: 100%;
    border-radius: 10px;
    background: var(--secondary);
    transition: width 0.5s ease;
}

.showcase-counter {
    display: flex;
    align-items: center;
    gap: 7px;
    flex-shrink: 0;

    color: var(--text-muted);
    font-size: 13px;
    font-weight: 700;
}

.showcase-counter strong {
    color: var(--primary);
    font-size: 18px;
    font-weight: 800;
}

html[data-theme="dark"] .showcase-counter strong {
    color: var(--secondary);
}

.showcase-bottom-text {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
}

.showcase-bottom-text i {
    color: var(--secondary);
    font-size: 17px;
}

/* Dark Theme Decorative Background */

html[data-theme="dark"] .showcase-decoration-one {
    background: var(--secondary);
    opacity: 0.08;
}

html[data-theme="dark"] .showcase-decoration-two {
    background: var(--primary);
    opacity: 0.25;
}

/* Tablet */

@media (max-width: 991px) {

    .kwick-showcase-section {
        padding: 70px 0;
    }

    .showcase-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .showcase-header-action {
        width: 100%;
        justify-content: space-between;
    }

    .kwick-showcase-swiper .swiper-slide {
        width: 92%;
    }
}

/* Mobile */

@media (max-width: 767px) {

    .kwick-showcase-section {
        padding: 55px 0;
    }

    .showcase-heading h1 {
        font-size: 32px;
        letter-spacing: -0.8px;
    }

    .showcase-heading p {
        font-size: 13px;
    }

    .showcase-header {
        gap: 22px;
        margin-bottom: 20px;
    }

    .showcase-header-action {
        align-items: center;
    }

    .showcase-label {
        font-size: 9px;
    }

    .showcase-arrows button {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .showcase-stage {
        padding: 10px 0 20px;
    }

    .kwick-showcase-swiper .swiper-slide {
        width: 96%;
        opacity: 0.7;
        transform: scale(0.97);
    }

    .kwick-showcase-swiper .swiper-slide-active {
        opacity: 1;
        transform: scale(1);
    }

    .showcase-card {
        border-radius: var(--radius-lg);
    }

    .showcase-card-footer {
        min-height: 82px;
        padding: 14px;
    }

    .showcase-card-footer h3 {
        font-size: 14px;
        line-height: 1.4;
    }

    .showcase-category {
        font-size: 9px;
    }

    .showcase-visit {
        width: 38px;
        height: 38px;
        font-size: 16px;
    }

    .showcase-bottom {
        margin-top: 18px;
    }

    .showcase-pagination-area {
        width: 60%;
        gap: 12px;
    }

    .showcase-bottom-text {
        font-size: 10px;
    }
}

@media (max-width: 380px) {

    .showcase-bottom-text {
        display: none;
    }

    .showcase-pagination-area {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {

    .kwick-showcase-swiper .swiper-slide,
    .showcase-image-wrap img,
    .showcase-arrows button,
    .showcase-visit,
    .showcase-progress-fill {
        transition: none;
    }
}
