/* ========================================
   Global Fonts - Always Pharma
   ======================================== */

/* Gilroy Font Family */
@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-UltraLight.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Thin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Heavy.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('/fonts/Gilroy/Gilroy-Black.ttf') format('truetype');
    font-weight: 950;
    font-style: normal;
    font-display: swap;
}

/* Helvetica Font Family */
@font-face {
    font-family: 'Helvetica';
    src: url('/fonts/Helvetica/Helvetica.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('/fonts/Helvetica/Helvetica-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica';
    src: url('/fonts/Helvetica/Helvetica-Black Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Helvetica Compressed';
    src: url('/fonts/Helvetica/helvetica-compressed-5871d14b6903a.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   Global Font Styles
   ======================================== */

/* Root font variables */
:root {
    --font-primary: 'Helvetica', 'Arial', sans-serif;
    --font-secondary: 'Gilroy', 'Helvetica', 'Arial', sans-serif;
    --font-compressed: 'Helvetica Compressed', 'Helvetica', 'Arial', sans-serif;
}

/* Global font application */
body, html {
    font-family: var(--font-primary);
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography scale */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-weight: 700;
}

h2 {
    font-weight: 600;
}

h3 {
    font-weight: 600;
}

h4 {
    font-weight: 500;
}

h5 {
    font-weight: 500;
}

h6 {
    font-weight: 400;
}

/* Button font styling */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
}

/* Input and form elements */
input, textarea, select {
    font-family: var(--font-primary);
}

/* Utility classes for different font families */
.font-primary {
    font-family: var(--font-primary);
}

.font-secondary {
    font-family: var(--font-secondary);
}

.font-compressed {
    font-family: var(--font-compressed);
}

/* Font weight utilities */
.font-thin { font-weight: 200; }
.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }
.font-heavy { font-weight: 900; }
.font-black { font-weight: 950; } 