/* ═══════════════════════════════════════════
   Slider HA 4 — Fashion/E-Commerce Hero CSS
   ═══════════════════════════════════════════ */

/* ── Wrap ── */
.sha4-wrap {
    display: block;
    position: relative;
    overflow: hidden;
}

/* ── Hero ── */
.sha4-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* ── Arka plan track ── */
.sha4-bg-track {
    position: absolute;
    inset: 0;
}
.sha4-bg-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.75s ease;
}
.sha4-bg-slide.active { opacity: 1; }
.sha4-bg-slide img,
.sha4-bg-slide video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    pointer-events: none;
}

/* ── Overlay ── */
.sha4-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ── İçerik ── */
.sha4-content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
}
.sha4-content-inner {
    display: flex;
    flex-direction: column;
}

/* ── Badge ── */
.sha4-badge {
    font-weight: 700;
    line-height: 1;
}

/* ── Tagline ── */
.sha4-tagline {
    margin: 0;
}

/* ── Başlık ── */
.sha4-title {
    margin: 0;
}

/* ── Açıklama ── */
.sha4-desc {
    margin: 0;
}

/* ── Buton grubu ── */
.sha4-btns {
    display: flex;
    flex-wrap: wrap;
}

/* ── Navigasyon Okları ── */
.sha4-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    flex-shrink: 0;
}
.sha4-nav:hover { transform: translateY(-50%) scale(1.08); }
.sha4-nav svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke-width: 2.2;
    display: block;
}

/* ── Dots ── */
.sha4-dots-wrap {
    position: absolute;
    z-index: 4;
    align-items: center;
    gap: 8px;
}
.sha4-dot {
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    display: block;
    flex-shrink: 0;
    transition: background 0.3s, transform 0.3s;
}

/* ── Pause ── */
.sha4-pause-btn {
    position: absolute;
    bottom: 12px;
    z-index: 4;
    border-radius: 50%;
    border: 1.5px solid;
    background: transparent;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s;
}
.sha4-pause-btn:hover { opacity: 0.7; }

/* ── Progress ── */
.sha4-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 5;
    transition: width 0.1s linear;
}

/* ── Geçiş animasyonu ── */
.sha4-anim {
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.sha4-anim.sha4-anim-out {
    opacity: 0;
    transform: translateY(10px);
}

/* ── Boş mesaj ── */
.sha4-empty {
    padding: 40px;
    text-align: center;
    color: #888;
    font-family: sans-serif;
}
