/* ── Smart Slider – Front-end styles ────────────────────────── */

.smart-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #111;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(0,0,0,.25);
    font-family: inherit;
}

/* ── Track & Slides ─────────────────────────────────────────── */
.ss-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.ss-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .7s ease, transform .7s ease;
    transform: translateX(100%);
}

.ss-slide.ss-active {
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.ss-slide.ss-prev-slide {
    opacity: 0;
    transform: translateX(-100%);
    z-index: 1;
}

/* Fade effect */
.ss-effect-fade .ss-slide {
    transform: none !important;
}

/* ── Background image ───────────────────────────────────────── */
.ss-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 6s ease;
}

.ss-slide.ss-active .ss-bg {
    transform: scale(1.04);
}

/* ── Overlay ────────────────────────────────────────────────── */
.ss-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,.15) 0%,
        rgba(0,0,0,.55) 100%
    );
}

/* ── Content ────────────────────────────────────────────────── */
.ss-content {
    position: absolute;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: #fff;
    width: 80%;
    max-width: 720px;
    z-index: 3;
    animation: ssContentIn .6s ease both;
}

@keyframes ssContentIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.ss-title {
    font-size: clamp(1.4rem, 4vw, 2.8rem);
    font-weight: 700;
    margin: 0 0 .5rem;
    text-shadow: 0 2px 8px rgba(0,0,0,.5);
    line-height: 1.2;
}

.ss-subtitle {
    font-size: clamp(.95rem, 2vw, 1.25rem);
    margin: 0 0 1.4rem;
    opacity: .9;
    text-shadow: 0 1px 4px rgba(0,0,0,.4);
}

.ss-btn {
    display: inline-block;
    padding: .7rem 2rem;
    background: #fff;
    color: #111;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: .95rem;
    letter-spacing: .03em;
    transition: background .2s, color .2s, transform .2s;
}

.ss-btn:hover {
    background: #0073aa;
    color: #fff;
    transform: translateY(-2px);
}

/* ── Arrows ─────────────────────────────────────────────────── */
.ss-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.15);
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background .2s, border-color .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ss-arrow:hover {
    background: rgba(255,255,255,.35);
    border-color: #fff;
}

.ss-prev { left: 16px; }
.ss-next { right: 16px; }

/* ── Dots ───────────────────────────────────────────────────── */
.ss-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.ss-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: background .2s, transform .2s;
}

.ss-dot-active,
.ss-dot:hover {
    background: #fff;
    transform: scale(1.3);
}

/* ── Progress bar ───────────────────────────────────────────── */
.ss-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(255,255,255,.8);
    z-index: 10;
    transform-origin: left;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 600px) {
    .smart-slider-wrapper { height: 280px !important; border-radius: 0; }
    .ss-arrow { width: 36px; height: 36px; font-size: 1rem; }
    .ss-content { width: 90%; bottom: 12%; }
}
