/* ============================================
   THEME.CSS
   Colors, Fonts, CSS Variables, Global Spacing
   ============================================ */

/* ============================================
   CSS VARIABLES
   ============================================ */

:root {
  /* ============================================
     TYPOGRAPHY VARIABLES
     ============================================ */
  
  /* Font Families */
  /* 
   * GOTHAM FONT SETUP:
   * Gotham is a commercial font that requires licensing.
   * 
   * To add Gotham:
   * 1. Purchase/license Gotham from Hoefler & Co. or your font provider
   * 2. Host the font files in /assets/fonts/ directory
   * 3. Add @font-face declarations below
   * 4. Update --font-heading variable to use "Gotham" as primary
   * 
   * Current fallback stack uses Montserrat (similar geometric sans-serif)
   * as the primary fallback until Gotham is available.
   */
  --font-heading: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Roboto", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  
  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  
  /* Font Sizes */
  --font-size-xs: 0.75rem;    /* 12px */
  --font-size-sm: 0.875rem;   /* 14px */
  --font-size-base: 1rem;     /* 16px */
  --font-size-lg: 1.125rem;   /* 18px */
  --font-size-xl: 1.25rem;    /* 20px */
  --font-size-2xl: 1.5rem;    /* 24px */
  --font-size-3xl: 2rem;      /* 32px */
  --font-size-4xl: 2.5rem;    /* 40px */
  --font-size-5xl: 3rem;    /* 56px */
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;
  
  /* ============================================
     COLOR VARIABLES
     ============================================ */
  
  /* Primary Brand Color */
  --color-primary: #172153;
  
  /* White Palette - Clean, Neutral, Modern */
  --color-white: #ffffff;
  --color-white-hard: #f4f7ff;
  --color-white-soft: #fafafa;
  --color-white-muted: #f5f5f5;
  
  /* Text Colors */
  --color-text-primary: #172153;
  --color-text-secondary: #4a5568;
  --color-text-muted: #718096;
  --color-text-light: #ffffff;
  
  /* ============================================
     SPACING TOKENS
     ============================================ */
  
  --spacing-xs: 0.5rem;    /* 8px */
  --spacing-sm: 1rem;      /* 16px */
  --spacing-md: 1.5rem;    /* 24px */
  --spacing-lg: 2rem;      /* 32px */
  --spacing-xl: 3rem;      /* 48px */
  --spacing-2xl: 4rem;     /* 64px */
  --spacing-3xl: 5rem;     /* 96px */
  
  /* ============================================
     LAYOUT VARIABLES
     ============================================ */
  
  /* Container */
  --container-max-width: 1200px;
  --container-padding: 1.5rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 50px;
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ============================================
   TYPOGRAPHY - FONT LOADING
   ============================================ */

/* 
 * GOTHAM FONT SETUP
 * 
 * Gotham is a commercial font. To add it:
 * 
 * 1. Purchase/license Gotham from Hoefler & Co. or your font provider
 * 2. Place font files (.woff2, .woff) in /assets/fonts/ directory
 * 3. Uncomment and update the @font-face declarations below:
 * 
 * @font-face {
 *   font-family: 'Gotham';
 *   src: url('../assets/fonts/Gotham-Book.woff2') format('woff2'),
 *        url('../assets/fonts/Gotham-Book.woff') format('woff');
 *   font-weight: 400;
 *   font-style: normal;
 *   font-display: swap;
 * }
 * 
 * @font-face {
 *   font-family: 'Gotham';
 *   src: url('../assets/fonts/Gotham-Bold.woff2') format('woff2'),
 *        url('../assets/fonts/Gotham-Bold.woff') format('woff');
 *   font-weight: 700;
 *   font-style: normal;
 *   font-display: swap;
 * }
 * 
 * 4. The --font-heading variable will automatically use Gotham once loaded
 * 
 * CURRENT FALLBACK:
 * Until Gotham is loaded, Montserrat (loaded from Google Fonts) serves as
 * the primary fallback, providing a similar geometric sans-serif aesthetic.
 */

/* Load Montserrat as Gotham fallback (similar geometric sans-serif) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

/* 
 * Roboto is loaded via <link> in HTML head for better performance.
 * No @import needed here - it's already available globally.
 */

/* ============================================
   TYPOGRAPHY - BASE STYLES
   ============================================ */

/* Base Body Typography - Roboto enforced */
body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--color-text-primary);
  background-color: var(--color-white);
}

/* Headings - Gotham stack (with fallbacks) */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  margin: 0;
  color: var(--color-text-primary);
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-bold);
}

h2 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
}

h5 {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-semibold);
}

h6 {
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
}

/* Body Text - Roboto enforced */
p {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-regular);
  line-height: var(--line-height-normal);
  color: var(--color-text-secondary);
  margin: 0;
}

/* Links - Roboto enforced */
a {
  font-family: var(--font-body);
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #fffcf4;
}

/* Buttons - Roboto enforced */
button,
.btn,
input[type="button"],
input[type="submit"] {
  font-family: var(--font-body);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-base);
}

/* Navigation Links - Roboto enforced */
nav a {
  font-family: var(--font-body);
  font-weight: var(--font-weight-regular);
  font-size: var(--font-size-base);
}

/* Input Fields - Roboto enforced */
input,
textarea,
select {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}




