/* Persian Fonts - CSS Variables */
:root {
    --font-family-base: 'Vazir', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-weight-light: 300;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-bold: 700;
}

/* Font Face Declarations */
@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir.woff2') format('woff2'),
         url('../fonts/Vazir.woff') format('woff'),
         url('../fonts/Vazir.ttf') format('truetype');
    font-weight: var(--font-weight-normal);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Bold.woff2') format('woff2'),
         url('../fonts/Vazir-Bold.woff') format('woff'),
         url('../fonts/Vazir-Bold.ttf') format('truetype');
    font-weight: var(--font-weight-bold);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Light.woff2') format('woff2'),
         url('../fonts/Vazir-Light.ttf') format('truetype');
    font-weight: var(--font-weight-light);
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Vazir';
    src: url('../fonts/Vazir-Medium.woff2') format('woff2'),
         url('../fonts/Vazir-Medium.ttf') format('truetype');
    font-weight: var(--font-weight-medium);
    font-style: normal;
    font-display: swap;
}

/* Base Typography */
html, body {
    font-family: var(--font-family-base);
}

/* Navigation */
nav, 
nav a {
    font-family: var(--font-family-base);
}

/* Form Elements */
.btn, 
button, 
input, 
textarea, 
select {
    font-family: var(--font-family-base);
}

/* Tables */
.table, 
.table th, 
.table td {
    font-family: var(--font-family-base);
}

/* Cards and Alerts */
.alert, 
.card, 
.card-title, 
.card-body {
    font-family: var(--font-family-base);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-base);
}

/* Text Elements */
p, 
span, 
div {
    font-family: var(--font-family-base);
}

/* Font Weight Utility Classes */
.font-light {
    font-weight: var(--font-weight-light);
}

.font-normal {
    font-weight: var(--font-weight-normal);
}

.font-medium {
    font-weight: var(--font-weight-medium);
}

.font-bold {
    font-weight: var(--font-weight-bold);
}