/* TraPay Yekan Font Family - Complete Collection */

/* Original Yekan Font */
@font-face {
    font-family: 'Yekan';
    src: url('./Yekan.eot');
    src: url('./Yekan.eot?#iefix') format('embedded-opentype'),
         url('./Yekan.woff2') format('woff2'),
         url('./Yekan.woff') format('woff'),
         url('./Yekan.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* IranYekan Web Font Variants */
@font-face {
    font-family: 'IranYekan';
    src: url('./iranyekanwebregular.eot');
    src: url('./iranyekanwebregular.eot?#iefix') format('embedded-opentype'),
         url('./iranyekanwebregular.woff') format('woff'),
         url('./iranyekanwebregular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekan';
    src: url('./iranyekanweblight.eot');
    src: url('./iranyekanweblight.eot?#iefix') format('embedded-opentype'),
         url('./iranyekanweblight.woff') format('woff'),
         url('./iranyekanweblight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'IranYekan';
    src: url('./iranyekanwebbold.eot');
    src: url('./iranyekanwebbold.eot?#iefix') format('embedded-opentype'),
         url('./iranyekanwebbold.woff') format('woff'),
         url('./iranyekanwebbold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* YekanBakh Font Variants */
@font-face {
    font-family: 'YekanBakh';
    src: url('./YekanBakhRegular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'YekanBakh';
    src: url('./YekanBakhBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* TraPay Font Stack Definitions */
:root {
    --font-yekan: 'IranYekan', 'Yekan', 'YekanBakh', 'Tahoma', sans-serif;
    --font-yekan-light: 'IranYekan', 'Yekan', 'YekanBakh', 'Tahoma', sans-serif;
    --font-yekan-bold: 'IranYekan', 'Yekan', 'YekanBakh', 'Tahoma', sans-serif;
}

/* Utility Classes */
.font-yekan {
    font-family: var(--font-yekan);
}

.font-yekan-light {
    font-family: var(--font-yekan-light);
    font-weight: 300;
}

.font-yekan-regular {
    font-family: var(--font-yekan);
    font-weight: 400;
}

.font-yekan-bold {
    font-family: var(--font-yekan-bold);
    font-weight: 700;
}

/* Apply Yekan as default Persian font */
body, html {
    font-family: var(--font-yekan);
}

/* Persian/RTL specific font application */
[lang="fa"], [dir="rtl"], .persian-text {
    font-family: var(--font-yekan) !important;
}

/* Headings with Yekan font */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-yekan);
}

/* TraPay specific classes */
.trapay-text {
    font-family: var(--font-yekan);
}

.trapay-heading {
    font-family: var(--font-yekan);
    font-weight: 700;
}

.trapay-content {
    font-family: var(--font-yekan);
    line-height: 1.8;
}

/* Button and UI elements */
.btn, button, .button {
    font-family: var(--font-yekan);
}

/* Form elements */
input, textarea, select {
    font-family: var(--font-yekan);
}

/* Navigation */
nav, .nav, .navbar {
    font-family: var(--font-yekan);
}