@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;600&family=Inter:wght@300;400;600;700&display=swap');

:root {
    --primary: #f97316;
    /* Amber */
    --sidebar-bg: #0f172a;
    --page-bg: #1e293b;
    --text-dark: #1e293b;
    --text-light: #475569;
    /* Metin rengini biraz koyulaştırdım, okunabilirlik için */
}

body {
    background-color: var(--page-bg);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    margin: 0;
    min-height: 100vh;
    color: var(--text-dark);
}

.mobile-only-intro {
    display: none;
}

.desktop-only-intro {
    display: block;
}

#bgCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.page {
    position: relative;
    z-index: 10;
    width: 210mm;
    min-height: 297mm;
    background: white;
    display: grid;
    grid-template-columns: 80mm 1fr;
    /* Sidebar biraz genişletildi (75->80) */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.6);
}

/* --- SIDEBAR --- */
.sidebar {
    background-color: var(--sidebar-bg);
    color: white;
    padding: 40px 30px;
}

.profile-initials {
    width: 150px;
    height: 150px;
    border: 2px dashed var(--primary);
    border-radius: 12px;
    margin: 0 auto 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 50px;
    font-family: 'Fira Code', monospace;
    color: var(--primary);
}

/* Sidebar Başlıkları */
.sb-title {
    color: var(--primary);
    border-bottom: 1px solid #334155;
    padding-bottom: 6px;
    margin-bottom: 15px;
    margin-top: 30px;
    font-family: 'Fira Code', monospace;
    font-size: 16px;
    /* 14px -> 16px */
    letter-spacing: 1px;
    font-weight: 600;
}

/* Sidebar Öğeleri */
.sb-item {
    font-size: 14px;
    /* 12px -> 14px */
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    line-height: 1.4;
}

.sb-item i {
    color: var(--primary);
    width: 18px;
    font-size: 14px;
}

/* Sidebar Liste (Yetkinlikler) */
.sb-list-item {
    font-size: 14px;
    /* 12px -> 14px */
    margin-bottom: 8px;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Fira Code', monospace;
}

.sb-list-item::before {
    content: '>';
    color: var(--primary);
    font-weight: bold;
}

/* Skill Bars */
.skill-container {
    margin-bottom: 15px;
}

.skill-label {
    font-size: 14px;
    /* 12px -> 14px */
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-progress-bg {
    background: #334155;
    height: 8px;
    /* 6px -> 8px */
    border-radius: 4px;
    overflow: hidden;
}

.skill-progress-fill {
    background: var(--primary);
    height: 100%;
    border-radius: 4px;
}

/* İlgi Alanları Etiketleri */
.interest-tag {
    display: inline-block;
    font-size: 12px;
    /* 11px -> 12px */
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid #475569;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 0 5px 5px 0;
    font-family: 'Fira Code', monospace;
}

/* --- MAIN CONTENT --- */
.content {
    padding: 50px 45px;
    background: white;
}

h1 {
    font-size: 38px;
    /* 32px -> 38px */
    font-weight: 800;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.1;
}

.job-title {
    color: var(--primary);
    font-family: 'Fira Code', monospace;
    font-size: 18px;
    /* 16px -> 18px */
    margin-bottom: 35px;
    margin-top: 8px;
    font-weight: 600;
}

.section-title {
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 10px;
    margin-bottom: 25px;
    margin-top: 30px;
    font-size: 18px;
    /* 16px -> 18px */
    color: var(--text-dark);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
}

.section-title i {
    color: var(--primary);
    font-size: 18px;
}

/* Genel Metin (Hakkımda vb.) */
p.lang-text {
    font-size: 15px !important;
    /* 13px -> 15px */
    line-height: 1.7 !important;
}

/* İş Deneyimi */
.exp-item {
    margin-bottom: 30px;
    padding-left: 20px;
    border-left: 3px solid #e2e8f0;
    page-break-inside: avoid;
}

.exp-role {
    font-weight: 700;
    color: var(--text-dark);
    font-size: 17px;
    /* 15px -> 17px */
}

.exp-company {
    font-family: 'Fira Code', monospace;
    color: var(--primary);
    font-size: 14px;
    /* 12px -> 14px */
    margin-bottom: 8px;
    display: block;
}

.exp-date {
    font-size: 12px;
    /* 11px -> 12px */
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 12px;
    color: var(--text-light);
    float: right;
    font-weight: 600;
}

.exp-desc {
    font-size: 15px;
    /* 13px -> 15px */
    color: var(--text-light);
    margin-left: 18px;
    margin-top: 8px;
    line-height: 1.6;
}

.exp-desc li {
    margin-bottom: 5px;
}

/* Projeler */
.proj-box {
    background: #f8fafc;
    padding: 18px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    page-break-inside: avoid;
    margin-bottom: 15px;
}

.proj-title {
    font-size: 16px;
    /* 14px -> 16px */
    font-weight: 700;
}

.proj-desc {
    font-size: 14px;
    /* 12px -> 14px */
    color: var(--text-light);
    margin: 8px 0;
    line-height: 1.5;
}

.proj-tags {
    font-family: 'Fira Code', monospace;
    font-size: 12px;
    /* 10px -> 12px */
    color: #64748b;
}

/* Referanslar */
.ref-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    page-break-inside: avoid;
}

.ref-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-left: 4px solid var(--primary);
    border-radius: 6px;
    padding: 15px;
    page-break-inside: avoid;
}

.ref-name {
    font-weight: 700;
    font-size: 15px;
    /* 14px -> 15px */
    color: var(--text-dark);
    margin-bottom: 2px;
}

.ref-title {
    font-size: 12px;
    /* 11px -> 12px */
    color: var(--text-light);
    font-family: 'Fira Code', monospace;
    margin-bottom: 8px;
}

.ref-email {
    font-size: 13px;
    /* 12px -> 13px */
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Controls */
.controls {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 100;
    display: flex;
    gap: 10px;
    font-size: 1.6rem;
}

.btn {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Fira Code', monospace;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-lang {
    background: #334155;
    color: white;
    border: 1px solid #475569;
}

.btn-pdf {
    background: var(--primary);
    color: white;
}

@media print {
    body {
        background: none;
        padding: 0;
    }

    .page {
        box-shadow: none;
        margin: 0;
        width: 100%;
    }

    #bgCanvas,
    .controls {
        display: none !important;
    }

    .skill-progress-bg,
    .skill-progress-fill {
        -webkit-print-color-adjust: exact;
    }
}

/* assets/css/modern-ide.css - EN ALT KISIM */

/* --- MOBİL UYUMLULUK (GÜNCELLENDİ: KART GÖRÜNÜMÜ & BÜYÜK FONT) --- */
@media screen and (max-width: 900px) {
    body {
        padding: 20px 0 80px 0;
        /* Alttan buton için boşluk bırak */
        background-color: var(--page-bg);
    }

    .mobile-only-intro {
        display: block;
    }
    
    .mobile-only-intro h1{
        color: white;
    }

    .desktop-only-intro {
        display: none;
    }

    .page {
        width: 92%;
        /* Ekranı tam kaplamasın, arkadaki animasyon görünsün */
        margin: 0 auto;
        /* Ortala */
        min-height: auto;
        display: flex;
        flex-direction: column;
        border-radius: 12px;
        /* Köşeleri yuvarlat */
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
        /* Derinlik ver */
        overflow: hidden;
        /* Taşmaları gizle */
    }

    /* --- FONT BÜYÜTME --- */

    /* Sidebar */
    .sidebar {
        width: auto;
        padding: 40px 25px;
        text-align: center;
        border-bottom: 1px solid #334155;
    }

    .profile-initials {
        margin: 0 auto 25px;
    }

    /* Sidebar Fontları Büyütüldü */
    .sb-title {
        font-size: 18px;
        margin-top: 35px;
    }

    /* 16px -> 18px */
    .sb-item {
        font-size: 16px;
        justify-content: center;
        margin-bottom: 15px;
    }

    /* 14px -> 16px */
    .sb-list-item {
        font-size: 16px;
        justify-content: center;
    }

    .skill-label {
        font-size: 16px;
    }

    .interest-tag {
        font-size: 14px;
        padding: 6px 12px;
    }

    /* Ana İçerik */
    .content {
        padding: 40px 25px;
    }

    h1 {
        font-size: 32px;
        text-align: center;
        line-height: 1.2;
    }

    .job-title {
        text-align: center;
        font-size: 20px;
        margin-bottom: 40px;
    }

    .section-title {
        font-size: 20px;
        margin-top: 40px;
    }

    /* İçerik Metinleri Büyütüldü */
    p.lang-text {
        font-size: 17px !important;
        line-height: 1.8 !important;
    }

    .exp-desc {
        font-size: 17px;
        line-height: 1.7;
    }

    .exp-role {
        font-size: 19px;
    }

    .exp-company {
        font-size: 16px;
        display: block;
        margin-bottom: 5px;
    }

    .exp-date {
        float: none;
        display: inline-block;
        font-size: 14px;
        padding: 6px 12px;
        margin-top: 8px;
    }

    .proj-title {
        font-size: 18px;
    }

    .proj-desc {
        font-size: 16px;
    }

    .proj-tags {
        font-size: 14px;
    }

    /* Diğer Mobil Ayarlar */
    .exp-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .proj-box>div {
        flex-direction: column;
        gap: 10px;
    }

    .ref-grid {
        grid-template-columns: 1fr;
    }

    /* YÜZEN KONTROLLER (FLOATING) */
    .controls {
        position: fixed;
        top: auto;
        bottom: 25px;
        left: 50%;
        transform: translateX(-50%);

        /* ÖNEMLİ DÜZELTME: Kapsül içeriğe göre genişlesin */
        width: fit-content;
        min-width: min-content;
        max-width: 95%;
        /* Ekranın kenarına yapışmasın */

        display: flex;
        gap: 10px;
        /* Aralığı biraz kıstık */
        justify-content: center;
        align-items: center;

        /* Padding'i biraz azalttık ki taşma yapmasın */
        padding: 10px 15px;

        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);

        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 50px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);

        z-index: 9999;
    }

    /* Butonları mobilde daha kompakt yap */
    .btn {
        padding: 8px 12px !important;
        /* Boşluğu azalttık */
        font-size: 13px !important;
        /* Yazıyı hafif küçülttük */
        white-space: nowrap !important;
        /* Asla alt satıra geçme */
        flex-shrink: 0;
        /* Asla sıkışıp büzülme */
        display: flex;
        align-items: center;
        gap: 6px;
    }

    /* İkon ve yazı arasındaki bozulmayı önle */
    .btn span,
    .btn i {
        white-space: nowrap;
    }
}