/* ============================================
   SHARED BASE STYLES
   Portfolio Case Study Template
   ============================================ */

/* ============================================
   CSS Variables - Override these in theme.css
   ============================================ */
:root {
  /* Brand Colors - Vibrant Palette */
  --color-dark: #1a1a2e;
  --color-dark-soft: #16213e;
  --color-dark-medium: #2d2d3a;
  --color-dark-lighter: #3a3a4a;
  --color-dark-deep: #1e1e28;
  --color-dark-deepest: #0a0a0a;
  --color-light: #ffffff;
  --color-light-soft: #f8f9fa;
  --color-light-muted: #fafafa;
  --color-cream: #faf8f5;
  
  /* Accent Colors - Primary (override in theme.css) */
  --color-primary: #ff6b35;
  --color-primary-dark: #e55a2b;
  --color-primary-light: #ff8f65;
  
  /* Secondary Accent */
  --color-secondary: #0066ff;
  --color-secondary-dark: #0052cc;
  --color-secondary-light: #3d8bff;
  --color-secondary-muted: #a8c0ff;
  
  /* Status Colors */
  --color-green: #00c853;
  --color-green-mac: #27ca40;
  --color-purple: #7c3aed;
  --color-teal: #14b8a6;
  --color-orange: #ff6b35;
  --color-orange-dark: #e55a2b;
  --color-orange-light: #ff8f65;
  --color-orange-windows: #f7630c;
  --color-blue: #0066ff;
  --color-blue-dark: #0052cc;
  --color-blue-light: #3d8bff;
  --color-blue-muted: #a8c0ff;
  
  /* macOS Traffic Light Colors */
  --color-mac-red: #ff5f56;
  --color-mac-yellow: #ffbd2e;
  --color-mac-green: #27ca40;
  
  /* Text Colors */
  --text-dark: #1a1a2e;
  --text-dark-soft: #4a5568;
  --text-light: #ffffff;
  --text-light-soft: rgba(255, 255, 255, 0.8);
  
  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background: var(--color-light);
  -webkit-font-smoothing: antialiased;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

/* ============================================
   Selection
   ============================================ */
::selection {
  background: var(--color-primary);
  color: var(--text-light);
}

/* ============================================
   Container
   ============================================ */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  position: relative;
  z-index: 1;
}

/* ============================================
   Responsive Base Overrides
   ============================================ */
@media (max-width: 640px) {
  :root {
    --space-lg: 3rem;
    --space-xl: 4rem;
  }
}
