/* DIN Font Family */
@font-face {
    font-family: 'DIN';
    src: url('../fonts/din-regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'DIN';
    src: url('../fonts/din-bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* DIN Bold as separate font family for specific use cases */
@font-face {
    font-family: 'DIN Bold';
    src: url('../fonts/din-bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Global font fallbacks and optimizations */
* {
    font-family: 'DIN', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Ensure headings use DIN with proper fallbacks */
h1, h2, h3, h4, h5, h6 {
    font-family: 'DIN', sans-serif;
    font-weight: 400;
}

/* Bold text should use DIN Bold */
strong, b, .font-weight-bold, .fw-bold {
    font-family: 'DIN', sans-serif;
    font-weight: 700;
}
