/**
 * Greta Arabic Font Family - Complete Font Definitions
 * Includes all font weights and proper @font-face declarations
 */

/* Font Face Declarations */
@font-face {
    font-family: 'Greta Arabic';
    src: url('GretaArabicAR+LT-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greta Arabic';
    src: url('GretaArabicAR+LT-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greta Arabic';
    src: url('GretaArabicAR+LT-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Greta Arabic';
    src: url('GretaArabicAR+LT-SemiBold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Preserve icon fonts - CRITICAL */
i,
i::before,
i::after,
[class*="ri-"],
[class*="ri-"]::before,
[class*="ri-"]::after,
[class*="fa-"],
[class*="fa-"]::before,
[class*="fa-"]::after {
    font-family: 'remixicon', 'Font Awesome 5 Free', 'FontAwesome' !important;
}

/* Use Greta Arabic for all text */
body,
html {
    font-family: 'Greta Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Ensure proper rendering for both Arabic and Latin */
h1,
h2,
h3,
h4,
h5,
h6,
p,
span,
div,
a,
button,
input,
textarea,
select,
label,
li,
td,
th,
caption,
.lakum-hero__title,
.lakum-hero__subtitle,
.lakum-section-header__title,
.lakum-section-header__subtitle {
    font-family: 'Greta Arabic', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
}

/* Exclude icons from font override */
i,
[class*="ri-"],
[class*="fa-"] {
    font-family: 'remixicon', 'Font Awesome 5 Free', 'FontAwesome' !important;
}
