/* ====================================
   B.C. Strata Tech Developer Program
   Clean CSS - Essentials Only
   ==================================== */

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

:root {
    /* Color Palette */
    --primary: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1e40af;
    
    --secondary: #059669;
    --secondary-light: #10b981;
    --secondary-dark: #047857;
    
    --accent: #dc2626;
    --accent-light: #ef4444;
    --accent-dark: #b91c1c;
    
    --tertiary: #7c3aed;
    --tertiary-light: #8b5cf6;
    --tertiary-dark: #6d28d9;
    
    --warning: #f59e0b;
    --warning-light: #fbbf24;
    --warning-dark: #d97706;
    
    /* Neutrals */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;
    
    /* Typography */
    --font-primary: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    --font-secondary: 'Open Sans', 'Lato', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-display: 'Playfair Display', 'Georgia', serif;
    
    /* Text Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 4rem;
    
    /* 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: 4rem;
    --space-16: 6rem;
    --space-20: 8rem;
    --space-24: 10rem;
    --space-32: 12rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 50px;
    
    /* Shadows */
    --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.04);
    --shadow-soft: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.12);
    
    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-medium: all 0.3s ease;
    --transition-slow: all 0.5s ease;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-secondary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-4);
}

h1 { font-size: var(--text-6xl); font-weight: 800; color: var(--primary); }
h2 { font-size: var(--text-5xl); font-weight: 700; color: var(--primary); }
h3 { font-size: var(--text-4xl); font-weight: 700; color: var(--secondary); }
h4 { font-size: var(--text-3xl); font-weight: 600; color: var(--gray-900); }
h5 { font-size: var(--text-2xl); font-weight: 600; }
h6 { font-size: var(--text-xl); font-weight: 600; }

p {
    margin-bottom: var(--space-5);
    line-height: 1.8;
    font-weight: 400;
    color: var(--gray-700);
}

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

.section {
    padding: var(--space-24) 0;
}

.section-colorful {
    padding: var(--space-24) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--gray-100);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    padding: var(--space-4) 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand .brand-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.brand-text {
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--primary);
    font-family: var(--font-primary);
}

.brand-subtitle {
    font-size: var(--text-sm);
    color: var(--gray-600);
    font-weight: 500;
}

.nav-menu {
    display: none;
    gap: var(--space-8);
    align-items: center;
}

@media (min-width: 768px) {
    .nav-menu {
        display: flex;
    }
}

.nav-link {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    font-size: var(--text-sm);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.nav-link:hover {
    color: var(--primary);
    background: var(--gray-50);
}

.nav-link.active {
    color: var(--primary);
    background: linear-gradient(135deg, rgba(66, 165, 245, 0.1), rgba(66, 165, 245, 0.05));
}

/* Mobile toggle */
.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    padding: var(--space-2);
    border-radius: var(--radius);
    transition: var(--transition-fast);
}

.nav-toggle:hover {
    background: var(--gray-50);
}

.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--gray-700);
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

@media (min-width: 768px) {
    .nav-toggle {
        display: none;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    font-size: var(--text-sm);
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-fast);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: var(--secondary-dark);
}

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

.btn-accent:hover {
    background: var(--accent-dark);
}

/* Cards */
.card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    box-shadow: var(--shadow-soft);
    transition: var(--transition-medium);
}

.card:hover {
    box-shadow: var(--shadow-large);
    transform: translateY(-4px);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-24) 0 var(--space-8);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-16);
    margin-bottom: var(--space-16);
}

.footer-brand h3 {
    color: white;
    margin-bottom: var(--space-4);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-8);
}

.footer-column h4 {
    color: white;
    font-size: var(--text-lg);
    margin-bottom: var(--space-6);
}

.footer-column a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: var(--space-3);
    transition: var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: var(--space-8);
    text-align: center;
    font-size: var(--text-sm);
    color: var(--gray-500);
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none; }
.block { display: block; }
.flex { display: flex; }
.grid { display: grid; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.mx-auto { margin-left: auto; margin-right: auto; }
.my-auto { margin-top: auto; margin-bottom: auto; }

/* Print Styles */
@media print {
    .header, .footer, .nav-toggle { display: none; }
    body { color: black; background: white; }
    .btn { border: 1px solid black; }
    .section-colorful {
        background: white !important;
        color: black !important;
    }
}