/* ============================================
   TROY KRAUSE PORTFOLIO - MODERNIZED STYLESHEET
   Natural Dark Theme with Modern IT Design Trends
   ============================================ */

/* ============================================
   1. CSS VARIABLES - DESIGN TOKENS
   ============================================ */

:root {
    /* === Color System - Natural Dark === */
    --color-bg-primary: #000000;
    --color-bg-secondary: #0d1b2a;
    --color-bg-tertiary: #1a1f35;
    --color-bg-card: rgba(13, 27, 42, 0.6);

    --color-text-primary: #e8eaed;
    --color-text-secondary: #b8b8b8;
    --color-text-muted: #7a8ba3;

    --color-accent-primary: #d4a574;
    --color-accent-secondary: #7a8ba3;
    --color-accent-tertiary: #9b8a6f;

    /* === Shadows - Softer, Natural === */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow-subtle: 0 0 20px rgba(212, 165, 116, 0.15);
    --shadow-glow-medium: 0 0 30px rgba(212, 165, 116, 0.2);

    /* === Borders === */
    --border-subtle: 1px solid rgba(122, 139, 163, 0.2);
    --border-medium: 1px solid rgba(122, 139, 163, 0.4);
    --border-accent: 1px solid rgba(212, 165, 116, 0.3);

    /* === Card System === */
    --card-bg: var(--color-bg-card);
    --card-border: var(--border-subtle);
    --card-radius: var(--radius-8);
    --card-padding: var(--space-24);
    --card-shadow: var(--shadow-md);
    --card-shadow-hover: var(--shadow-glow-medium);

    /* === Font Sizes (8px base) === */
    --font-size-13: 0.8125rem;
    --font-size-14: 0.875rem;
    --font-size-16: 1rem;
    --font-size-18: 1.125rem;
    --font-size-20: 1.25rem;
    --font-size-24: 1.5rem;
    --font-size-32: 2rem;
    --font-size-48: 3rem;
    --font-size-56: 3.5rem;

    --font-regular: 400;
    --font-medium: 500;
    --font-bold: 600;

    /* === Spacing (8px base) === */
    --space-2: 0.125rem;
    --space-4: 0.25rem;
    --space-8: 0.5rem;
    --space-12: 0.75rem;
    --space-16: 1rem;
    --space-20: 1.25rem;
    --space-24: 1.5rem;
    --space-32: 2rem;
    --space-40: 2.5rem;
    --space-48: 3rem;
    --space-64: 4rem;
    --space-80: 5rem;
    --space-100: 6.25rem;

    /* === Border Radius === */
    --radius-4: 0.25rem;
    --radius-8: 0.5rem;
    --radius-12: 0.75rem;
    --radius-16: 1rem;
    --radius-full: 999px;

    /* === Z-indices === */
    --z-background: -1;
    --z-base: 0;
    --z-fixed: 1000;
    --z-overlay: 50;
    --z-modal: 100;

    /* === Navbar Height === */
    --nav-height: 70px;
}

/* ============================================
   2. RESET & GLOBAL STYLES
   ============================================ */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--nav-height);
}

body {
    font-family: 'Open Sans', sans-serif;
    background: linear-gradient(
        180deg,
        var(--color-bg-primary) 0%,
        var(--color-bg-secondary) 50%,
        var(--color-bg-tertiary) 100%
    );
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--color-text-primary);
    overflow-x: hidden;
    overflow-y: auto;
    line-height: 1.6;
}

/* === Typography Base === */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Mono', monospace;
    font-weight: var(--font-bold);
    line-height: 1.3;
    color: var(--color-text-primary);
}

p {
    font-size: var(--font-size-16);
    line-height: 1.6;
    color: var(--color-text-secondary);
    margin: var(--space-16) 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* ============================================
   3. STARFIELD BACKGROUND
   ============================================ */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-background);
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(1px 1px at 70% 40%, white, transparent),
        radial-gradient(2px 2px at 15% 85%, white, transparent),
        radial-gradient(1px 1px at 45% 15%, white, transparent),
        radial-gradient(1px 1px at 25% 95%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    opacity: 0;
    animation: starsFadeIn 0.5s ease-out forwards,
               twinkle 5s ease-in-out 0.5s infinite;
}

body::after {
    content: '';
    position: fixed;
    top: -100px;
    left: -100px;
    width: 2px;
    height: 2px;
    background: linear-gradient(45deg, transparent, white, transparent);
    box-shadow: 0 0 6px white;
    opacity: 0;
    z-index: var(--z-background);
    animation: shoot 10s linear 2s infinite;
}

/* ============================================
   4. NAVIGATION
   ============================================ */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: var(--z-fixed);
    background: rgba(13, 27, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: var(--border-subtle);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(13, 27, 42, 0.7);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-32);
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-family: 'Space Mono', monospace;
    font-size: var(--font-size-20);
    font-weight: var(--font-bold);
    color: var(--color-accent-primary);
    transition: all 0.3s ease;
}

.nav-logo:hover {
    color: var(--color-text-primary);
    text-shadow: 0 0 20px rgba(212, 165, 116, 0.5);
}

.nav-links {
    display: flex;
    gap: var(--space-32);
    list-style: none;
}

.nav-link {
    font-size: var(--font-size-16);
    color: var(--color-text-secondary);
    padding: var(--space-8) var(--space-12);
    border-radius: var(--radius-4);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-accent-primary);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-accent-primary);
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 80%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-8);
}

.hamburger {
    width: 25px;
    height: 2px;
    background: var(--color-text-primary);
    transition: all 0.3s ease;
}

/* ============================================
   5. LAYOUT SYSTEM
   ============================================ */

#appWrapper {
    position: relative;
    min-height: 100vh;
    width: 100%;
}

.main-content {
    position: relative;
    padding-top: var(--nav-height);
    z-index: var(--z-base);
}

.section {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-100) var(--space-48);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-size: var(--font-size-48);
    color: var(--color-accent-primary);
    margin-bottom: var(--space-16);
    text-align: center;
}

.section-subtitle {
    font-size: var(--font-size-18);
    color: var(--color-text-muted);
    text-align: center;
    margin-bottom: var(--space-48);
}

/* ============================================
   6. HERO SECTION
   ============================================ */

.hero-section {
    min-height: calc(100vh - var(--nav-height));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: var(--space-80) var(--space-48);
    position: relative;
    background-image:
        linear-gradient(
            180deg,
            var(--color-bg-primary) 0%,
            var(--color-bg-secondary) 50%,
            var(--color-bg-tertiary) 100%
        ),
        url('/images/background.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-attachment: fixed;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    background: rgba(13, 27, 42, 0.5);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: var(--border-subtle);
    border-radius: var(--radius-16);
    padding: var(--space-64) var(--space-48);
    box-shadow: var(--shadow-lg);
}

.hero-title {
    font-size: var(--font-size-56);
    margin-bottom: var(--space-24);
    animation: fadeInUp 1s ease-out;
}

.gradient-text {
    background: linear-gradient(135deg, #d4a574, #f0c674, #d4a574);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% auto;
    animation: gradientShift 3s ease-in-out infinite;
}

.hero-tagline {
    font-size: var(--font-size-24);
    color: var(--color-text-primary);
    margin-bottom: var(--space-24);
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-description {
    font-size: var(--font-size-18);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-40);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-cta {
    display: flex;
    gap: var(--space-16);
    justify-content: center;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.btn {
    padding: var(--space-16) var(--space-32);
    border-radius: var(--radius-8);
    font-size: var(--font-size-16);
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    cursor: pointer;
    border: none;
    min-width: 160px;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--color-accent-tertiary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 116, 0.3);
}

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

.btn-secondary:hover {
    background: var(--color-accent-primary);
    color: var(--color-bg-primary);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-40);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    color: var(--color-text-muted);
    font-size: var(--font-size-14);
    animation: bounce 2s ease-in-out infinite;
}

/* ============================================
   7. ABOUT SECTION
   ============================================ */

.about-intro {
    display: flex;
    gap: var(--space-48);
    align-items: center;
    margin-bottom: var(--space-64);
    flex-wrap: wrap;
    justify-content: center;
}

.profile-image-container {
    flex-shrink: 0;
}

.profile-image-large {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--color-accent-primary);
    box-shadow: var(--shadow-glow-medium);
}

.about-stats {
    display: flex;
    gap: var(--space-24);
    flex-wrap: wrap;
}

.stat-card {
    background: rgba(13, 27, 42, 0.6);
    backdrop-filter: blur(10px);
    border: var(--border-subtle);
    border-radius: var(--radius-12);
    padding: var(--space-24);
    min-width: 140px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-subtle);
    border-color: var(--color-accent-primary);
}

.stat-number {
    display: block;
    font-size: var(--font-size-32);
    font-weight: var(--font-bold);
    color: var(--color-accent-primary);
    font-family: 'Space Mono', monospace;
}

.stat-label {
    display: block;
    font-size: var(--font-size-14);
    color: var(--color-text-secondary);
    margin-top: var(--space-8);
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-32);
}

/* ============================================
   8. CARDS & GLASSMORPHISM
   ============================================ */

.card,
.glass-card {
    background: rgba(13, 27, 42, 0.4);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--border-subtle);
    border-radius: var(--radius-12);
    padding: var(--card-padding);
    transition: all 0.3s ease;
}

.card:hover,
.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-medium);
    border-color: var(--color-accent-primary);
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-12);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(155, 138, 111, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-20);
    font-size: var(--font-size-24);
    color: var(--color-accent-primary);
}

.card-title {
    font-size: var(--font-size-20);
    color: var(--color-accent-primary);
    margin-bottom: var(--space-16);
}

.card p {
    font-size: var(--font-size-16);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   9. SKILLS SECTION
   ============================================ */

.skills-category {
    margin-bottom: var(--space-48);
}

.category-title {
    font-size: var(--font-size-20);
    color: var(--color-text-primary);
    margin-bottom: var(--space-24);
    display: flex;
    align-items: center;
    gap: var(--space-12);
}

.category-title i {
    color: var(--color-accent-primary);
}

.pill-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-12);
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: var(--space-8);
    padding: var(--space-12) var(--space-20);
    font-size: var(--font-size-14);
    font-weight: var(--font-medium);
    color: var(--color-text-primary);
    background: rgba(13, 27, 42, 0.4);
    border-radius: var(--radius-full);
    border-left: 3px solid transparent;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.pill-core {
    background: rgba(212, 165, 116, 0.1);
    border-left-color: var(--color-accent-primary);
    border-left-style: solid;
}

.pill-extra {
    background: rgba(122, 139, 163, 0.1);
    border-left-color: var(--color-accent-secondary);
    border-left-style: dashed;
}

.pill-tools {
    background: rgba(232, 234, 237, 0.05);
    border-left-color: var(--color-text-muted);
    border-left-style: dotted;
}

.pill:hover {
    background: rgba(212, 165, 116, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-subtle);
}

/* ============================================
   10. EXPERIENCE TIMELINE
   ============================================ */

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-left: var(--space-48);
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--color-accent-primary), var(--color-accent-secondary));
}

.timeline-item {
    position: relative;
    margin-bottom: var(--space-48);
    padding-left: var(--space-32);
}

.timeline-icon {
    position: absolute;
    left: -8px;
    top: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-bg-primary);
    border: 3px solid var(--color-accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent-primary);
    font-size: var(--font-size-16);
    z-index: 1;
}

.timeline-item.education .timeline-icon {
    border-color: var(--color-accent-secondary);
    color: var(--color-accent-secondary);
}

.timeline-content {
    background: rgba(13, 27, 42, 0.4);
    backdrop-filter: blur(10px);
    border: var(--border-subtle);
    border-radius: var(--radius-12);
    padding: var(--space-24);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    border-color: var(--color-accent-primary);
    box-shadow: var(--shadow-glow-subtle);
}

.timeline-date {
    display: block;
    font-size: var(--font-size-14);
    color: var(--color-accent-primary);
    font-weight: var(--font-medium);
    margin-bottom: var(--space-8);
    font-family: 'Space Mono', monospace;
}

.timeline-title {
    font-size: var(--font-size-20);
    color: var(--color-text-primary);
    margin-bottom: var(--space-8);
}

.timeline-company {
    font-size: var(--font-size-18);
    color: var(--color-accent-secondary);
    margin-bottom: var(--space-4);
}

.timeline-location {
    font-size: var(--font-size-14);
    color: var(--color-text-muted);
    margin-bottom: var(--space-16);
}

.timeline-description {
    font-size: var(--font-size-16);
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-16);
}

.timeline-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
}

.tag {
    padding: var(--space-4) var(--space-12);
    background: rgba(212, 165, 116, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-13);
    color: var(--color-accent-primary);
}

/* ============================================
   11. PROJECTS SECTION
   ============================================ */

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-32);
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: var(--radius-8);
    margin-bottom: var(--space-20);
    background: rgba(13, 27, 42, 0.6);
}

.project-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-56);
    color: var(--color-accent-primary);
    opacity: 0.3;
}

.project-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-title {
    font-size: var(--font-size-20);
    color: var(--color-accent-primary);
    margin-bottom: var(--space-16);
}

.project-description {
    font-size: var(--font-size-16);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-20);
    flex: 1;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-8);
    margin-bottom: var(--space-20);
}

.tech-pill {
    padding: var(--space-4) var(--space-12);
    background: rgba(122, 139, 163, 0.15);
    border-radius: var(--radius-full);
    font-size: var(--font-size-13);
    color: var(--color-text-secondary);
}

.project-links {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-16);
}

.project-link {
    font-size: var(--font-size-14);
    color: var(--color-accent-primary);
    display: flex;
    align-items: center;
    gap: var(--space-8);
    transition: all 0.3s ease;
}

.project-link:hover {
    color: var(--color-text-primary);
    transform: translateX(4px);
}

/* ============================================
   12. GITHUB STATS SECTION
   ============================================ */

.github-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--space-32);
    margin-bottom: var(--space-48);
}

.stat-image-card {
    background: rgba(13, 27, 42, 0.4);
    backdrop-filter: blur(10px);
    border: var(--border-subtle);
    border-radius: var(--radius-12);
    padding: var(--space-24);
    text-align: center;
    transition: all 0.3s ease;
}

.stat-image-card.full-width {
    grid-column: 1 / -1;
}

.stat-image-card:hover {
    border-color: var(--color-accent-primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow-subtle);
}

.stat-image-card h3 {
    font-size: var(--font-size-18);
    color: var(--color-text-primary);
    margin-bottom: var(--space-16);
}

.stat-image-card img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-8);
}

.github-cta {
    text-align: center;
}

/* ============================================
   13. CONTACT SECTION
   ============================================ */

.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-48);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
}

.contact-item {
    display: flex;
    gap: var(--space-20);
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-8);
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.2), rgba(155, 138, 111, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-20);
    color: var(--color-accent-primary);
    flex-shrink: 0;
}

.contact-details h3 {
    font-size: var(--font-size-18);
    color: var(--color-text-primary);
    margin-bottom: var(--space-8);
}

.contact-details p,
.contact-details a {
    font-size: var(--font-size-16);
    color: var(--color-text-secondary);
}

.contact-details a:hover {
    color: var(--color-accent-primary);
}

.status-badge {
    display: inline-block;
    padding: var(--space-4) var(--space-16);
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.4);
    border-radius: var(--radius-full);
    font-size: var(--font-size-13);
    color: #4caf50;
    font-weight: var(--font-medium);
}

.social-links-large {
    display: flex;
    gap: var(--space-16);
    flex-wrap: wrap;
}

.social-btn {
    flex: 1;
    min-width: 150px;
    padding: var(--space-16);
    border-radius: var(--radius-8);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-12);
    font-size: var(--font-size-16);
    font-weight: var(--font-medium);
    transition: all 0.3s ease;
}

.social-btn.linkedin {
    background: rgba(10, 102, 194, 0.2);
    border: 1px solid rgba(10, 102, 194, 0.4);
    color: #0a66c2;
}

.social-btn.linkedin:hover {
    background: rgba(10, 102, 194, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(10, 102, 194, 0.3);
}

.social-btn.github {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--color-text-primary);
}

.social-btn.github:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.1);
}

.contact-form-placeholder {
    background: rgba(13, 27, 42, 0.4);
    backdrop-filter: blur(10px);
    border: var(--border-subtle);
    border-radius: var(--radius-12);
    padding: var(--space-48);
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-placeholder-content {
    text-align: center;
}

.form-placeholder-content i {
    font-size: var(--font-size-48);
    color: var(--color-accent-primary);
    opacity: 0.5;
    margin-bottom: var(--space-20);
}

.form-placeholder-content h3 {
    font-size: var(--font-size-20);
    color: var(--color-text-primary);
    margin-bottom: var(--space-12);
}

.form-placeholder-content p {
    font-size: var(--font-size-16);
    color: var(--color-text-muted);
}

/* ============================================
   14. FOOTER
   ============================================ */

.footer {
    background: rgba(13, 27, 42, 0.6);
    backdrop-filter: blur(10px);
    border-top: var(--border-subtle);
    padding: var(--space-64) var(--space-48) var(--space-24);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-48);
    margin-bottom: var(--space-48);
}

.footer-column h3,
.footer-column h4 {
    font-size: var(--font-size-18);
    color: var(--color-accent-primary);
    margin-bottom: var(--space-16);
}

.footer-brand {
    font-family: 'Space Mono', monospace;
}

.footer-tagline {
    font-size: var(--font-size-14);
    color: var(--color-text-secondary);
    margin-bottom: var(--space-16);
}

.footer-copyright {
    font-size: var(--font-size-13);
    color: var(--color-text-muted);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.footer-links a {
    font-size: var(--font-size-14);
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-accent-primary);
    padding-left: var(--space-8);
}

.footer-social {
    display: flex;
    gap: var(--space-16);
    margin-bottom: var(--space-20);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-8);
    background: rgba(13, 27, 42, 0.6);
    border: var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-18);
    color: var(--color-text-secondary);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--color-accent-primary);
    color: var(--color-bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow-subtle);
}

.footer-status {
    margin-top: var(--space-16);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: var(--space-24);
    border-top: var(--border-subtle);
    text-align: center;
    font-size: var(--font-size-13);
    color: var(--color-text-muted);
}

.footer-bottom a {
    color: var(--color-accent-primary);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--color-text-primary);
}

/* ============================================
   15. ANIMATIONS
   ============================================ */

@keyframes starsFadeIn {
    from { opacity: 0; }
    to { opacity: 0.7; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.4; }
}

@keyframes shoot {
    0% {
        transform: translateX(0) translateY(0) rotate(45deg);
        opacity: 0;
    }
    5% { opacity: 1; }
    10% {
        opacity: 0;
        transform: translateX(300px) translateY(300px) rotate(45deg);
    }
    100% { opacity: 0; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-on-scroll.fade-in-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   16. RESPONSIVE DESIGN
   ============================================ */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    :root {
        --font-size-56: 2.5rem;
        --font-size-48: 2rem;
        --space-100: 4rem;
    }

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

    .section {
        padding: var(--space-64) var(--space-32);
    }

    .hero-section {
        padding: var(--space-64) var(--space-32);
    }

    .hero-content {
        padding: var(--space-48) var(--space-32);
    }

    .about-intro {
        flex-direction: column;
    }

    .about-cards {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .github-stats-grid {
        grid-template-columns: 1fr;
    }

    .timeline {
        padding-left: var(--space-40);
    }
}

/* Mobile (below 768px) */
@media (max-width: 768px) {
    :root {
        --nav-height: 60px;
        --font-size-56: 2rem;
        --font-size-48: 1.75rem;
        --font-size-32: 1.5rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(13, 27, 42, 0.95);
        backdrop-filter: blur(16px);
        padding: var(--space-24);
        gap: var(--space-16);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        border-bottom: var(--border-subtle);
    }

    .nav-links.active {
        transform: translateX(0);
    }

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

    .section {
        padding: var(--space-48) var(--space-20);
    }

    .hero-section {
        min-height: auto;
        padding: var(--space-64) var(--space-20);
    }

    .hero-content {
        padding: var(--space-40) var(--space-24);
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
    }

    .about-stats {
        justify-content: center;
    }

    .stat-card {
        flex: 1;
        min-width: 120px;
    }

    .about-cards {
        grid-template-columns: 1fr;
    }

    .pill {
        font-size: var(--font-size-13);
        padding: var(--space-8) var(--space-16);
    }

    .timeline {
        padding-left: var(--space-32);
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-icon {
        width: 35px;
        height: 35px;
        left: -6px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .github-stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .social-links-large {
        flex-direction: column;
    }

    .social-btn {
        width: 100%;
    }

    .footer {
        padding: var(--space-48) var(--space-20) var(--space-20);
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-32);
    }
}

/* Small Mobile (below 480px) */
@media (max-width: 480px) {
    .profile-image-large {
        width: 200px;
        height: 200px;
    }

    .stat-number {
        font-size: var(--font-size-24);
    }

    .about-stats {
        flex-direction: column;
        width: 100%;
    }

    .stat-card {
        width: 100%;
    }
}

/* ============================================
   END OF STYLESHEET
   ============================================ */
