/* Tajawal Font - خط تجوال الحديث والأنيق */
/* تم تحميل الخط محلياً من مستودع Google Fonts */

/* Tajawal Light - 300 */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/tajawal/Tajawal-Light.ttf') format('truetype');
}

/* Tajawal Regular - 400 */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/tajawal/Tajawal-Regular.ttf') format('truetype');
}

/* Tajawal Medium - 500 */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/tajawal/Tajawal-Medium.ttf') format('truetype');
}

/* Tajawal Bold - 700 */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/tajawal/Tajawal-Bold.ttf') format('truetype');
}

/* Tajawal ExtraBold - 800 */
@font-face {
    font-family: 'Tajawal';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/tajawal/Tajawal-ExtraBold.ttf') format('truetype');
}

/* تعريف متغير الخط */
:root {
    --font-family-base: 'Tajawal', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Tahoma', 'Arial', sans-serif;
}

/* تطبيق الخط على كامل الموقع */
body {
    font-family: var(--font-family-base) !important;
}

/* تحسين عرض النصوص العربية */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* أوزان الخط المختلفة */
.font-light {
    font-weight: 300;
}

.font-regular {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.font-extrabold {
    font-weight: 800;
}

/* تحسين المسافات للنصوص العربية */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-family-base) !important;
    letter-spacing: -0.02em;
}

p,
span,
a,
button,
input,
textarea,
select {
    font-family: var(--font-family-base) !important;
}