﻿/* ===== Kurdish typography overrides ===== */

html[lang="ku"] {
    font-family: 'Noto Sans Arabic', sans-serif;
}

    html[lang="ku"] body {
        font-family: inherit;
        letter-spacing: 0;
        word-spacing: 0;
    }

    /* Main headings */
    html[lang="ku"] h1,
    html[lang="ku"] h2,
    html[lang="ku"] h3,
    html[lang="ku"] .section-title,
    html[lang="ku"] .hero-title,
    html[lang="ku"] .work-name,
    html[lang="ku"] .offer-title,
    html[lang="ku"] .value-title,
    html[lang="ku"] .team-title,
    html[lang="ku"] .service-title {
        font-family: 'Noto Sans Arabic', sans-serif;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        line-height: 1.2 !important;
    }

        /* Highlighted hero line */
        html[lang="ku"] h1 .highlight,
        html[lang="ku"] .section-title .highlight {
            letter-spacing: 0 !important;
            font-weight: 700 !important;
        }

    /* Body text / descriptions */
    html[lang="ku"] p,
    html[lang="ku"] .section-sub,
    html[lang="ku"] .hero-sub,
    html[lang="ku"] .value-desc,
    html[lang="ku"] .offer-desc,
    html[lang="ku"] .team-desc,
    html[lang="ku"] .service-desc,
    html[lang="ku"] .work-desc,
    html[lang="ku"] .contact-info-label,
    html[lang="ku"] .contact-info-value,
    html[lang="ku"] label,
    html[lang="ku"] input,
    html[lang="ku"] textarea,
    html[lang="ku"] select,
    html[lang="ku"] option,
    html[lang="ku"] button,
    html[lang="ku"] a {
        font-family: 'Noto Sans Arabic', sans-serif;
        letter-spacing: 0 !important;
        line-height: 1.7;
    }

    /* Hero only: stronger fix */
    html[lang="ku"] .hero-content h1 {
        font-size: clamp(2.1rem, 4.2vw, 3.8rem);
        font-weight: 700 !important;
        line-height: 1.22 !important;
        letter-spacing: 0 !important;
    }

/* =========================================
   KURDISH RESPONSIVE TYPOGRAPHY
   ========================================= */

@media (max-width: 768px) {
    html[lang="ku"] h1,
    html[lang="ku"] h2,
    html[lang="ku"] h3,
    html[lang="ku"] .section-title,
    html[lang="ku"] .hero-title,
    html[lang="ku"] .work-name,
    html[lang="ku"] .offer-title,
    html[lang="ku"] .value-title,
    html[lang="ku"] .team-title,
    html[lang="ku"] .service-title {
        line-height: 1.35 !important;
    }

    html[lang="ku"] .hero-content h1 {
        font-size: clamp(1.85rem, 6vw, 2.7rem);
        line-height: 1.32 !important;
    }
}

@media (max-width: 480px) {
    html[lang="ku"] p,
    html[lang="ku"] .section-sub,
    html[lang="ku"] .hero-sub,
    html[lang="ku"] .value-desc,
    html[lang="ku"] .offer-desc,
    html[lang="ku"] .team-desc,
    html[lang="ku"] .service-desc,
    html[lang="ku"] .work-desc,
    html[lang="ku"] .contact-info-label,
    html[lang="ku"] .contact-info-value,
    html[lang="ku"] label,
    html[lang="ku"] input,
    html[lang="ku"] textarea,
    html[lang="ku"] select,
    html[lang="ku"] option,
    html[lang="ku"] button,
    html[lang="ku"] a {
        line-height: 1.8 !important;
    }
}

/* Reset styles that prevent Kurdish letters from shaping cleanly. */
html[lang="ku"] body,
html[lang="ku"] :is(h1, h2, h3, h4, p, a, button, label, input, textarea, select),
html[lang="ku"] :is(.section-tag, .tech-row-label, .team-dept, .team-title, .team-desc,
    .service-title, .service-desc, .offer-title, .offer-desc, .value-title, .value-desc,
    .work-name, .work-desc, .stat-label, .big-stat-label, .contact-info-label,
    .contact-info-value, .logo-ar, .footer-brand-text) {
    font-family: 'Noto Sans Arabic', sans-serif !important;
    letter-spacing: normal !important;
}

html[lang="ku"] :is(h1, h2, h3, h4, .section-title, .team-title,
    .service-title, .offer-title, .value-title, .work-name) {
    line-height: 1.35 !important;
}

html[lang="ku"] :is(.hero-sub, .section-sub, .service-desc, .team-desc,
    .offer-desc, .value-desc, .work-desc) {
    line-height: 1.85;
}

html[lang="ku"] .terminal-body .localized-code {
    font-family: 'Noto Sans Arabic', sans-serif !important;
    direction: rtl !important;
    unicode-bidi: isolate;
    letter-spacing: normal !important;
}
