/**
 * CIU Theme - Consolata International University
 * Inspired by Tangaza University and CUEA
 * Maroon primary, gold accent, clean typography
 */

:root {
  /* Primary palette - maroon */
  --ciu-maroon: #a91f2e;
  --ciu-maroon-dark: #8a1926;
  --ciu-maroon-light: #c82424;
  --ciu-accent: #f9bd00;
  --ciu-accent-light: #ffd54f;
  /* Legacy aliases for compatibility */
  --ciu-navy: #a91f2e;
  --ciu-navy-light: #c82424;

  /* Neutrals */
  --ciu-white: #ffffff;
  --ciu-gray-50: #f9fafb;
  --ciu-gray-100: #f3f4f6;
  --ciu-gray-200: #e5e7eb;
  --ciu-gray-300: #d1d5db;
  --ciu-gray-400: #9ca3af;
  --ciu-gray-500: #6b7280;
  --ciu-gray-600: #4b5563;
  --ciu-gray-700: #374151;
  --ciu-gray-800: #1f2937;
  --ciu-gray-900: #111827;

  /* Typography - Tangaza-style */
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Poppins', Georgia, serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --line-height-tight: 1.25;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.75;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;

  /* Borders & shadows */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Breakpoints (for reference in media queries) */
  /* 576px, 768px, 992px, 1200px */
}

/* Base typography */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  color: var(--ciu-gray-800);
  background: var(--ciu-gray-50);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 600;
  line-height: var(--line-height-tight);
  color: var(--ciu-maroon);
}

h1 {
  font-size: var(--font-size-3xl);
}

h2 {
  font-size: var(--font-size-2xl);
}

h3 {
  font-size: var(--font-size-xl);
}

h4 {
  font-size: var(--font-size-lg);
}

h5,
h6 {
  font-size: var(--font-size-base);
}

a {
  color: var(--ciu-maroon);
  text-decoration: none;
}

a:hover {
  color: var(--ciu-maroon-dark);
  text-decoration: underline;
}

/* Container */
.ciu-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

@media (min-width: 576px) {
  .ciu-container {
    padding: 0 var(--space-6);
  }
}

@media (min-width: 768px) {
  .ciu-container {
    padding: 0 var(--space-8);
  }
}