/**
 * IRANYekan Font Family
 * فونت ایران یکان - استفاده در کل سایت
 */

/* IRANYekan Thin */
@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/woff2/IRANYekanWebThin.woff2') format('woff2'),
         url('../fonts/woff/IRANYekanWebThin.woff') format('woff'),
         url('../fonts/ttf/IRANYekanWebThin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

/* IRANYekan Light */
@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/woff2/IRANYekanWebLight.woff2') format('woff2'),
         url('../fonts/woff/IRANYekanWebLight.woff') format('woff'),
         url('../fonts/ttf/IRANYekanWebLight.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* IRANYekan Regular */
@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/woff2/IRANYekanWebRegular.woff2') format('woff2'),
         url('../fonts/woff/IRANYekanWebRegular.woff') format('woff'),
         url('../fonts/ttf/IRANYekanWebRegular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* IRANYekan Medium */
@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/woff2/IRANYekanWebMedium.woff2') format('woff2'),
         url('../fonts/woff/IRANYekanWebMedium.woff') format('woff'),
         url('../fonts/ttf/IRANYekanWebMedium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

/* IRANYekan Bold */
@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/woff2/IRANYekanWebBold.woff2') format('woff2'),
         url('../fonts/woff/IRANYekanWebBold.woff') format('woff'),
         url('../fonts/ttf/IRANYekanWebBold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* IRANYekan Extra Bold */
@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/woff2/IRANYekanWebExtraBold.woff2') format('woff2'),
         url('../fonts/woff/IRANYekanWebExtraBold.woff') format('woff'),
         url('../fonts/ttf/IRANYekanWebExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

/* IRANYekan Black */
@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/woff2/IRANYekanWebBlack.woff2') format('woff2'),
         url('../fonts/woff/IRANYekanWebBlack.woff') format('woff'),
         url('../fonts/ttf/IRANYekanWebBlack.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* IRANYekan Extra Black */
@font-face {
    font-family: 'IRANYekan';
    src: url('../fonts/woff2/IRANYekanWebExtraBlack.woff2') format('woff2'),
         url('../fonts/woff/IRANYekanWebExtraBlack.woff') format('woff'),
         url('../fonts/ttf/IRANYekanWebExtraBlack.ttf') format('truetype');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

/* Global Font Application */
body,
html,
* {
    font-family: 'IRANYekan', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif !important;
}

/* Ensure proper rendering */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
