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

/* ── Reset ── */
.ht-about-wrap *,
.ht-about-wrap *::before,
.ht-about-wrap *::after {
    box-sizing: border-box;
}

/* ── Wrapper ── */
.ht-about-wrap {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 60px 40px;
    position: relative;
    overflow: visible;
}

.ht-about-wrap.ht-reverse {
    flex-direction: row-reverse;
}

/* ═══════════════════════════════
   SOL SÜTUN
═══════════════════════════════ */
.ht-left-col {
    position: relative;
    flex: 0 0 45%;
    max-width: 45%;
}

/* Görsel Kartı */
.ht-image-card {
    background: #eef0f8;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: flex-end;
}

.ht-doctor-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    border-radius: 24px;
    min-height: 420px;
}

.ht-doctor-placeholder {
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-radius: 24px;
}

.ht-doctor-placeholder svg {
    width: 120px;
    height: 120px;
    opacity: .5;
}

/* İstatistik Kartı (sol alt) */
.ht-stat-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: #fff;
    border-radius: 16px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 8px 32px rgba(0,0,0,.10);
    z-index: 2;
}

.ht-stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ht-stat-icon svg {
    width: 22px;
    height: 22px;
}

.ht-stat-info {
    display: flex;
    flex-direction: column;
}

.ht-stat-num-big {
    font-size: 22px;
    font-weight: 800;
    color: #3b82f6;
    line-height: 1;
}

.ht-stat-lbl-big {
    font-size: 13px;
    color: #6b7280;
    margin-top: 2px;
}

/* Rozet (dairesel metin) */
.ht-badge-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0,0,0,.12);
    border: 2px solid #e5e7eb;
}

.ht-badge-circle-text {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: #374151;
    animation: ht-spin 12s linear infinite;
}

.ht-badge-inner {
    position: relative;
    z-index: 2;
    color: #3b82f6;
}

.ht-tooth-icon {
    width: 24px;
    height: 24px;
}

@keyframes ht-spin {
    to { transform: rotate(360deg); }
}

/* Float Doctor İkon */
.ht-float-icon {
    position: absolute;
    top: 40px;
    right: -16px;
    width: 56px;
    height: 56px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(59,130,246,.2);
    border: 2px solid #e0e7ff;
    z-index: 5;
}

.ht-float-icon svg {
    width: 28px;
    height: 28px;
}

/* ═══════════════════════════════
   SAĞ SÜTUN
═══════════════════════════════ */
.ht-right-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Üst Etiket */
.ht-section-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    background: #f0f4ff;
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid #dbeafe;
    width: fit-content;
}

.ht-section-label svg {
    width: 15px;
    height: 15px;
    fill: #3b82f6;
    flex-shrink: 0;
}

/* Başlık */
.ht-heading {
    font-size: clamp(28px, 3.5vw, 44px);
    font-weight: 800;
    line-height: 1.18;
    margin: 0;
    padding: 0;
}

.ht-heading-main {
    color: #1e2d5a;
    display: block;
}

.ht-heading-accent {
    color: #3b82f6;
    display: block;
}

/* Açıklama */
.ht-description {
    font-size: 15px;
    line-height: 1.7;
    color: #6b7280;
    margin: 0;
}

/* ── Alt Satır (Klinik + İstatistikler + Ödül) ── */
.ht-bottom-row {
    display: flex;
    align-items: stretch;
    gap: 16px;
    flex-wrap: wrap;
}

/* Klinik Görseli */
.ht-clinic-img-wrap {
    flex: 0 0 auto;
    width: 200px;
}

.ht-clinic-img {
    width: 100%;
    height: 100%;
    min-height: 170px;
    object-fit: cover;
    border-radius: 14px;
    display: block;
}

/* İstatistik Kutusu */
.ht-stats-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    flex: 1;
    min-width: 110px;
}

.ht-stat-row {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ht-stat-num {
    font-size: 32px;
    font-weight: 800;
    color: #1e2d5a;
    line-height: 1;
}

.ht-stat-lbl {
    font-size: 13px;
    color: #6b7280;
}

/* Ödül Kartı */
.ht-award-card {
    background: #eef2ff;
    border-radius: 14px;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 140px;
    flex: 0 0 auto;
    position: relative;
}

.ht-award-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    position: absolute;
    top: -16px;
    right: 16px;
    box-shadow: 0 4px 14px rgba(34,197,94,.35);
}

.ht-award-body {
    margin-top: 14px;
}

.ht-award-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e2d5a;
    display: block;
    margin-bottom: 5px;
}

.ht-award-desc {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ── Footer (Buton & Kurucu) ── */
.ht-footer-row {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* Buton */
.ht-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #3b82f6;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    transition: background .22s ease, transform .22s ease, box-shadow .22s ease;
    border: none;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}

.ht-btn:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59,130,246,.35);
}

.ht-btn-arrow {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    transition: transform .22s ease;
}

.ht-btn:hover .ht-btn-arrow {
    transform: translate(2px, -2px);
}

/* Kurucu */
.ht-founder {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ht-founder-img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    overflow: hidden;
    flex-shrink: 0;
}

.ht-founder-placeholder {
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ht-founder-placeholder svg {
    width: 36px;
    height: 36px;
}

.ht-founder-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ht-founder-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e2d5a;
}

.ht-founder-role {
    font-size: 13px;
    color: #6b7280;
}

/* ═══════════════════════════════
   RESPONSIVE – Tablet (≤ 1024px)
═══════════════════════════════ */
@media (max-width: 1024px) {
    .ht-about-wrap {
        gap: 36px;
        padding: 48px 28px;
    }

    .ht-left-col {
        flex: 0 0 42%;
        max-width: 42%;
    }

    .ht-heading {
        font-size: 30px;
    }

    .ht-clinic-img-wrap {
        width: 160px;
    }
}

/* ═══════════════════════════════
   RESPONSIVE – Mobil (≤ 768px)
═══════════════════════════════ */
@media (max-width: 768px) {
    .ht-about-wrap,
    .ht-about-wrap.ht-reverse {
        flex-direction: column;
        gap: 36px;
        padding: 36px 20px;
    }

    .ht-left-col {
        flex: 0 0 100%;
        max-width: 100%;
        width: 100%;
    }

    .ht-badge-ring {
        top: -14px;
        left: -10px;
        width: 80px;
        height: 80px;
    }

    .ht-float-icon {
        top: 20px;
        right: 10px;
    }

    .ht-image-card,
    .ht-doctor-img,
    .ht-doctor-placeholder {
        min-height: 300px;
    }

    .ht-heading {
        font-size: 26px;
    }

    .ht-bottom-row {
        flex-direction: column;
        gap: 14px;
    }

    .ht-clinic-img-wrap {
        width: 100%;
    }

    .ht-clinic-img {
        min-height: 200px;
        height: 200px;
    }

    .ht-stats-box {
        flex-direction: row;
        gap: 24px;
    }

    .ht-stat-num {
        font-size: 26px;
    }

    .ht-award-card {
        width: 100%;
    }

    .ht-footer-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .ht-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════
   RESPONSIVE – Küçük Mobil (≤ 480px)
═══════════════════════════════ */
@media (max-width: 480px) {
    .ht-about-wrap {
        padding: 28px 16px;
    }

    .ht-heading {
        font-size: 22px;
    }

    .ht-stat-card {
        bottom: 12px;
        left: 12px;
        right: 12px;
    }

    .ht-stats-box {
        flex-direction: column;
        gap: 10px;
    }

    .ht-badge-ring {
        width: 70px;
        height: 70px;
    }

    .ht-badge-circle-text text {
        font-size: 10px;
    }
}
