/* ============================================================
   Hantema – Testimonial Widget CSS
   hantema.com | v1.0.0
   ============================================================ */

.ht-tst-wrap *,
.ht-tst-wrap *::before,
.ht-tst-wrap *::after { box-sizing: border-box; }

/* ── Wrapper ── */
.ht-tst-wrap {
    background-color: #0c1fa8;
    overflow: hidden;
    font-family: inherit;
}

/* ═══════════════════════════════
   ANA SATIR
═══════════════════════════════ */
.ht-tst-main {
    display: flex;
    align-items: stretch;
    gap: 0;
    padding: 60px;
}

/* ─── SOL PANEL ─── */
.ht-tst-left {
    flex: 0 0 38%;
    max-width: 38%;
    padding-right: 56px;
    border-right: 1px solid rgba(255,255,255,0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.ht-big-num {
    font-size: 110px;
    font-weight: 900;
    color: #fff;
    line-height: 1;
    margin: 0;
    letter-spacing: -3px;
}

.ht-stat-desc {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin: 0;
    max-width: 280px;
}

/* Avatar Satırı */
.ht-avatars-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.ht-avatar-stack {
    display: flex;
}

.ht-mini-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2.5px solid #0c1fa8;
    margin-left: -10px;
    background: rgba(255,255,255,0.12);
    overflow: hidden;
}

.ht-avatar-stack .ht-mini-avatar:first-child {
    margin-left: 0;
}

.ht-mini-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.12);
}

.ht-mini-placeholder svg {
    width: 20px;
    height: 20px;
}

.ht-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ht-stars-row {
    display: flex;
    gap: 2px;
}

.ht-star {
    font-size: 16px;
    line-height: 1;
}

.ht-star.filled { color: #f59e0b; }
.ht-star.empty  { color: rgba(255,255,255,0.25); }

.ht-review-count {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

/* ─── SAĞ PANEL ─── */
.ht-tst-right {
    flex: 1;
    padding-left: 56px;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    position: relative;
}

/* ─── SLIDER ─── */
.ht-slider-viewport {
    flex: 1;
    min-width: 0;
    position: relative;
    overflow: hidden;
    min-height: 240px;
}

.ht-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .45s ease, transform .45s ease;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ht-slide.is-active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    position: relative;
}

.ht-slide-stars { margin-bottom: 4px; }
.ht-slide-stars .ht-star { font-size: 20px; }

.ht-review-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}

.ht-review-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.82);
    margin: 0;
}

/* Yorumcu */
.ht-reviewer {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 6px;
}

.ht-reviewer-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
    overflow: hidden;
    flex-shrink: 0;
}

.ht-reviewer-placeholder {
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
}

.ht-reviewer-placeholder svg {
    width: 28px;
    height: 28px;
}

.ht-reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ht-reviewer-name {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
}

.ht-reviewer-role {
    font-size: 13px;
    color: #60a5fa;
}

/* ─── NAVİGASYON ─── */
.ht-nav-btns {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-shrink: 0;
    align-self: center;
}

.ht-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    color: #fff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .22s ease, transform .18s ease;
}

.ht-nav-btn:hover {
    background: #3b82f6;
    transform: scale(1.08);
}

.ht-nav-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* ═══════════════════════════════
   LOGO ŞERİDİ
═══════════════════════════════ */
.ht-logos-strip {
    border-top: 1px solid rgba(255,255,255,0.15);
    overflow: hidden;
    padding: 28px 60px;
}

.ht-logos-track {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.ht-logos-track.is-marquee {
    animation: ht-marquee 22s linear infinite;
    width: max-content;
    justify-content: flex-start;
}

@keyframes ht-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.ht-logos-track.is-marquee:hover {
    animation-play-state: paused;
}

.ht-logo-item {
    flex-shrink: 0;
    color: rgba(255,255,255,0.45);
    transition: color .22s ease;
}

.ht-logo-item:hover {
    color: rgba(255,255,255,0.9);
}

.ht-logo-link {
    color: inherit;
    text-decoration: none;
}

.ht-logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    white-space: nowrap;
}

.ht-logo-img {
    max-height: 32px;
    width: auto;
    object-fit: contain;
    opacity: .5;
    transition: opacity .22s ease;
    filter: brightness(0) invert(1);
}

.ht-logo-item:hover .ht-logo-img {
    opacity: .9;
}

/* ═══════════════════════════════
   PROGRESS DOTS
═══════════════════════════════ */
.ht-progress-dots {
    display: flex;
    gap: 6px;
    margin-top: 16px;
}

.ht-dot {
    width: 6px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.25);
    transition: width .3s ease, background .3s ease;
    cursor: pointer;
}

.ht-dot.is-active {
    width: 22px;
    background: #3b82f6;
}

/* ═══════════════════════════════
   TABLET (≤ 1024px)
═══════════════════════════════ */
@media (max-width: 1024px) {
    .ht-tst-main {
        padding: 48px 36px;
    }
    .ht-big-num { font-size: 80px; }
    .ht-tst-left { padding-right: 36px; }
    .ht-tst-right { padding-left: 36px; }
    .ht-logos-strip { padding: 24px 36px; }
}

/* ═══════════════════════════════
   MOBİL (≤ 768px)
═══════════════════════════════ */
@media (max-width: 768px) {
    .ht-tst-main {
        flex-direction: column;
        padding: 36px 24px;
        gap: 36px;
    }

    .ht-tst-left {
        flex: 0 0 100%;
        max-width: 100%;
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,0.15);
        padding-bottom: 32px;
        gap: 14px;
    }

    .ht-big-num {
        font-size: 72px;
        letter-spacing: -2px;
    }

    .ht-tst-right {
        padding-left: 0;
        flex-direction: column;
        gap: 16px;
    }

    .ht-nav-btns {
        flex-direction: row;
        justify-content: flex-start;
        align-self: auto;
    }

    .ht-slider-viewport {
        min-height: 220px;
    }

    .ht-review-title {
        font-size: 17px;
    }

    .ht-logos-strip {
        padding: 20px 24px;
    }

    .ht-logos-track:not(.is-marquee) {
        flex-wrap: wrap;
        gap: 20px 28px;
        justify-content: center;
    }

    .ht-logo-text {
        font-size: 15px;
    }
}

/* ═══════════════════════════════
   KÜÇÜK MOBİL (≤ 480px)
═══════════════════════════════ */
@media (max-width: 480px) {
    .ht-tst-main { padding: 28px 18px; }
    .ht-big-num  { font-size: 58px; }
    .ht-logos-strip { padding: 18px; }
}
