/* ════════════════════════════════════════════════════════════════════
   MTA Public Profil Sayfası (A3.5)
   v7.34.10.30-AKIS-A3.5
   ════════════════════════════════════════════════════════════════════ */

.mta-profil-page {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 0 100px;
    background: #f9fafb;
    min-height: calc(100vh - 200px);
}

/* ─── HERO ─── */
.mta-profil-hero {
    position: relative;
    background: linear-gradient(135deg, #427584 0%, #5a9ab0 100%);
    color: #fff;
    padding: 30px 20px 40px;
    margin-bottom: 16px;
    overflow: hidden;
}
.mta-profil-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15), transparent 50%);
    pointer-events: none;
}
.mta-profil-hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
}

.mta-profil-avatar-wrap {
    position: relative;
    display: inline-block;
    margin-bottom: 14px;
}
.mta-profil-avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 4px solid #fff;
    background: #fff;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.mta-profil-avatar-badge {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: #fff;
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
}

.mta-profil-name {
    font-size: 22px;
    font-weight: 800;
    margin: 0 0 6px;
    color: #fff;
    line-height: 1.3;
}
.mta-profil-eng-branch {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 4px;
}

.mta-profil-bio {
    font-size: 14px;
    line-height: 1.6;
    margin: 12px auto 12px;
    max-width: 480px;
    color: rgba(255, 255, 255, 0.92);
    white-space: pre-line;
}

.mta-profil-location,
.mta-profil-experience {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    margin: 4px;
}

/* ─── İSTATİSTİKLER ─── */
.mta-profil-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fff;
    border-radius: 14px;
    margin: 0 16px 16px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    overflow: hidden;
}
.mta-profil-stat {
    padding: 16px 8px;
    text-align: center;
    border-right: 1px solid #f3f4f6;
}
.mta-profil-stat:last-child { border-right: none; }
.mta-profil-stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1;
}
.mta-profil-stat-label {
    font-size: 11px;
    color: #6b7280;
    margin-top: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ─── İLETİŞİM ─── */
.mta-profil-contact-bar {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.mta-profil-contact-btn {
    flex: 1;
    min-width: 100px;
    text-align: center;
    padding: 12px 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    transition: transform 0.15s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.mta-profil-contact-btn:hover { transform: translateY(-2px); }
.mta-profil-contact-btn:active { transform: translateY(0); }
.mta-profil-contact-btn.is-phone    { background: linear-gradient(135deg, #427584, #5a9ab0); }
.mta-profil-contact-btn.is-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.mta-profil-contact-btn.is-email    { background: linear-gradient(135deg, #f97316, #ea580c); }
.mta-profil-contact-empty {
    text-align: center;
    color: #6b7280;
    font-size: 12px;
    padding: 10px;
    flex: 1;
    margin: 0;
}

/* ─── SECTION GENEL ─── */
.mta-profil-section {
    background: #fff;
    border-radius: 14px;
    padding: 16px;
    margin: 0 16px 16px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.mta-profil-section-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ─── HİZMET ALANLARI ─── */
.mta-profil-services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.mta-profil-service-chip {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #075985;
    border: 1px solid #bae6fd;
    border-radius: 18px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.mta-profil-service-icon { font-size: 14px; }

/* ─── BELGELER ─── */
.mta-profil-docs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mta-profil-doc-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    background: linear-gradient(135deg, #f0fdf4, #ecfdf5);
    border: 1px solid #bbf7d0;
    border-radius: 10px;
}
.mta-profil-doc-icon { font-size: 24px; }
.mta-profil-doc-info { flex: 1; }
.mta-profil-doc-label { font-weight: 600; color: #064e3b; font-size: 13px; }
.mta-profil-doc-meta { font-size: 11px; color: #047857; margin-top: 2px; }
.mta-profil-docs-note {
    font-size: 11px;
    color: #6b7280;
    text-align: center;
    margin: 10px 0 0;
    font-style: italic;
}

/* ─── PAYLAŞIMLAR GRID ─── */
.mta-profil-posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
}
@media (min-width: 480px) {
    .mta-profil-posts-grid { gap: 6px; }
}
.mta-profil-post-card {
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f3f4f6;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.15s ease;
}
.mta-profil-post-card:hover { transform: scale(1.02); }
.mta-profil-post-thumb {
    position: absolute;
    inset: 0;
    background: #1f2937;
}
.mta-profil-post-thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mta-profil-post-text-thumb {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #427584, #5a9ab0);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    padding: 12px;
    text-align: center;
    line-height: 1.4;
    overflow: hidden;
}
.mta-profil-post-text-thumb br + * { margin-top: 6px; }
.mta-profil-post-meta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 6px 8px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}
.mta-profil-post-cat {
    position: absolute;
    top: 6px;
    right: 6px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 11px;
    z-index: 2;
}

.mta-profil-posts-loading,
.mta-profil-posts-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: #6b7280;
    font-size: 13px;
}

.mta-profil-posts-more {
    display: block;
    margin: 14px auto 0;
    background: #fff;
    color: #427584;
    border: 1.5px solid #427584;
    padding: 10px 22px;
    border-radius: 22px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mta-profil-posts-more:hover {
    background: #427584;
    color: #fff;
}

/* ─── 404 ─── */
.mta-profil-404 {
    text-align: center;
    padding: 80px 20px;
}
.mta-profil-404-icon { font-size: 64px; margin-bottom: 20px; }
.mta-profil-404 h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 10px;
}
.mta-profil-404 p {
    color: #6b7280;
    font-size: 14px;
    margin: 0 0 20px;
}
.mta-profil-404-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #427584, #5a9ab0);
    color: #fff;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
}

/* ─── Dark mode ─── */
@media (prefers-color-scheme: dark) {
    .mta-profil-page { background: #111827; }
    .mta-profil-stats, .mta-profil-section { background: #1f2937; }
    .mta-profil-stat-value { color: #f9fafb; }
    .mta-profil-stat-label { color: #9ca3af; }
    .mta-profil-stat { border-color: #374151; }
    .mta-profil-section-title, .mta-profil-404 h1 { color: #f9fafb; }
    .mta-profil-posts-more { background: #1f2937; color: #93c5fd; border-color: #93c5fd; }
}
