/* Overrides for Universal Resume — Mert Yusuf Kutlu */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.font-firago,
body {
    font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
}

.cv-switch {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 50;
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    color: #4a5568;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cv-switch:hover {
    background: #f7fafc;
    color: #2d3748;
}

.cv-lang-bar {
    position: fixed;
    top: 12px;
    right: 12px;
    z-index: 50;
    display: flex;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: flex-end;
    max-width: 280px;
    align-items: center;
}

.cv-lang-bar__sep {
    color: #cbd5e0;
    font-size: 0.75rem;
    user-select: none;
    padding: 0 0.1rem;
}

.cv-lang-bar a {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    background: #fff;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    color: #4a5568;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.cv-lang-bar a:hover {
    background: #f7fafc;
    color: #2d3748;
}

.cv-lang-bar a.active {
    background: #434E5E;
    color: #fff;
    border-color: #434E5E;
}

@media print {
    .cv-switch,
    .cv-lang-bar {
        display: none !important;
    }

    /*
     * A4 FIX AÇIKLAMASI:
     * build.css US Letter (8.5×11in) için tasarlanmış.
     * A4 (210×297mm) Letter'dan biraz dar ama daha uzundur.
     *
     * Yapılan tek değişiklik: sayfa genişliğini A4'e ayarla.
     * Sütun yüksekliği (h-letter-col-full = 77.9rem) olduğu gibi bırakılır —
     * A4 Letter'dan uzun olduğundan içerik zaten tek sayfaya sığar.
     *
     * HATALI yaklaşım: height: auto + column-fill: balance
     *   → Chrome print'te 2 sütun çalışmaz, her şey tek sütuna yığılır
     *   → CONTACT 2. sayfaya düşer
     *
     * DOĞRU yaklaşım: orijinal fixed-height sütun korunur, sadece genişlik ayarlanır.
     */
    @page {
        size: A4 portrait;
        margin: 0;
    }

    /* Sadece genişliği Letter'dan A4'e çek */
    .print\:max-w-letter,
    .md\:max-w-letter {
        max-width: 210mm !important;
    }

    /* Sayfa gölgesini kaldır */
    .page {
        box-shadow: none !important;
    }

    /*
     * EDUCATION bölümünü kesin olarak 2. sütuna zorla.
     * Bu sayede: Sol sütun = ABOUT + EXPERIENCE, Sağ sütun = EDUCATION + SKILLS + CONTACT
     * break-before: column, çok-sütun layout'ta sütun başlangıcını garanti eder.
     */
    #print-col2-start {
        break-before: column !important;
        -webkit-column-break-before: always !important;
    }
}

.profile-photo {
    width: 11rem;
    height: 11rem;
    object-fit: cover;
    object-position: center 18%;
    border-radius: 8px;
    flex-shrink: 0;
}


.profile-header {
    gap: 1rem;
}

.profile-header .subtitle {
    font-size: 0.95rem;
    color: #718096;
    font-weight: 500;
    margin-top: 0.15rem;
}
