/* ===================================
   Aaron Tech Consultants - Base Styles
   Variables, Reset, Typography
   =================================== */

/* CSS Variables & Theming */
:root {
    /* Primary palette */
    --primary-blue: #1a5f7a;
    --primary-dark: #0d3d4d;
    --accent-blue: #2d8bba;
    --accent-light: #57b8d7;
    --success-green: #059669;
    --cta-amber: #F59E0B;
    --cta-amber-hover: #D97706;

    /* Light mode defaults (unused but defined for completeness) */
    --bg-body: #ffffff;
    --bg-section: #f8fafc;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.85);
    --text-main: #1a1a2e;
    --text-muted: #4a4a5a;
    --text-light: #6b7280;
    --border-color: #e2e8f0;
    --input-bg: #ffffff;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 20px rgba(45, 139, 186, 0.3);
    --shadow-amber-glow: 0 0 20px rgba(245, 158, 11, 0.3);

    /* Radii */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
}

/* Dark Mode (permanent) */
body.dark-mode {
    --primary-blue: #2d8bba;
    --primary-dark: #1a5f7a;
    --bg-body: #0f172a;
    --bg-section: #1e293b;
    --bg-card: #1e293b;
    --bg-glass: rgba(15, 23, 42, 0.9);
    --text-main: #f1f5f9;
    --text-muted: #cbd5e1;
    --text-light: #94a3b8;
    --border-color: #334155;
    --input-bg: #0f172a;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.4);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 100%; /* 16px base, allows user zoom */
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 1.125rem; /* 18px */
    line-height: 1.65;
    color: var(--text-main);
    background-color: var(--bg-body);
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Segoe UI', Roboto, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-main);
}

h1 { font-size: 2.625rem; } /* ~42px */
h2 { font-size: 2rem; }     /* 32px */
h3 { font-size: 1.5rem; }   /* 24px */
h4 { font-size: 1.25rem; }  /* 20px */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover { color: var(--accent-light); }

img { max-width: 100%; height: auto; }

/* Focus indicators for accessibility */
:focus-visible {
    outline: 2px solid var(--accent-blue);
    outline-offset: 2px;
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}

/* Section base */
section { padding: 100px 0; }

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 16px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 60px;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}
