/**
 * Local Fonts - Noto Kufi Arabic
 * 
 * Using Variable Font for better performance (single file, all weights)
 * - No external requests to Google Fonts
 * - Better privacy & GDPR compliant
 * - Faster loading with font-display: swap
 *
 * @package TheBoxConcept
 */

/* ========================================
   Noto Kufi Arabic - Variable Font
   Supports weights: 100-900
   ======================================== */
@font-face {
    font-family: 'Noto Kufi Arabic';
    src: url('../fonts/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('../fonts/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('../fonts/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('../fonts/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('../fonts/Noto_Kufi_Arabic/static/NotoKufiArabic-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

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

/* Universal font application - one rule to rule them all */
* {
    font-family: 'Noto Kufi Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Headings weight override */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
    font-weight: 700;
}
