/* Quantum New Westminster - Base Styles
 * Font: Raleway
 * Color scheme derived from building branding
 */

/* Import Raleway from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;700&display=swap');

:root {
  /* Primary colors - professional blue palette */
  --quantum-primary: #1e3a5f;       /* Deep navy blue */
  --quantum-secondary: #2d5a87;     /* Medium blue */
  --quantum-accent: #4a90c2;        /* Bright accent blue */

  /* Supporting colors */
  --quantum-success: #059669;       /* Green for positive actions */
  --quantum-warning: #d97706;       /* Amber for warnings */

  /* Neutrals */
  --quantum-dark: #1f2937;          /* Near black for text */
  --quantum-text: #374151;          /* Body text gray */
  --quantum-muted: #6b7280;         /* Muted text */
  --quantum-light: #f9fafb;         /* Light background */
  --quantum-white: #ffffff;

  /* Borders and shadows */
  --quantum-border: #e5e7eb;
  --quantum-shadow: rgba(0, 0, 0, 0.1);
  --quantum-shadow-lg: rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-family: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Spacing scale */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Border radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-normal: 200ms ease;
  --transition-slow: 300ms ease;
}

/* Base reset */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-family);
  font-weight: var(--font-weight-normal);
  color: var(--quantum-text);
  background-color: var(--quantum-white);
  line-height: 1.6;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family);
  font-weight: var(--font-weight-semibold);
  color: var(--quantum-dark);
  line-height: 1.3;
  margin-top: 0;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  margin-top: 0;
  margin-bottom: var(--space-4);
}

a {
  color: var(--quantum-accent);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--quantum-secondary);
}

/* Utility classes */
.text-center { text-align: center; }
.text-muted { color: var(--quantum-muted); }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-4);
}

/* Button base */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-family);
  font-weight: var(--font-weight-medium);
  font-size: 1rem;
  line-height: 1.5;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.btn-primary {
  background-color: var(--quantum-primary);
  color: var(--quantum-white);
}

.btn-primary:hover {
  background-color: var(--quantum-secondary);
  color: var(--quantum-white);
}

.btn-secondary {
  background-color: var(--quantum-white);
  color: var(--quantum-primary);
  border: 2px solid var(--quantum-primary);
}

.btn-secondary:hover {
  background-color: var(--quantum-primary);
  color: var(--quantum-white);
}

/* Responsive typography */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.25rem; }
}

@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.5rem; }
}
