/**
 * Local Fonts - Noto Kufi Arabic
 * 
 * Using Variable Font for better performance (single file, all weights)
 *
 * @package foukagroup.com
 */

/* ========================================
   Noto Kufi Arabic - Variable Font
   Supports weights: 100-900
   ======================================== */
@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../Noto_Kufi_Arabic/NotoKufiArabic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

/* Fallback for older browsers - Regular weight */
@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../Noto_Kufi_Arabic/static/NotoKufiArabic-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Fallback - Medium weight */
@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../Noto_Kufi_Arabic/static/NotoKufiArabic-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* Fallback - SemiBold weight */
@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../Noto_Kufi_Arabic/static/NotoKufiArabic-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Fallback - Bold weight */
@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../Noto_Kufi_Arabic/static/NotoKufiArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   Apply Font to Website
   ======================================== */
:root {
    --font-primary: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Typography - High Specificity */
html,
html body {
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body,
body button,
body input,
body select,
body optgroup,
body textarea {
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* All text elements */
p, span, a, li, td, th, label, legend, caption, figcaption, blockquote, cite, q, address, time, small, strong, em, b, i, u, s, mark, ins, del, sub, sup, dfn, abbr, var, samp, kbd, code:not(pre code), data, details, summary, article, aside, section, header, footer, main, nav, div {
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-weight: 700;
}

/* Navigation */
.main-navigation,
.main-navigation a,
.mobile-menu-list,
.mobile-menu-list a,
#site-navigation,
.menu,
.menu a,
.nav-menu,
.nav-menu a {
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Buttons */
.button,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.wp-block-button__link,
.btn,
a.button,
a.btn {
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* WordPress specific */
.entry-title,
.entry-content,
.entry-meta,
.entry-footer,
.site-title,
.site-description,
.widget-title,
.widget,
.comment-body,
.comment-content {
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}
