/* =====================================================================
   USTA / TEKNİSYEN PROFİL KARTI - MOBILE FIRST CSS (v2)
   ===================================================================== */

/* ---- İLETİŞİM BUTONLARI (dinamik sayı) ---- */
.sp-contact-buttons {
    display: flex;
    gap: 8px;
    margin: 1rem 0 1.25rem;
    flex-wrap: wrap;
}

.sp-btn {
    /* Eşit dağılım, ekranı doldur */
    flex: 1 1 0;
    min-width: 0;            /* küçük ekranda taşmayı önle */

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 6px;
    border: 0;
    border-radius: 10px;
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s;
    line-height: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-btn:hover {
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.sp-btn i {
    font-size: 16px;
    flex-shrink: 0;
}

.sp-btn-whatsapp {
    background: linear-gradient(135deg, #25D366, #1DA851);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}
.sp-btn-whatsapp:hover {
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
}

.sp-btn-call {
    background: linear-gradient(135deg, #6B2D5E, #9F4A7F);
    box-shadow: 0 4px 12px rgba(159, 74, 127, 0.25);
}
.sp-btn-call:hover {
    box-shadow: 0 6px 16px rgba(159, 74, 127, 0.4);
}

.sp-btn-telegram {
    background: linear-gradient(135deg, #229ED9, #1A7BBD);
    box-shadow: 0 4px 12px rgba(34, 158, 217, 0.25);
}
.sp-btn-telegram:hover {
    box-shadow: 0 6px 16px rgba(34, 158, 217, 0.4);
}

/* ---- PROFİL KARTI ---- */
.sp-profile-card {
    background: linear-gradient(135deg, #1f1730, #1a1428);
    border: 1px solid rgba(159, 74, 127, 0.3);
    border-radius: 14px;
    padding: 16px;
    margin: 1.25rem 0;
    position: relative;
    overflow: hidden;
}

[data-bs-theme="light"] .sp-profile-card {
    background: linear-gradient(135deg, #ffffff, #faf5f8);
    border-color: rgba(107, 45, 94, 0.2);
}

.sp-profile-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #9F4A7F, #6B2D5E);
}

.sp-profile-name {
    font-family: var(--font-serif, Georgia, serif);
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 14px;
    color: var(--text-primary);
    line-height: 1.15;
}

/* ---- BİLGİ GRID ---- */
.sp-info-grid {
    background: rgba(15, 10, 31, 0.4);
    border-radius: 10px;
    border: 1px solid rgba(159, 74, 127, 0.15);
    margin-bottom: 14px;
    overflow: hidden;
}

[data-bs-theme="light"] .sp-info-grid {
    background: rgba(243, 237, 243, 0.5);
    border-color: rgba(107, 45, 94, 0.12);
}

.sp-info-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sp-info-cell {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(159, 74, 127, 0.12);
}

.sp-info-cell:nth-child(odd) {
    border-right: 1px solid rgba(159, 74, 127, 0.12);
}

[data-bs-theme="light"] .sp-info-cell {
    border-bottom-color: rgba(107, 45, 94, 0.1);
}
[data-bs-theme="light"] .sp-info-cell:nth-child(odd) {
    border-right-color: rgba(107, 45, 94, 0.1);
}

.sp-info-label {
    color: var(--text-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 500;
    margin-bottom: 2px;
}

.sp-info-value {
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

.sp-info-value .icon-accent {
    color: var(--accent-light);
    font-size: 13px;
}

/* ---- SEMTLER (Hizmet Verdiği Bölgeler) ---- */
.sp-districts-block {
    padding: 10px 12px;
    border-top: 1px solid rgba(159, 74, 127, 0.12);
}

[data-bs-theme="light"] .sp-districts-block {
    border-top-color: rgba(107, 45, 94, 0.1);
}

.sp-districts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.sp-district-pill {
    background: rgba(159, 74, 127, 0.18);
    color: var(--text-primary);
    padding: 3px 8px;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 500;
    border: 1px solid rgba(159, 74, 127, 0.25);
}

[data-bs-theme="light"] .sp-district-pill {
    background: rgba(159, 74, 127, 0.1);
    color: #6B2D5E;
    border-color: rgba(107, 45, 94, 0.2);
}

/* ---- UZMANLIK ALANLARI ---- */
.sp-expertise-block {
    margin-top: 4px;
}

.sp-expertise-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.sp-expertise-pill {
    background: rgba(159, 74, 127, 0.13);
    color: var(--accent-light);
    padding: 4px 10px;
    border-radius: 7px;
    font-size: 11px;
    border: 1px solid rgba(159, 74, 127, 0.2);
}

[data-bs-theme="light"] .sp-expertise-pill {
    background: rgba(159, 74, 127, 0.08);
    color: #6B2D5E;
    border-color: rgba(107, 45, 94, 0.18);
}

/* ---- 480px+ ekranlar için padding düzeltmesi ---- */
@media (min-width: 480px) {
    .sp-profile-card {
        padding: 20px;
    }
    .sp-info-cell {
        padding: 12px 14px;
    }
}

/* ---- Masaüstü için bazı düzenlemeler ---- */
@media (min-width: 992px) {
    .sp-profile-name {
        font-size: 28px;
    }
    .sp-btn {
        font-size: 14px;
        padding: 14px 8px;
    }
}