/*
 * devSteve.com - Main Stylesheet
 * Terminal-inspired dark theme for Steve Noll's portfolio
 */

h1 {
  margin-block: 0.67em;
  font-size: 2em;
}

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

/* CSS Custom Properties - Design System */
:root {
    /* Color Palette - Dark Theme */
    --color-deep-space: #0f0f0f;
    --color-charcoal: #1a1a1a;
    --color-slate: #2a2a2a;
    --color-steel: #333333;

    /* Accent Colors */
    --color-electric-blue: #007acc;
    --color-mint-green: #00d4aa;
    --color-amber: #ffa500;

    /* Text Colors */
    --color-text-primary: #ffffff;
    --color-text-secondary: #cccccc;
    --color-text-muted: #999999;
    --color-text-inverse: #000000;

    /* Background Colors */
    --bg-primary: var(--color-deep-space);
    --bg-secondary: var(--color-charcoal);
    --bg-surface: var(--color-slate);
    --bg-elevated: var(--color-steel);

    /* Interactive Colors */
    --color-primary: var(--color-electric-blue);
    --color-primary-hover: #0066b3;
    --color-primary-active: #005299;

    --color-secondary: var(--color-mint-green);
    --color-secondary-hover: #00b894;
    --color-secondary-active: #009c7f;

    --color-accent: var(--color-amber);
    --color-accent-hover: #e6940a;
    --color-accent-active: #cc8400;

    /* Border and Divider Colors */
    --border-color: var(--color-steel);
    --border-color-light: rgba(255, 255, 255, 0.1);
    --border-color-focus: var(--color-primary);

    /* Shadow and Glow Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
    --glow-primary: 0 0 20px rgba(0, 122, 204, 0.3);
    --glow-secondary: 0 0 20px rgba(0, 212, 170, 0.3);

    /* Typography Scale */
    --font-family-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;

    --font-size-xs: 0.75rem;    /* 12px */
    --font-size-sm: 0.875rem;   /* 14px */
    --font-size-base: 1rem;     /* 16px */
    --font-size-lg: 1.125rem;   /* 18px */
    --font-size-xl: 1.25rem;    /* 20px */
    --font-size-2xl: 1.5rem;    /* 24px */
    --font-size-3xl: 1.875rem;  /* 30px */
    --font-size-4xl: 2.25rem;   /* 36px */
    --font-size-5xl: 3rem;      /* 48px */
    --font-size-6xl: 3.75rem;   /* 60px */

    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;

    --line-height-tight: 1.2;
    --line-height-normal: 1.5;
    --line-height-relaxed: 1.75;

    /* Spacing Scale */
    --space-xs: 0.25rem;   /* 4px */
    --space-sm: 0.5rem;    /* 8px */
    --space-md: 1rem;      /* 16px */
    --space-lg: 1.5rem;    /* 24px */
    --space-xl: 2rem;      /* 32px */
    --space-2xl: 3rem;     /* 48px */
    --space-3xl: 4rem;     /* 64px */
    --space-4xl: 6rem;     /* 96px */
    --space-5xl: 8rem;     /* 128px */

    /* Layout Breakpoints */
    --breakpoint-sm: 320px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 1024px;
    --breakpoint-xl: 1440px;

    /* Container Sizes */
    --container-sm: 640px;
    --container-md: 768px;
    --container-lg: 1024px;
    --container-xl: 1280px;
    --container-2xl: 1536px;

    /* Animation and Transition */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 300ms ease-in-out;
    --transition-slow: 500ms ease-in-out;

    --animation-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --animation-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);

    /* Border Radius */
    --radius-sm: 0.25rem;   /* 4px */
    --radius-md: 0.375rem;  /* 6px */
    --radius-lg: 0.5rem;    /* 8px */
    --radius-xl: 0.75rem;   /* 12px */
    --radius-2xl: 1rem;     /* 16px */
    --radius-full: 9999px;

    /* Z-index Scale */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
    --z-toast: 1080;
}

/* Base HTML Elements */
html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-normal);
    line-height: var(--line-height-normal);
    color: var(--color-text-primary);
    background-color: var(--bg-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    line-height: var(--line-height-tight);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
}

/* Links */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover, a:focus {
    color: var(--color-primary-hover);
    text-decoration: underline;
}

a:focus {
    outline: 2px solid var(--border-color-focus);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}

/* Lists */
ul, ol {
    margin-bottom: var(--space-md);
    padding-left: var(--space-xl);
}

li {
    margin-bottom: var(--space-xs);
    color: var(--color-text-secondary);
}

/* Code and Preformatted Text */
code, pre {
    font-family: var(--font-family-mono);
    background-color: var(--bg-surface);
    border-radius: var(--radius-sm);
}

code {
    padding: var(--space-xs) var(--space-sm);
    font-size: var(--font-size-sm);
    color: var(--color-secondary);
}

pre {
    padding: var(--space-md);
    overflow-x: auto;
    margin-bottom: var(--space-md);
    border: 1px solid var(--border-color);
}

pre code {
    padding: 0;
    background-color: transparent;
    border-radius: 0;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Form Elements Base Styles */
input, textarea, select, button {
    font-family: inherit;
    font-size: var(--font-size-base);
}

/* Container and Layout */
.container {
    max-width: var(--container-xl);
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.d-none {
    display: none !important;
}

.alert.alert-error {
    color: var(--color-amber);
}

.alert.alert-info {
    color: var(--color-electric-blue);
}

.alert.alert-success {
    color: var(--color-mint-green);
}

.alert.alert-warning {
    color: var(--color-amber);
}

.section {
    padding: var(--space-4xl) 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-lg);
    background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: var(--font-weight-bold);
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--color-text-secondary);
    line-height: var(--line-height-relaxed);
    margin-bottom: 0;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--bg-secondary);
    color: var(--color-text-primary);
    padding: 8px;
    text-decoration: none;
    border-radius: var(--radius-sm);
    z-index: var(--z-tooltip);
    transition: top var(--transition-fast);
}

.skip-link:focus {
    top: 6px;
}

/* Loading States */
.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-radius: 50%;
    border-top-color: var(--color-primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.hidden { display: none !important; }
.visible { visibility: visible; }
.invisible { visibility: hidden; }

/* Focus Management */
*:focus {
    outline: 2px solid var(--border-color-focus);
    outline-offset: 2px;
}

button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
    outline-color: var(--color-primary);
}

/* Smooth Scrolling Enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

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

    .loading-spinner {
        animation: none;
        border-top-color: var(--color-primary);
    }
}

/*
 * devSteve.com - Component Styles
 * Reusable UI components with terminal-inspired design
 */

/* =================================================================
   HEADER & NAVIGATION COMPONENTS
================================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: var(--z-fixed);
    transition: all var(--transition-normal);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

/* Logo Component */
.logo-text {
    font-size: var(--font-size-xl);
    font-weight: var(--font-weight-bold);
    color: var(--color-text-primary);
    font-family: var(--font-family-mono);
}

.logo-text strong {
    color: var(--color-primary);
}

.logo a:hover .logo-text {
    text-shadow: 0 0 10px var(--color-primary);
}

/* Navigation Component */
.nav {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-lg);
}

.nav-link {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: var(--color-primary);
    text-decoration: none;
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--color-primary);
    background: rgba(0, 122, 204, 0.1);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 2px;
    background: var(--color-primary);
    border-radius: var(--radius-full);
}

.nav-link-ext {
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    position: relative;
}

.nav-link-ext:hover {
    color: var(--color-primary);
    text-decoration: none;
    transform: translateY(-1px);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: var(--z-modal);
}

.hamburger {
    width: 24px;
    height: 3px;
    background: var(--color-text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-normal);
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* =================================================================
   BUTTON COMPONENTS
================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    min-width: 120px;
    background: transparent;
    font-family: inherit;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn:focus {
    outline: 2px solid var(--border-color-focus);
    outline-offset: 2px;
}

/* Primary Button */
.btn-primary {
    background: var(--color-primary);
    color: var(--color-text-primary);
    border-color: var(--color-primary);
}

.btn-primary:hover {
    background: var(--color-primary-hover);
    border-color: var(--color-primary-hover);
    color: var(--color-text-primary);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.btn-primary:active {
    background: var(--color-primary-active);
    border-color: var(--color-primary-active);
    transform: translateY(0);
}

/* Secondary Button */
.btn-secondary {
    background: transparent;
    color: var(--color-secondary);
    border-color: var(--color-secondary);
}

.btn-secondary:hover {
    background: var(--color-secondary);
    color: var(--color-text-inverse);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--glow-secondary);
}

.btn-secondary:active {
    background: var(--color-secondary-active);
    border-color: var(--color-secondary-active);
    transform: translateY(0);
}

/* Accent Button */
.btn-accent {
    background: transparent;
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.btn-accent:hover {
    background: var(--color-accent);
    color: var(--color-text-inverse);
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
}

.btn-accent:active {
    background: var(--color-accent-active);
    border-color: var(--color-accent-active);
    transform: translateY(0);
}

/* =================================================================
   HERO SECTION COMPONENTS
================================================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(ellipse at center, var(--color-charcoal) 0%, var(--bg-primary) 70%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 122, 204, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 170, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image {
    position: relative;
}

.profile-photo {
    width: auto;
    height: 260px;
    border-radius: 20%;
    border: 4px solid var(--color-primary);
    box-shadow: 
        var(--glow-primary),
        inset 0 0 0 4px rgba(255, 255, 255, 0.1);
    transition: all var(--transition-slow);
    object-fit: cover;
    object-position: center center;
}

.profile-photo:hover {
    transform: scale(1.05);
    box-shadow: 
        0 0 30px rgba(0, 122, 204, 0.5),
        inset 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.hero-text {
    max-width: 600px;
}

.hero-title {
    font-size: var(--font-size-6xl);
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, var(--color-text-primary), var(--color-primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: var(--font-size-2xl);
    color: var(--color-secondary);
    margin-bottom: var(--space-lg);
    font-weight: var(--font-weight-medium);
}

.hero-specialization {
    margin-bottom: var(--space-xl);
    font-family: var(--font-family-mono);
    font-size: var(--font-size-lg);
}

.typing-text {
    color: var(--color-text-secondary);
    position: relative;
}

.typing-text::after {
    content: '|';
    color: var(--color-primary);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.hero-highlights {
    margin-bottom: var(--space-2xl);
}

.hero-highlight {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-lg);
}

.hero-highlight::before {
    content: '>';
    color: var(--color-primary);
    margin-right: var(--space-sm);
    font-family: var(--font-family-mono);
}

.hero-actions {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

/* =================================================================
   SKILLS SECTION COMPONENTS
================================================================= */

.skills-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

.filter-btn {
    padding: var(--space-md) var(--space-lg);
    background: transparent;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: inherit;
}

.filter-btn:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.filter-btn.active {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-primary);
    box-shadow: var(--glow-primary);
}

.skills-search {
    max-width: 400px;
    margin: 0 auto var(--space-2xl) auto;
    position: relative;
}

.search-label {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

.search-input {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
    transition: all var(--transition-fast);
}

.search-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

.search-help {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    text-align: center;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.skill-card {
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.skill-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-normal);
}

.skill-card:hover::before {
    transform: scaleX(1);
}

.skill-card:hover {
    border-color: var(--color-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.skill-name {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.skill-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
}

.skill-level-bar {
    height: 8px;
    background: var(--bg-elevated);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-sm);
}

.skill-level-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
    position: relative;
}

.skill-level-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skills-loading, .timeline-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl);
    color: var(--color-text-muted);
}

.skills-loading .loading-spinner,
.timeline-loading .loading-spinner {
    margin-bottom: var(--space-lg);
    width: 40px;
    height: 40px;
}

.no-results, .skills-error, .timeline-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl);
    color: var(--color-text-muted);
    text-align: center;
}

.no-results-icon, .error-icon {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-lg);
}

.no-results-title, .error-title {
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.no-results-text, .error-text {
    max-width: 400px;
    margin-bottom: var(--space-lg);
}

/* =================================================================
   TIMELINE COMPONENTS
================================================================= */

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-3xl);
    position: relative;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-content {
    flex: 1;
    max-width: 45%;
    position: relative;
}

.timeline-card {
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 50%;
    width: 0;
    height: 0;
    border: 12px solid transparent;
    transition: all var(--transition-normal);
}

.timeline-item:nth-child(odd) .timeline-card::before {
    left: -24px;
    border-right-color: var(--border-color);
}

.timeline-item:nth-child(even) .timeline-card::before {
    right: -24px;
    border-left-color: var(--border-color);
}

.timeline-card:hover {
    border-color: var(--color-primary);
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}

.timeline-node {
    width: 20px;
    height: 20px;
    background: var(--color-primary);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 0 6px var(--bg-primary), var(--glow-primary);
    transition: all var(--transition-normal);
}

.timeline-item:hover .timeline-node {
    background: var(--color-secondary);
    box-shadow: 0 0 0 6px var(--bg-primary), var(--glow-secondary);
    transform: translateX(-50%) scale(1.5);
}

/* Timeline Content Sections */
.technologies-section {
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-color-light);
}

.technologies-title {
    font-size: var(--font-size-lg);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    font-family: var(--font-family-mono);
}

.technology-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.tech-tag {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    background: var(--bg-elevated);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: var(--font-weight-medium);
    color: var(--color-text-secondary);
    text-decoration: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    font-family: var(--font-family-mono);
    user-select: none;
}

.tech-tag:hover,
.tech-tag:focus {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-text-primary);
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 122, 204, 0.2);
}

.tech-tag:active,
.tech-tag.clicked {
    transform: translateY(0);
    box-shadow: 0 1px 2px rgba(0, 122, 204, 0.3);
}

.tech-tag:focus {
    outline: 2px solid var(--border-color-focus);
    outline-offset: 2px;
}

/* =================================================================
   CONTACT FORM COMPONENTS
================================================================= */

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--bg-surface);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent));
}

.form-title {
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
    font-family: var(--font-family-mono);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    font-family: var(--font-family-mono);
    font-size: var(--font-size-sm);
}

.form-input {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-elevated);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: var(--font-size-base);
    font-family: var(--font-family-mono);
    transition: all var(--transition-fast);
    resize: vertical;
}

.form-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(0, 122, 204, 0.1);
}

.form-input.error {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.1);
}

.form-input::placeholder {
    color: var(--color-text-muted);
    font-family: var(--font-family-mono);
}

.form-textarea {
    min-height: 120px;
    font-family: var(--font-family-mono);
    resize: vertical;
}

.form-error {
    color: var(--color-accent);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
    font-family: var(--font-family-mono);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.form-error.visible {
    opacity: 1;
}

.form-actions {
    margin-top: var(--space-xl);
}

.form-submit {
    width: 100%;
    position: relative;
}

.submit-loading {
    display: none;
}

.form-submit.loading .submit-text {
    display: none;
}

.form-submit.loading .submit-loading {
    display: inline;
}

.form-status {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    font-family: var(--font-family-mono);
    font-size: var(--font-size-sm);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.form-status.success {
    background: rgba(0, 212, 170, 0.1);
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
    opacity: 1;
}

.form-status.error {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
    opacity: 1;
}

/* Contact Info Styles */
.contact-info-title {
    margin-bottom: var(--space-lg);
    color: var(--color-text-primary);
    font-family: var(--font-family-mono);
}

.contact-details {
    margin-bottom: var(--space-xl);
}

.contact-item {
    display: flex;
    margin-bottom: var(--space-md);
    font-family: var(--font-family-mono);
}

.contact-label {
    color: var(--color-text-muted);
    min-width: 80px;
}

.contact-value {
    color: var(--color-text-secondary);
}

.social-links {
    display: flex;
    gap: var(--space-lg);
}

.social-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: all var(--transition-fast);
    font-family: var(--font-family-mono);
}

.social-link:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    text-decoration: none;
}

.social-icon {
    font-weight: var(--font-weight-bold);
    font-size: var(--font-size-sm);
}

/* =================================================================
   FOOTER COMPONENT
================================================================= */

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-4xl);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
}

.footer-text {
    font-size: var(--font-size-sm);
    color: var(--color-text-muted);
    margin-bottom: var(--space-xs);
}

.footer-disclaimer {
    font-size: var(--font-size-xs);
    color: var(--color-text-muted);
    font-family: var(--font-family-mono);
    margin-bottom: 0;
}

.footer-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--space-lg);
}

.footer-link {
    color: var(--color-text-muted);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/*
 * devSteve.com - Responsive Design
 * Mobile-first responsive breakpoints and layouts
 */

/* =================================================================
   MOBILE STYLES (320px - 767px)
   Base styles are mobile-first, so these are adjustments
================================================================= */

/* Extra small mobile devices */
@media (max-width: 375px) {
    .container {
        padding: 0 var(--space-sm);
    }

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

    .section-title {
        font-size: var(--font-size-3xl);
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-actions {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Mobile Navigation */
@media (max-width: 767px) {
    .nav-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(15, 15, 15, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-xl);
        border-bottom: 1px solid var(--border-color);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
        z-index: var(--z-dropdown);
        gap: 0;
    }

    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-list li {
        margin-bottom: var(--space-md);
        width: 100%;
        text-align: center;
    }

    .nav-link {
        display: block;
        padding: var(--space-lg);
        font-size: var(--font-size-lg);
        width: 100%;
        border-radius: var(--radius-lg);
    }

    .nav-link.active::after {
        display: none;
    }

    .nav-link-ext {
        display: block;
        padding: var(--space-lg);
        font-size: var(--font-size-lg);
        width: 100%;
        border-radius: var(--radius-lg);
    }

    /* Hero Section Mobile */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }

    .profile-photo {
        width: auto;
        height: 200px;
        margin: 0 auto;
        object-fit: cover;
        object-position: center center;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-xl);
    }

    .hero-actions {
        justify-content: center;
        flex-direction: column;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Skills Section Mobile */
    .skills-filters {
        flex-direction: column;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .filter-btn {
        width: 100%;
        justify-content: center;
    }

    .skills-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        flex-direction: row !important;
        padding-left: 60px;
    }

    .timeline-content {
        max-width: 100%;
    }

    .timeline-card::before {
        left: -24px !important;
        right: auto !important;
        border-right-color: var(--border-color) !important;
        border-left-color: transparent !important;
    }

    .timeline-node {
        left: 20px;
    }

    /* Contact Section Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .social-links {
        flex-direction: column;
        gap: var(--space-md);
    }

    .social-link {
        justify-content: center;
    }

    /* Footer Mobile */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* =================================================================
   TABLET STYLES (768px - 1023px)
================================================================= */

@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        max-width: var(--container-md);
    }

    /* Hero adjustments for tablet */
    .hero-content {
        gap: var(--space-2xl);
    }

    .profile-photo {
        width: auto;
        height: 250px;
        object-fit: cover;
        object-position: center center;
    }

    .hero-title {
        font-size: var(--font-size-5xl);
    }

    .hero-actions {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    /* Skills grid for tablet */
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Timeline adjustments */
    .timeline-content {
        max-width: 42%;
    }

    /* Contact form for tablet */
    .contact-content {
        grid-template-columns: 1fr;
        max-width: 600px;
    }
}

/* =================================================================
   DESKTOP STYLES (1024px+)
================================================================= */

@media (min-width: 1024px) {
    .container {
        max-width: var(--container-lg);
    }

    /* Enhanced hover effects for desktop */
    .skill-card:hover {
        transform: translateY(-8px);
    }

    .timeline-card:hover {
        transform: scale(1.03);
    }

    /* Full desktop navigation spacing */
    .nav-list {
        gap: var(--space-xl);
    }

    /* Hero section desktop optimization */
    .hero-content {
        grid-template-columns: auto 1fr;
        text-align: left;
    }

    .profile-photo {
        width: auto;
        height: 260px;
        object-fit: cover;
        object-position: center center;
    }

    .hero-actions {
        justify-content: flex-start;
    }

    /* Skills grid desktop */
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Timeline desktop spacing */
    .timeline-item {
        margin-bottom: var(--space-4xl);
    }
}

/* =================================================================
   LARGE DESKTOP STYLES (1440px+)
================================================================= */

@media (min-width: 1440px) {
    .container {
        max-width: var(--container-xl);
    }

    /* Larger spacing for big screens */
    .section {
        padding: var(--space-5xl) 0;
    }

    .section-header {
        margin-bottom: var(--space-4xl);
    }

    /* Hero section for large screens */
    .hero {
        min-height: 100vh;
    }

    .profile-photo {
        width: auto;
        height: 280px;
        object-fit: cover;
        object-position: center center;
    }

    .hero-title {
        font-size: var(--font-size-6xl);
    }

    /* Skills grid for large desktop */
    .skills-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-xl);
    }

    /* Enhanced spacing for timeline */
    .timeline {
        max-width: 900px;
    }

    .timeline-card {
        padding: var(--space-2xl);
    }

    /* Contact section for large screens */
    .contact-content {
        grid-template-columns: 1fr 1fr;
        max-width: 1200px;
        gap: var(--space-5xl);
    }
}

/* =================================================================
   ULTRA-WIDE SCREENS (1920px+)
================================================================= */

@media (min-width: 1920px) {
    .container {
        max-width: var(--container-2xl);
    }

    /* Prevent content from being too spread out */
    .hero-content {
        max-width: 1400px;
        margin: 0 auto;
    }

    .timeline {
        max-width: 1000px;
    }

    .contact-content {
        max-width: 1400px;
    }
}

/* =================================================================
   LANDSCAPE TABLET ORIENTATION
================================================================= */

@media (min-width: 768px) and (max-width: 1024px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
    }

    .hero-content {
        grid-template-columns: auto 1fr;
        text-align: left;
        align-items: center;
    }

    .profile-photo {
        width: auto;
        height: 200px;
        object-fit: cover;
        object-position: center center;
    }

    .hero-title {
        font-size: var(--font-size-4xl);
    }

    .hero-subtitle {
        font-size: var(--font-size-xl);
    }
}

/* =================================================================
   PRINT STYLES
================================================================= */

@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.4;
    }

    .header,
    .nav-toggle,
    .hero-actions,
    .skills-filters,
    .contact-form,
    .footer {
        display: none !important;
    }

    .hero {
        padding: 20pt 0;
        background: none;
        min-height: auto;
    }

    .section {
        padding: 20pt 0;
        page-break-inside: avoid;
    }

    .section-title {
        color: black;
        font-size: 18pt;
        margin-bottom: 12pt;
    }

    .timeline-card,
    .skill-card {
        border: 1pt solid #ccc;
        page-break-inside: avoid;
        margin-bottom: 12pt;
    }

    a {
        text-decoration: underline;
        color: black;
    }

    a::after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }
}

/* =================================================================
   ACCESSIBILITY ENHANCEMENTS
================================================================= */

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --color-text-primary: #ffffff;
        --color-text-secondary: #ffffff;
        --border-color: #ffffff;
        --bg-surface: #000000;
        --bg-elevated: #000000;
    }

    .skill-card,
    .timeline-card,
    .contact-form {
        border-width: 3px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .hero::before {
        background: var(--bg-secondary);
    }

    .profile-photo:hover {
        transform: none;
    }

    .skill-card:hover,
    .timeline-card:hover {
        transform: none;
    }

    .nav-list {
        transition: none;
    }

    .typing-text::after {
        animation: none;
        opacity: 1;
    }

    .skill-level-fill::after {
        animation: none;
    }
}

/* Dark mode preference (already dark by default) */
@media (prefers-color-scheme: light) {
    /* Users can override if they prefer light mode */
    body.light-mode {
        --bg-primary: #ffffff;
        --bg-secondary: #f8f9fa;
        --bg-surface: #ffffff;
        --bg-elevated: #f1f3f4;
        --color-text-primary: #202124;
        --color-text-secondary: #5f6368;
        --color-text-muted: #9aa0a6;
        --border-color: #dadce0;
    }
}
