/* assets/css/biography.css */

/* --- LİSTELEME SAYFASI --- */
.page-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-top: 5px;
}

.bio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
}

.bio-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    text-align: center;
    padding-bottom: 15px;
}

.bio-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.bio-card-img {
    width: 100%;
    aspect-ratio: 1 / 1; /* Kare Fotoğraf */
    overflow: hidden;
}

.bio-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.bio-card:hover .bio-card-img img { transform: scale(1.05); }

.bio-card-content { padding: 15px 10px 0; }

.bio-card-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 0 0 5px;
}

.bio-card-job {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
}

/* --- DETAY SAYFASI --- */
.bio-detail-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
    align-items: start;
}

/* Sol Kolon */
.bio-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 20px;
    line-height: 1.2;
}

.bio-summary {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 30px;
    padding-left: 15px;
    border-left: 4px solid var(--primary-color);
    line-height: 1.6;
}

.content-style {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 40px;
    text-align: justify;
}
.content-style p { margin-bottom: 20px; }
.content-style h2 { font-size: 22px; font-weight: 700; margin: 30px 0 15px; color: var(--text-heading); }

/* Kariyer Alanları */
.work-section {
    background: var(--bg-surface);
    padding: 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
}

.work-section h3 {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.work-content { font-size: 15px; color: var(--text-body); line-height: 1.6; }

/* Sağ Kolon (Kimlik Kartı) */
.bio-sidebar { position: sticky; top: 90px; }

.bio-identity-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.bio-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4; /* Dikey Fotoğraf */
}
.bio-img-wrapper img {
    width: 100%; height: 100%; object-fit: cover;
}

.bio-id-header {
    background: var(--primary-color);
    color: #fff;
    padding: 15px;
    text-align: center;
}
.bio-id-header h2 { font-size: 20px; margin: 0; }
.bio-id-header span { font-size: 13px; opacity: 0.9; font-weight: 500; text-transform: uppercase; }

.bio-id-body { padding: 15px; }

.id-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
}
.id-row:last-child { border-bottom: none; }
.id-row.full { flex-direction: column; gap: 5px; }

.id-row .label { font-weight: 700; color: var(--text-heading); }
.id-row .value { color: var(--text-body); text-align: right; }
.id-row.full .value { text-align: left; }

.bio-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}

.soc-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: 0.2s;
}
.soc-btn:hover { transform: translateY(-3px); }
.soc-btn.inst { background: #E1306C; }
.soc-btn.twit { background: #1DA1F2; }

/* Mobil Uyumluluk */
@media (max-width: 900px) {
    .bio-detail-grid { grid-template-columns: 1fr; }
    .bio-sidebar { order: -1; margin-bottom: 30px; position: static; }
}