/* =====================================================================
   assets/css/style.css  —  Frontend Görsel Tasarım (Aşama J)
   =====================================================================
   Renk Paleti (CSS değişkenleri — light/dark mode):
   Birincil: #2563eb (blue-600)  |  Başarı: #16a34a  |  Hata: #dc2626
   ===================================================================== */

/* ---------------------------------------------------------------------
   1) CSS DEĞİŞKENLERİ
   --------------------------------------------------------------------- */
:root {
    /* Renkler — Light Mode */
    --bg:             #f8fafc;
    --bg-card:        #ffffff;
    --bg-muted:       #f1f5f9;
    --text:           #0f172a;
    --text-muted:     #64748b;
    --border:         #e2e8f0;
    --primary:        #2563eb;
    --primary-light:  #eff6ff;
    --primary-dark:   #1d4ed8;
    --success:        #16a34a;
    --success-light:  #f0fdf4;
    --shadow-sm:      0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:      0 4px 12px rgba(0,0,0,.08);
    --sidebar-width:  240px;
    --topbar-height:  56px;
    --radius:         10px;
    --radius-sm:      6px;
    --transition:     .2s ease;

    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto,
                 'Helvetica Neue', Arial, sans-serif;
}

[data-theme="dark"] {
    --bg:           #0f172a;
    --bg-card:      #1e293b;
    --bg-muted:     #1e293b;
    --text:         #f1f5f9;
    --text-muted:   #94a3b8;
    --border:       #334155;
    --primary:      #60a5fa;
    --primary-light:#172554;
    --primary-dark: #93c5fd;
    --success:      #4ade80;
    --success-light:#052e16;
    --shadow-sm:    0 1px 3px rgba(0,0,0,.3);
    --shadow-md:    0 4px 12px rgba(0,0,0,.4);
}

/* ---------------------------------------------------------------------
   2) TEMEL SIFIRLAMA
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.65;
    background: var(--bg);
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

h1, h2, h3 { line-height: 1.3; color: var(--text); }

.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------------------------------------------------------------------
   3) TOPBAR
   --------------------------------------------------------------------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: background var(--transition), border-color var(--transition);
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--topbar-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.brand {
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -.02em;
    text-decoration: none;
}
.brand:hover { text-decoration: none; color: var(--primary); }

.topbar-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Dil seçici */
.lang-select {
    padding: 5px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-muted);
    color: var(--text);
    font-size: 13px;
    cursor: pointer;
    transition: border-color var(--transition);
}
.lang-select:focus {
    outline: none;
    border-color: var(--primary);
}

/* Sosyal ikonlar */
.social-links { display: flex; gap: 6px; }

.social-icon {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: var(--bg-muted);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    transition: all var(--transition);
    text-decoration: none;
}
.social-icon:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

/* Tema toggle */
.theme-toggle {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-muted);
    color: var(--text-muted);
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition);
}
.theme-toggle:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ---------------------------------------------------------------------
   4) LAYOUT: SİDEBAR + ANA İÇERİK
   --------------------------------------------------------------------- */
.layout {
    display: flex;
    min-height: calc(100vh - var(--topbar-height));
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    gap: 32px;
}

/* Sidebar */
.sidebar {
    width: var(--sidebar-width);
    flex-shrink: 0;
    padding: 32px 0;
    position: sticky;
    top: var(--topbar-height);
    height: calc(100vh - var(--topbar-height));
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar-nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
    transition: all var(--transition);
    text-decoration: none;
}

.sidebar-nav li a:hover {
    background: var(--bg-muted);
    color: var(--text);
    text-decoration: none;
    transform: translateX(2px);
}

.sidebar-nav li.active a {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 600;
}

[data-theme="dark"] .sidebar-nav li.active a {
    background: var(--primary-light);
    color: var(--primary);
}

/* Ana içerik */
.main-content {
    flex: 1;
    min-width: 0;
    padding: 36px 0 60px;
}

/* ---------------------------------------------------------------------
   5) FOOTER
   --------------------------------------------------------------------- */
.site-footer {
    border-top: 1px solid var(--border);
    background: var(--bg-card);
    padding: 24px 0;
    margin-top: 40px;
}

.site-footer p {
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ---------------------------------------------------------------------
   6) ORTAK BİLEŞENLER
   --------------------------------------------------------------------- */

/* Bölüm başlığı + "Tümünü gör" */
.section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 8px;
}

.section-heading h2 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -.02em;
}

.view-all-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition);
}
.view-all-link:hover { gap: 7px; text-decoration: none; }

.empty-state {
    color: var(--text-muted);
    font-size: 14px;
    padding: 32px 0;
    text-align: center;
}

/* Kart */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    padding: 20px;
    transition: box-shadow var(--transition), border-color var(--transition);
}

/* Alert mesajları */
.alert-success {
    background: var(--success-light);
    color: var(--success);
    border: 1px solid;
    border-color: color-mix(in srgb, var(--success) 30%, transparent);
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.alert-error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
    padding: 12px 16px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
}
.alert-error ul { margin: 6px 0 0 16px; }

[data-theme="dark"] .alert-error {
    background: #2d0a0a;
    color: #f87171;
    border-color: #7f1d1d;
}

/* İlerleme çubukları */
.progress-bar-track {
    background: var(--border);
    border-radius: 999px;
    height: 6px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: var(--text-muted);
    border-radius: 999px;
    transition: width .6s cubic-bezier(.4,0,.2,1);
}

.progress-bar-fill.is-complete {
    background: var(--success);
}

/* Proje durum rozeti */
.project-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    background: var(--bg-muted);
    color: var(--text-muted);
    white-space: nowrap;
}
.project-status-badge.is-complete {
    background: var(--success-light);
    color: var(--success);
}

/* Breadcrumb */
.breadcrumb {
    font-size: 13px;
    margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }

/* Sayfalama */
.pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 36px;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    transition: all var(--transition);
    text-decoration: none;
}
.pagination-link:hover {
    background: var(--bg-muted);
    color: var(--text);
    text-decoration: none;
}
.pagination-link.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    font-weight: 700;
}

/* Gönder butonu (contact formu vb.) */
.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: #fff;
    border: none;
    padding: 11px 24px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ---------------------------------------------------------------------
   7) ANASAYFA — HERO
   --------------------------------------------------------------------- */
.hero {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 52px;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
}

.hero-photo-wrap { flex-shrink: 0; }

.profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    box-shadow: var(--shadow-md);
}

.hero-text h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 6px;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 15px;
}

/* ---------------------------------------------------------------------
   8) ANASAYFA — YETERLİLİKLER
   --------------------------------------------------------------------- */
.skills-section { margin-bottom: 52px; }

.skills-table {
    width: 100%;
    border-collapse: collapse;
}

.skills-table td {
    padding: 10px 8px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.skills-table tr:last-child td { border-bottom: none; }

.skill-name {
    width: 160px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    white-space: nowrap;
}

.skill-bar-cell { padding-right: 12px; }

.skill-bar-cell .progress-bar-track {
    height: 4px;
    background: var(--border);
}

.skill-bar-cell .progress-bar-fill {
    background: var(--text);
    opacity: .7;
}

.skill-percent {
    width: 46px;
    text-align: right;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   9) ANASAYFA — SON PROJELER
   --------------------------------------------------------------------- */
.projects-section { margin-bottom: 52px; }

.project-progress-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.project-progress-card {
    display: block;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: all var(--transition);
    text-decoration: none;
}
.project-progress-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    text-decoration: none;
}

.project-progress-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
}

.project-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
}

.project-percent-label {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------------
   10) ANASAYFA — SON BLOG YAZILARI
   --------------------------------------------------------------------- */
.home-blog-section { margin-bottom: 52px; }

.home-blog-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.home-blog-card {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: all var(--transition);
    text-decoration: none;
}
.home-blog-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
}

/* ---------------------------------------------------------------------
   11) PORTFÖLYö — GRID
   --------------------------------------------------------------------- */
.portfolio-section h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 28px;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.portfolio-card {
    display: block;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: all var(--transition);
    text-decoration: none;
}
.portfolio-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    text-decoration: none;
}

.portfolio-card-image {
    aspect-ratio: 16 / 10;
    background: var(--bg-muted);
    background-size: cover;
    background-position: center;
}

.portfolio-card-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.portfolio-card-body .project-title {
    font-size: 13px;
    font-weight: 600;
}

.portfolio-card-tags {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   12) PROJE DETAY
   --------------------------------------------------------------------- */
.project-detail-section h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 8px 0 12px;
}

.project-detail-header {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.project-detail-cover {
    width: 280px;
    max-width: 100%;
    border-radius: var(--radius);
    object-fit: cover;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.project-detail-info { flex: 1; min-width: 240px; }

.project-description {
    color: var(--text-muted);
    margin: 14px 0;
    font-size: 14px;
    line-height: 1.7;
}

.project-meta-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.project-meta-table th {
    color: var(--text-muted);
    font-weight: 600;
    padding: 7px 14px 7px 0;
    white-space: nowrap;
    vertical-align: top;
    width: 160px;
}

.project-meta-table td {
    padding: 7px 0;
    color: var(--text);
}

/* Fazlar bloğu */
.project-phases-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.project-phases-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
}

.project-detail-progress-track {
    height: 8px;
    margin-bottom: 18px;
}

.phase-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    list-style: none;
}

.phase-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-muted);
    padding: 6px 0;
    border-bottom: 1px solid var(--border);
}
.phase-item:last-child { border-bottom: none; }

.phase-item.is-done { color: var(--text); }

.phase-check {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
    background: var(--bg-muted);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.phase-item.is-done .phase-check {
    background: var(--success-light);
    color: var(--success);
    border-color: var(--success);
}

.phase-name { flex: 1; font-size: 13px; }

.phase-percent {
    font-variant-numeric: tabular-nums;
    font-size: 12px;
    color: var(--text-muted);
}

/* Yorum bloğu */
.project-comment-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.project-comment-block h2 {
    font-size: 16px;
    margin-bottom: 14px;
}

.project-comment {
    margin: 0;
    padding: 16px;
    border-left: 3px solid var(--primary);
    background: var(--bg-muted);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-size: 14px;
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
}

.project-comment footer {
    margin-top: 10px;
    font-style: normal;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

/* ---------------------------------------------------------------------
   13) BLOG — LİSTE
   --------------------------------------------------------------------- */
.blog-section h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 28px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    color: var(--text);
    transition: all var(--transition);
    text-decoration: none;
}
.blog-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
    text-decoration: none;
}

.blog-card-image {
    aspect-ratio: 16 / 9;
    background: var(--bg-muted);
    background-size: cover;
    background-position: center;
}

.blog-card-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-muted);
}

.blog-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--text);
}

.blog-card-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin: 0;
}

.blog-card-readmore {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 4px;
}

/* ---------------------------------------------------------------------
   14) BLOG — DETAY
   --------------------------------------------------------------------- */
.blog-detail-section h1 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin: 8px 0 10px;
    line-height: 1.25;
}

.blog-detail-date {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.blog-detail-cover {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 28px;
    box-shadow: var(--shadow-md);
}

.blog-detail-content {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    max-width: 720px;
}
.blog-detail-content p { margin: 0 0 18px; }
.blog-detail-content h2 { font-size: 20px; margin: 28px 0 12px; }
.blog-detail-content h3 { font-size: 17px; margin: 22px 0 10px; }
.blog-detail-content img { max-width: 100%; border-radius: var(--radius-sm); margin: 12px 0; }
.blog-detail-content a { color: var(--primary); }
.blog-detail-content code {
    background: var(--bg-muted);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    border: 1px solid var(--border);
}

/* ---------------------------------------------------------------------
   15) İLETİŞİM
   --------------------------------------------------------------------- */
.contact-section h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 28px;
}

.contact-layout {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.contact-form-wrap { flex: 2; min-width: 280px; }

.contact-info { flex: 1; min-width: 220px; }

.contact-info-item { margin-bottom: 24px; }

.contact-info-item strong {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.contact-info-item p {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.contact-form .field { margin-bottom: 18px; }

.contact-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.contact-form input[type=text],
.contact-form input[type=email],
.contact-form textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    transition: border-color var(--transition), box-shadow var(--transition);
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}

.contact-form textarea { min-height: 140px; resize: vertical; }

/* ---------------------------------------------------------------------
   16) HAKKIMDA
   --------------------------------------------------------------------- */
.about-section h1 {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -.03em;
    margin-bottom: 28px;
}

.about-bio {
    max-width: 700px;
    margin-bottom: 44px;
}

.about-bio p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 16px;
}
.about-bio p:last-child { margin-bottom: 0; }

.about-skills h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.about-skills .skills-table { max-width: 680px; }

/* ---------------------------------------------------------------------
   17) BLOG KAPALIYKEN / HATA MESAJI
   --------------------------------------------------------------------- */
.feedback-section h1 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 20px;
}

.feedback-project-title {
    font-size: 15px;
    margin-bottom: 8px;
    color: var(--text-muted);
}

.feedback-form textarea { min-height: 120px; }

/* blog-card-date ve title yeniden kullanımı için */
.home-blog-card .blog-card-date  { font-size: 12px; color: var(--text-muted); }
.home-blog-card .blog-card-title { font-size: 14px; font-weight: 700; color: var(--text); }
.home-blog-card .blog-card-excerpt { font-size: 13px; color: var(--text-muted); margin: 0; }

/* ---------------------------------------------------------------------
   18) RESPONSİF
   --------------------------------------------------------------------- */

/* Tablet — 2 sütunlu portfolio, 2 sütunlu blog */
@media (max-width: 1024px) {
    .portfolio-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
    .blog-grid      { grid-template-columns: repeat(2, 1fr); }
}

/* Mobil */
@media (max-width: 768px) {
    :root { --sidebar-width: 0px; }

    .layout {
        flex-direction: column;
        gap: 0;
        padding: 0 16px;
    }

    /* Mobilde sidebar yatay kaydırılabilir menü çubuğuna dönüşür */
    .sidebar {
        width: 100%;
        height: auto;
        position: static;
        padding: 12px 0 0;
        border-bottom: 1px solid var(--border);
        overflow-x: auto;
    }

    .sidebar-nav ul {
        flex-direction: row;
        gap: 4px;
        white-space: nowrap;
    }

    .sidebar-nav li a {
        padding: 8px 14px;
        border-radius: 999px;
        font-size: 13px;
    }

    .sidebar-nav li a:hover { transform: none; }

    .main-content { padding: 24px 0 48px; }

    .topbar-inner { padding: 0 16px; }

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 24px 20px;
        gap: 16px;
    }

    .project-progress-list,
    .home-blog-list    { grid-template-columns: 1fr; }
    .portfolio-grid    { grid-template-columns: repeat(2, 1fr); }
    .blog-grid         { grid-template-columns: 1fr; }

    .project-detail-header { flex-direction: column; }
    .project-detail-cover  { width: 100%; }

    .contact-layout { flex-direction: column; gap: 28px; }
}

@media (max-width: 480px) {
    .portfolio-grid { grid-template-columns: 1fr; }

    .topbar-controls { gap: 6px; }
    .social-icon, .theme-toggle { width: 30px; height: 30px; }
}
