/* 
 * Local Font Definitions for GDPR Compliance
 * Combined fonts and typography for Vtn/Hyva theme
 */

/* ===== FONT FACE DEFINITIONS ===== */

/* Bebas Neue Regular */
@font-face {
    font-family: "Bebas Neue";
    src: url("../fonts/bebas-neue/bebas-neue-regular.woff2") format("woff2");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

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

/* Roboto Medium (500) */
@font-face {
    font-family: "Roboto";
    src: url("../fonts/roboto/roboto-500.woff2") format("woff2");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

/* ===== TYPOGRAPHY DEFINITIONS ===== */

/* CSS Variables for font families */
:root {
    --base-font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    --heading-font-family: "Bebas Neue", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

/* Typography Styles */
h1, h2, h3, h4, h5, h6, .page-title, .hero-split__headline {
    font-family: var(--heading-font-family);
    letter-spacing: 0.02em;
}

body, p, .hero-split__copy, .hero-split__cta {
    font-family: var(--base-font-family);
    font-weight: 400;
}

.hero-split__cta {
    font-weight: 500;
}

/* Additional typography enhancements */
.text-heading {
    font-family: var(--heading-font-family);
    letter-spacing: 0.02em;
}

.text-body {
    font-family: var(--base-font-family);
    font-weight: 400;
}

.text-medium {
    font-weight: 500;
}

/* Brand-specific typography */
.brand-headline {
    font-family: var(--heading-font-family);
    font-weight: 400;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.brand-copy {
    font-family: var(--base-font-family);
    font-weight: 400;
    line-height: 1.6;
}

/* Button typography */
button, .btn, .button {
    font-family: var(--base-font-family);
    font-weight: 500;
}

/* Navigation typography */
nav, .nav, .navigation {
    font-family: var(--base-font-family);
    font-weight: 400;
}

nav a, .nav a, .navigation a {
    font-weight: 500;
}

/* Footer typography */
footer {
    font-family: var(--base-font-family);
}

footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {
    font-family: var(--heading-font-family);
    letter-spacing: 0.02em;
}

/* Ensure fallback for older browsers */
@supports not (--css: variables) {
    h1, h2, h3, h4, h5, h6, .page-title, .hero-split__headline {
        font-family: "Bebas Neue", "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    }
    
    body, p, .hero-split__copy, .hero-split__cta {
        font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
    }
}
