@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/Webfonts/woff2/YekanBakhFaNum-Regular.woff2') format('woff2'),
       url('../fonts/Webfonts/woff/YekanBakhFaNum-Regular.woff') format('woff'),
       url('../fonts/otf/YekanBakhFaNum-Regular.otf') format('opentype'),
       url('../fonts/YekanBakhFaNum-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/Webfonts/woff2/YekanBakhFaNum-Bold.woff2') format('woff2'),
       url('../fonts/Webfonts/woff/YekanBakhFaNum-Bold.woff') format('woff'),
       url('../fonts/otf/YekanBakhFaNum-Bold.otf') format('opentype'),
       url('../fonts/YekanBakhFaNum-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/Webfonts/woff2/YekanBakhFaNum-SemiBold.woff2') format('woff2'),
       url('../fonts/Webfonts/woff/YekanBakhFaNum-SemiBold.woff') format('woff'),
       url('../fonts/otf/YekanBakhFaNum-SemiBold.otf') format('opentype'),
       url('../fonts/YekanBakhFaNum-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/Webfonts/woff2/YekanBakhFaNum-Light.woff2') format('woff2'),
       url('../fonts/Webfonts/woff/YekanBakhFaNum-Light.woff') format('woff'),
       url('../fonts/otf/YekanBakhFaNum-Light.otf') format('opentype'),
       url('../fonts/YekanBakhFaNum-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/Webfonts/woff2/YekanBakhFaNum-ExtraBold.woff2') format('woff2'),
       url('../fonts/Webfonts/woff/YekanBakhFaNum-ExtraBold.woff') format('woff'),
       url('../fonts/otf/YekanBakhFaNum-ExtraBold.otf') format('opentype'),
       url('../fonts/YekanBakhFaNum-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Yekan Bakh';
  src: url('../fonts/Webfonts/woff2/YekanBakhFaNum-Black.woff2') format('woff2'),
       url('../fonts/Webfonts/woff/YekanBakhFaNum-Black.woff') format('woff'),
       url('../fonts/otf/YekanBakhFaNum-Black.otf') format('opentype'),
       url('../fonts/YekanBakhFaNum-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Global font styles */
* {
  font-family: 'Yekan Bakh', 'Vazir', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif;
}

body {
  font-family: 'Yekan Bakh', 'Vazir', Tahoma, sans-serif;
  direction: rtl;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Force light mode on all devices */
html {
  color-scheme: light only;
}

body {
  background-color: white;
  color: black;
}

/* Override any dark mode preferences */
@media (prefers-color-scheme: dark) {
  html {
    color-scheme: light only;
  }
  
  body {
    background-color: white !important;
    color: black !important;
  }
}
