/* ========================================
   FONT MANAGEMENT SYSTEM
   ======================================== */

/* Font Variables */
:root {
  /* Main Font Family */
  --font-primary: "Annie Use Your Telescope";
  
  /* Font Sizes */
  --font-size-xs: 16px;
  --font-size-sm: 18px;
  --font-size-base: 20px;
  --font-size-md: 20px;
  --font-size-lg: 22px;
  --font-size-xl: 24px;
  --font-size-2xl: 28px;
  --font-size-3xl: 36px;
  --font-size-4xl: 44px;
  
  /* Font Weights */
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 550;
  --font-weight-bold: 600;
  
  /* Line Heights */
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.6;
  
  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
}

/* ========================================
   UNIVERSAL FONT RULES
   ======================================== */

/* Apply font to ALL elements */
*, *::before, *::after {
  font-family: var(--font-primary) !important;
  font-weight: var(--font-weight-bold) !important;
}

/* Specific element targeting */
html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, button, input, textarea, select, label, li, ul, ol, nav, header, footer, section, article, aside, main {
  font-family: var(--font-primary) !important;
  font-weight: var(--font-weight-bold) !important;
}

/* ========================================
   TYPOGRAPHY ELEMENTS
   ======================================== */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary) !important;
  font-weight: var(--font-weight-bold) !important;
  line-height: var(--line-height-tight);
  letter-spacing: var(--letter-spacing-tight);
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-md); }

/* Paragraphs */
p {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold) !important;
  line-height: var(--line-height-normal);
}

/* ========================================
   NAVIGATION
   ======================================== */

.nav-link {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold) !important;
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold) !important;
}

/* Filter Buttons */
.filter-btn {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold) !important;
}

/* Commission Button */
.commission-btn {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold) !important;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold) !important;
}

/* Button Variants */
.btn--primary,
.btn--secondary,
.btn--outline,
.btn--sm,
.btn--lg,
.btn--full-width {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold) !important;
}

/* ========================================
   FORMS
   ======================================== */

textarea.form-control {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold) !important;
}

input.form-control {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold) !important;
}

select.form-control {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-bold) !important;
}

/* ========================================
   SPECIFIC COMPONENTS
   ======================================== */

/* Logo */
.logo h2 {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
}

/* Hero Section */
.hero-title {
  font-family: var(--font-primary) !important;
  font-size: 4rem;
  font-weight: var(--font-weight-bold);
}

.hero-subtitle {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold) !important;
}

.hero-description {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold) !important;
  line-height: var(--line-height-relaxed);
}

/* Section Titles */
.section-title {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold) !important;
}

/* About Section */
.about-intro h3 {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold) !important;
}

/* Footer */
.footer-logo h3 {
  font-family: var(--font-primary) !important;
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
}

/* ========================================
   RESPONSIVE FONT SIZES
   ======================================== */

/* Tablet */
@media (max-width: 768px) {
  .hero-title {
    font-family: var(--font-primary) !important;
    font-size: 3rem;
  }
  
  .section-title {
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-2xl);
  }
}

/* Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-family: var(--font-primary) !important;
    font-size: 2.5rem;
  }
  
  .section-title {
    font-family: var(--font-primary) !important;
    font-size: var(--font-size-2xl);
  }
}

/* ========================================
   FONT UTILITIES
   ======================================== */

/* Quick font size classes */
.text-xs { font-size: var(--font-size-xs) !important; }
.text-sm { font-size: var(--font-size-sm) !important; }
.text-base { font-size: var(--font-size-base) !important; }
.text-lg { font-size: var(--font-size-lg) !important; }
.text-xl { font-size: var(--font-size-xl) !important; }
.text-2xl { font-size: var(--font-size-2xl) !important; }
.text-3xl { font-size: var(--font-size-3xl) !important; }
.text-4xl { font-size: var(--font-size-4xl) !important; }

/* Quick font weight classes */
.font-normal { font-weight: var(--font-weight-normal) !important; }
.font-medium { font-weight: var(--font-weight-medium) !important; }
.font-semibold { font-weight: var(--font-weight-semibold) !important; }
.font-bold { font-weight: var(--font-weight-bold) !important; }

/* ========================================
   FONT OVERRIDE UTILITIES
   ======================================== */

/* Use these classes to override font if needed */
.font-override {
  font-family: var(--font-primary) !important;
}

/* Emergency font fix - use this if fonts don't apply */
.font-emergency * {
  font-family: var(--font-primary) !important;
}
