/* Persian Fonts - فونت‌های فارسی */

/* Default Font Application for All Elements */
* {
    font-family: "Pinar", "Vazir", "SnappFood", "Pelak", "IRANYekanX", "Shabnam", "Tahoma", "Arial", sans-serif;
}

/* Specific Font Classes for Different Sections */
.font-heading, .font-title, .font-subtitle,
.font-body, .font-caption, .font-button,
.font-input, .font-label, .font-navigation,
.font-footer, .font-hero, .font-card, .font-sidebar, .font-modal {
    font-family: "Pinar", "Vazir", "SnappFood", "Pelak", "IRANYekanX", "Shabnam", "Tahoma", "Arial", sans-serif;
}

/* IRANYekanX Font Family */
@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX/IRANYekanX-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX/IRANYekanX-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX/IRANYekanX-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX/IRANYekanX-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX/IRANYekanX-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX/IRANYekanX-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IRANYekanX';
    src: url('../fonts/IRANYekanX/IRANYekanX-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Snapp Food Font Family */
@font-face {
    font-family: 'SnappFood';
    src: url('../fonts/SnappFood/SnappWeb2.0-Regular.woff') format('woff'),
         url('../fonts/SnappFood/Snapp Web Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SnappFood';
    src: url('../fonts/SnappFood/SnappWeb2.0-Bold.woff') format('woff'),
         url('../fonts/SnappFood/Snapp Web Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'SnappFood';
    src: url('../fonts/SnappFood/SnappWeb2.0-Light.woff') format('woff'),
         url('../fonts/SnappFood/Snapp Web Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Shabnam Font Family */
@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

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

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Shabnam';
    src: url('../fonts/Shabnam/Shabnam-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* Pelak Font Family */
@font-face {
    font-family: 'Pelak';
    src: url('../fonts/Pelak/Pelak-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/Pelak/Pelak-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/Pelak/Pelak-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/Pelak/Pelak-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/Pelak/Pelak-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/Pelak/Pelak-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Pelak';
    src: url('../fonts/Pelak/Pelak-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Default Persian Font Settings */
body {
    font-family: 'Vazir', 'Ray', 'Pinar', 'SnappFood', 'Pelak', 'IRANYekanX', 'Shabnam', 'Tahoma', 'Arial', sans-serif;
    font-weight: 400;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* RTL Text Direction */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

/* Persian Numbers */
.persian-numbers {
    font-feature-settings: "ss01" 1;
}

/* Font Weight Classes */
.font-light {
    font-weight: 300;
}

.font-normal {
    font-weight: 400;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.font-thin {
    font-weight: 100;
}

.font-extra-bold {
    font-weight: 800;
}

.font-black {
    font-weight: 900;
}

/* Font Family Classes */
.font-iranyekan {
    font-family: 'IRANYekanX', sans-serif;
}

.font-snappfood {
    font-family: 'SnappFood', sans-serif;
}

.font-shabnam {
    font-family: 'Shabnam', sans-serif;
}

.font-pelak {
    font-family: 'Pelak', sans-serif;
}

/* Font Size Classes */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.text-4xl {
    font-size: 2.25rem;
}

/* Line Height Classes */
.leading-none {
    line-height: 1;
}

.leading-tight {
    line-height: 1.25;
}

.leading-normal {
    line-height: 1.5;
}

.leading-relaxed {
    line-height: 1.625;
}

.leading-loose {
    line-height: 2;
} 