/* Noto Sans Variants - Optimized */
@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-Regular.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-Italic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-Light.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-LightItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-Bold.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-BoldItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Heavy weights - Load on demand */
@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-ExtraBold.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-ExtraBoldItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-ExtraBoldItalic.woff') format('woff');
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans';
  src: url('../fonts/NotoSans/NotoSans-BlackItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans-BlackItalic.woff') format('woff');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* Condensed variants - Only if actually used */
@font-face {
  font-family: 'Noto Sans ExtraCondensed';
  src: url('../fonts/NotoSans/NotoSans_ExtraCondensed-BoldItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans_ExtraCondensed-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SemiCondensed';
  src: url('../fonts/NotoSans/NotoSans_SemiCondensed-BoldItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans_SemiCondensed-BoldItalic.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SemiCondensed';
  src: url('../fonts/NotoSans/NotoSans_SemiCondensed-LightItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSans_SemiCondensed-LightItalic.woff') format('woff');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Alternate names (fallbacks) */
@font-face {
  font-family: 'Noto Sans ExtraCondensed';
  src: url('../fonts/NotoSans/NotoSansExtraCondensed-BoldItalic.eot');
  src: url('../fonts/NotoSans/NotoSansExtraCondensed-BoldItalic.eot?#iefix') format('embedded-opentype'),
       url('../fonts/NotoSans/NotoSansExtraCondensed-BoldItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSansExtraCondensed-BoldItalic.woff') format('woff'),
       url('../fonts/NotoSans/NotoSansExtraCondensed-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SemiCondensed';
  src: url('../fonts/NotoSans/NotoSansSemiCondensed-BoldItalic.eot');
  src: url('../fonts/NotoSans/NotoSansSemiCondensed-BoldItalic.eot?#iefix') format('embedded-opentype'),
       url('../fonts/NotoSans/NotoSansSemiCondensed-BoldItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSansSemiCondensed-BoldItalic.woff') format('woff'),
       url('../fonts/NotoSans/NotoSansSemiCondensed-BoldItalic.ttf') format('truetype');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Noto Sans SemiCondensed';
  src: url('../fonts/NotoSans/NotoSansSemiCondensed-LightItalic.eot');
  src: url('../fonts/NotoSans/NotoSansSemiCondensed-LightItalic.eot?#iefix') format('embedded-opentype'),
       url('../fonts/NotoSans/NotoSansSemiCondensed-LightItalic.woff2') format('woff2'),
       url('../fonts/NotoSans/NotoSansSemiCondensed-LightItalic.woff') format('woff'),
       url('../fonts/NotoSans/NotoSansSemiCondensed-LightItalic.ttf') format('truetype');
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

/* Material Icons - Critical for UI */
@font-face {
  font-family: 'Material Icons';
  src: url('../fonts/MaterialIcons/MaterialIcons-Regular.woff2') format('woff2'),
       url('../fonts/MaterialIcons/MaterialIcons-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: block; /* Block for icons - prevents invisible fallback */
}

/* Secondary fonts - Optimized */
@font-face {
  font-family: 'Open Sans';
  src: url('../fonts/OpenSans/OpenSans-Regular.woff2') format('woff2'),
       url('../fonts/OpenSans/OpenSans-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Roboto';
  src: url('../fonts/Roboto/Roboto-Regular.woff2') format('woff2'),
       url('../fonts/Roboto/Roboto-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Visby CF - Brand font */
@font-face {
  font-family: 'Visby CF';
  src: url('../fonts/VisbyCF/VisbyCF-Light.woff2') format('woff2'),
       url('../fonts/VisbyCF/VisbyCF-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Visby CF';
  src: url('../fonts/VisbyCF/VisbyCF-Medium.woff2') format('woff2'),
       url('../fonts/VisbyCF/VisbyCF-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Visby CF';
  src: url('../fonts/VisbyCF/VisbyCF-DemiBold.woff2') format('woff2'),
       url('../fonts/VisbyCF/VisbyCF-DemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Visby CF';
  src: url('../fonts/VisbyCF/VisbyCF-ExtraBold.woff2') format('woff2'),
       url('../fonts/VisbyCF/VisbyCF-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
