/* Global font and site-wide font-family with Turkish character support */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&subset=latin,latin-ext,turkish&display=swap');

/* Backup Google Fonts CDN */
@import url('https://fonts.gstatic.com/css2?family=Oswald:wght@300;400;500;600;700&subset=latin,latin-ext&display=swap');

/* Alternative font declaration for better Turkish support */
@font-face {
  font-family: 'Oswald-Turkish';
  src: url('https://fonts.gstatic.com/s/oswald/v49/TK3_WkUHHAIjg75cFRf3bXL8LICs1_FvsUtiZTaR.woff2') format('woff2');
  unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --site-font: 'Manrope', 'Oswald-Turkish', system-ui, -apple-system, 'Segoe UI', 'Arial Black', 'Impact', 'Trebuchet MS', sans-serif;
}

html, body {
  font-family: var(--site-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  text-rendering: optimizeLegibility;
}

/* Ensure form elements inherit the same font */
input, button, textarea, select {
  font-family: inherit;
}

/* Force Turkish characters to use correct font */
.turkish-text, 
*:lang(tr) {
  font-family: var(--site-font) !important;
}

/* Specific Turkish character styling */
*::before, *::after {
  font-family: inherit;
}
