/* static/css/fonts.css */

/* فونت وزیرمتن */


@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Vazirmatn';
    src: url('../fonts/Vazirmatn/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}



/* فونت شبنم */
@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* فونت صمیم */


@font-face {
    font-family: 'Samim';
    src: url('../fonts/Samim/Samim.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Samim';
    src: url('../fonts/Samim/Samim-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
}

/* فونت ساحل */
@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel/Sahel.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Sahel';
    src: url('../fonts/Sahel/Sahel-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* فونت پرستو */
@font-face {
    font-family: 'Parastoo';
    src: url('../fonts/Parastoo/Parastoo.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Parastoo';
    src: url('../fonts/Parastoo/Parastoo-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* فونت گندم */
@font-face {
    font-family: 'Gandom';
    src: url('../fonts/Gandom/Gandom.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* فونت تنها */
@font-face {
    font-family: 'Tanha';
    src: url('../fonts/Tanha/Tanha.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* فونت امیری (نسخ — مناسب متون دینی و عربی) */
@font-face {
    font-family: 'Amiri';
    src: url('../fonts/Amiri/Amiri-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Amiri';
    src: url('../fonts/Amiri/Amiri-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* استایل پایه */
:root {
    --font-primary: 'Vazirmatn', sans-serif; /* مقدار پیش‌فرض */
}

body {
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* کلاس‌های کمکی */
.font-vazirmatn { font-family: 'Vazirmatn', sans-serif; }
.font-iransans { font-family: 'IranSans', sans-serif; }
.font-shabnam { font-family: 'Shabnam', sans-serif; }
.font-samim { font-family: 'Samim', sans-serif; }
.font-sahel { font-family: 'Sahel', sans-serif; }
.font-parastoo { font-family: 'Parastoo', sans-serif; }
.font-gandom { font-family: 'Gandom', sans-serif; }
.font-tanha { font-family: 'Tanha', sans-serif; }
.font-amiri { font-family: 'Amiri', serif; }