/* Import: Google Fonts - Poppins & Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* Import: Trueno - Local Font */
@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoUltLt.woff') format('woff');
    font-weight: 100;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoLt.woff') format('woff');
    font-weight: 300;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoRg.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoSBd.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoBd.woff') format('woff');
    font-weight: 700;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoExBd.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoBlk.woff') format('woff');
    font-weight: 900;
    font-style: normal;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

/* Italic variants */
@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoRgIt.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

@font-face {
    font-family: "Trueno";
    src: url('../fonts/trueno/TruenoBdIt.woff') format('woff');
    font-weight: 700;
    font-style: italic;
    text-rendering: optimizeLegibility;
    font-display: swap;
}

/* Fallback font configuration for reliable deployment */
body, html {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

/* Heading font configuration */
h1, h2, h3, h4, h5, h6, 
.h1, .h2, .h3, .h4, .h5, .h6,
.uc-heading-3xlarge, .uc-heading-2xlarge, .uc-heading-xlarge, 
.uc-heading-large, .uc-heading-medium, .uc-heading-small {
    font-family: 'Trueno', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Secondary elements with Montserrat */
.fs-secondary, .text-secondary-font {
    font-family: 'Montserrat', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Ensure fonts preload for performance */
@media (prefers-reduced-motion: no-preference) {
    * {
        font-display: swap;
    }
}