/* ==========================================
   CSS VARIABLES - Dark Theme with Purple Accent
   ========================================== */
:root {
    --transition-speed: 0.3s;
}

/* Dark Theme (Default) */
body.dark-theme {
    --bg-color: #000000;
    --card-bg: #0f0f0f;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #d4af37;
    --accent-secondary: #1e3a5f;
    --accent-tertiary: #20b2aa;
    --accent-black: #000000;
    --border-color: #222222;
    --border-black: rgba(255, 255, 255, 0.1);
    --nav-bg: rgba(0, 0, 0, 0.95);
    --btn-primary-bg: #ffffff;
    --btn-primary-text: #000000;
}

/* Light Theme */
body.light-theme {
    --bg-color: #f8fafc;
    --card-bg: #ffffff;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --accent-primary: #ffffff;
    --accent-secondary: #a0a0a0;
    --accent-black: #000000;
    --border-color: #333333;
    --border-black: rgba(0, 0, 0, 0.8);
    --nav-bg: rgba(0, 0, 0, 0.95);
    --btn-primary-bg: #ffffff;
    --btn-primary-text: #000000;
    
    --accent-primary: #d4af37; /* Warm Gold */
    --accent-secondary: #ffffff;
    --accent-muted: rgba(212, 175, 55, 0.4);
    
    --bg-color: #050505; /* Deep black/grey */
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    
    --border-color: #262626;
    --border-subtle: #171717;
}

/* ==========================================
   BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    width: 100%;
    min-height: 100vh;
    overflow-x: hidden;
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    transition: background-color var(--transition-speed), color var(--transition-speed);
}

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

.cursor-glow {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
}

body.light-theme .cursor-glow {
    background: radial-gradient(circle, rgba(139, 92, 246, 0.08) 0%, rgba(0, 0, 0, 0) 70%);
}

/* Typography */
h1,
h2,
h3 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

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

ul {
    list-style: none;
}

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

em {
    color: var(--accent-primary);
    font-style: normal;
}

/* ==========================================
   UTILITIES
   ========================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.accent-text {
    color: var(--accent-primary);
    font-weight: 800;
}

.section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    display: inline-block;
    margin: 0;
}

.section-header .line {
    display: none;
}

/* ==========================================
   TIMELINE
   ========================================== */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
    max-width: 900px; /* Prevent right-shift */
    margin: 3rem auto; /* Center it */
}

/* Mobile timeline */
@media (max-width: 768px) {
    .timeline {
        padding-left: 1.5rem;
        max-width: 100%;
    }
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: var(--bg-color);
    border: 3px solid var(--accent-tertiary); /* Using Teal for timeline dots */
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-tertiary);
}

.timeline-date {
    font-family: 'Open Sans Condensed', sans-serif;
    color: var(--accent-tertiary);
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.timeline-content {
    margin-left: 0;
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.role-header h3 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.company {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.role-description {
    line-height: 1.7;
    margin-bottom: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.role-description li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.role-description li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--accent-tertiary); /* Teal bullets */
    font-size: 1.2rem;
    line-height: 1.5;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags span {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.2s ease;
}

.tags span:hover {
    border-color: var(--accent-tertiary);
    color: var(--accent-tertiary);
    background: rgba(32, 178, 170, 0.1);
}

/* ==========================================
   GLOW CARDS
   ========================================== */
.glow-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, background 0.3s ease;
}

.glow-card:hover {
    border-color: var(--accent-tertiary);
}

/* ==========================================
   PRELOADER
   ========================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-color);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden,
.preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    width: 90%;
    max-width: 600px;
}

.code-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px 8px 0 0;
}

.file-name {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.1);
    }
}

.status-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.code-editor {
    background: var(--card-bg);
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 1.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
}

.code-line {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.line-number {
    color: var(--text-secondary);
    margin-right: 1.5rem;
    opacity: 0.5;
}

.keyword {
    color: #c678dd;
}

.variable {
    color: #e5c07b;
}

.string {
    color: #98c379;
}

.comment {
    color: #5c6370;
    font-style: italic;
}

.operator {
    color: #56b6c2;
}

.class {
    color: #e5c07b;
}

.method {
    color: #61afef;
}

.bracket {
    color: #abb2bf;
}

.progress-container {
    padding: 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0 0 8px 8px;
}

.progress-bar-wrapper {
    width: 100%;
    height: 4px;
    background: rgba(139, 92, 246, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.75rem;
}

.progress-bar {
    height: 100%;
    background: var(--accent-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: var(--nav-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-speed), border-color var(--transition-speed);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-primary);
}

.logo .dot {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.nav-links .btn-primary {
    padding: 0.6rem 1.2rem;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-radius: 6px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
    color: var(--btn-primary-text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-primary);
}

body.light-theme .theme-toggle-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.dark-theme .theme-toggle-btn .dark-icon {
    display: none;
}

body.light-theme .theme-toggle-btn .light-icon {
    display: none;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    font-size: 1.5rem;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    background: var(--btn-primary-bg);
    color: var(--btn-primary-text);
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 1.8rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 6px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
    transform: translateY(-2px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    z-index: 10;
    position: relative;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 5rem); /* Smaller font size */
    line-height: 1;
    margin-bottom: 2rem;
    letter-spacing: -0.02em;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.2), 0 0 60px rgba(212, 175, 55, 0.1);
    font-family: 'Open Sans Condensed', sans-serif;
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.9); /* Lighter/White as requested */
    font-weight: 400;
}

.hero-bullets {
    list-style: none;
    padding: 0;
    margin: 0 auto 4rem auto;
    max-width: 600px;
    text-align: left;
    display: inline-block; /* Centers the block itself while keeping text aligned */
}

.hero-bullets li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: flex-start;
}

.hero-bullets li::before {
    content: '•';
    color: #d4af37; /* Gold Bullet */
    position: absolute;
    left: 0.5rem;
    font-size: 1.5rem;
    line-height: 1;
    top: -2px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* ==========================================
   ABOUT SECTION
   ========================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: start;
}

.about-content {
    display: flex;
    flex-direction: column;
}

.about-text p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
    margin-top: 2.5rem;
}

.stat-item {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-primary);
    margin-bottom: 0.75rem;
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 140px;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.info-list i {
    color: var(--accent-primary);
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ==========================================
   GLOW CARDS
   ========================================== */
.glow-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.glow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glow-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 
        0 8px 16px rgba(0, 0, 0, 0.12),
        0 0 0 1px var(--border-black);
}

.glow-card:hover::before {
    opacity: 1;
}

.glow-card h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

/* ==========================================
   TIMELINE
   ========================================== */
.timeline {
    position: relative;
    padding-left: 2rem;
    border-left: 2px solid var(--border-color);
}

.timeline-item {
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.5rem;
    top: 0.5rem;
    width: 14px;
    height: 14px;
    background: var(--bg-color);
    border: 3px solid var(--accent-primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-date {
    font-family: 'JetBrains Mono', monospace;
    color: var(--accent-primary);
    font-size: 0.875rem;
    margin-bottom: 0.8rem;
    font-weight: 600;
    position: relative;
    z-index: 2; /* Zorg dat tekst boven de lijn ligt */
    background: var(--bg-color); /* Achtergrondkleur om de lijn te 'breken' */
    display: inline-block;
    padding-right: 10px;
}

.timeline-content {
    margin-left: 0;
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.role-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.company {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

.role-description {
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.role-description li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.role-description li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
}

/* Tags */
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tags span {
    padding: 0.4rem 0.9rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--accent-primary);
    font-family: 'JetBrains Mono', monospace;
}

/* ==========================================
   PROJECTS SECTION
   ========================================== */
.ai-portfolio-section {
    padding-top: 6rem;
}

.portfolio-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.featured-project {
    background: linear-gradient(135deg, var(--card-bg) 0%, rgba(139, 92, 246, 0.02) 100%);
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 4rem;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 
        0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.featured-project::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-primary), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.featured-project:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.15),
        0 10px 10px -5px rgba(0, 0, 0, 0.1),
        0 0 0 3px rgba(139, 92, 246, 0.1);
}

.featured-project:hover::after {
    opacity: 0.6;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid var(--accent-primary);
    border-radius: 50px;
    color: var(--accent-primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.featured-content h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.featured-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.featured-metrics {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Project Filters */
.project-filters {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.7rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.filter-btn.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 4rem auto 0;
    box-shadow: 
        0 8px 20px rgba(139, 92, 246, 0.35),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.show-more-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.show-more-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 
        0 20px 40px rgba(139, 92, 246, 0.45),
        0 0 0 1px rgba(139, 92, 246, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.show-more-btn:hover::before {
    opacity: 1;
}

.show-more-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.show-more-btn.hidden {
    display: none;
}

/* Projects Grid */
.ai-projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Collapsed state - show only first 6 items */
.ai-projects-grid:not(.expanded) .ai-project-card:nth-child(n+7) {
    display: none;
}

.ai-project-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    box-shadow: 
        0 4px 6px -1px rgba(0, 0, 0, 0.15),
        0 2px 4px -1px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
}

.ai-project-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.3) 0%, 
        rgba(167, 139, 250, 0.1) 50%, 
        transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.ai-project-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.35),
        0 12px 20px -8px rgba(139, 92, 246, 0.3),
        0 0 0 1px rgba(139, 92, 246, 0.2),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.1);
}

.ai-project-card:hover::before {
    opacity: 1;
}

.project-thumbnail {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.08) 0%, 
        rgba(167, 139, 250, 0.05) 100%);
}

.project-thumbnail::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.4) 60%,
        rgba(0, 0, 0, 0.8) 100%);
    opacity: 0.6;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.project-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 120%, 
        rgba(139, 92, 246, 0.4) 0%, 
        transparent 60%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.ai-project-card:hover .project-thumbnail::before {
    opacity: 0.8;
}

.ai-project-card:hover .project-thumbnail::after {
    opacity: 1;
}

.project-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
}

.ai-project-card:hover .project-thumbnail img {
    transform: scale(1.08);
    filter: brightness(1) contrast(1.1);
}

.project-content {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    background: linear-gradient(to bottom, 
        transparent 0%, 
        rgba(139, 92, 246, 0.02) 100%);
}

.project-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 2.5rem;
    right: 2.5rem;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(139, 92, 246, 0.3) 50%, 
        transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ai-project-card:hover .project-content::before {
    opacity: 1;
}



/* Icon Color Variants */
.icon-violet { background: rgba(139, 92, 246, 0.15); color: #8b5cf6; }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: #10b981; }
.icon-blue { background: rgba(59, 130, 246, 0.15); color: #3b82f6; }
.icon-amber { background: rgba(245, 158, 11, 0.15); color: #f59e0b; }
.icon-rose { background: rgba(244, 63, 94, 0.15); color: #f43f5e; }
.icon-indigo { background: rgba(99, 102, 241, 0.15); color: #6366f1; }
.icon-teal { background: rgba(20, 184, 166, 0.15); color: #14b8a6; }
.icon-pink { background: rgba(236, 72, 153, 0.15); color: #ec4899; }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: #06b6d4; }
.icon-purple { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
.icon-slate { background: rgba(100, 116, 139, 0.15); color: #64748b; }
.icon-orange { background: rgba(249, 115, 22, 0.15); color: #f97316; }

.project-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    line-height: 1.2;
    transition: all 0.3s ease;
}

.ai-project-card:hover .project-content h3 {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.project-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    flex: 1;
    font-weight: 400;
}

.project-content p strong {
    color: var(--accent-primary);
    font-weight: 600;
    position: relative;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.project-tags span {
    padding: 0.5rem 1.25rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.project-tags span::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-tags span:hover::before {
    opacity: 1;
}

.ai-project-card:hover .project-tags span {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Tag Color Variants */
.tag-violet { background: rgba(139, 92, 246, 0.1); color: #8b5cf6; border: 1px solid rgba(139, 92, 246, 0.2); }
.tag-blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; border: 1px solid rgba(59, 130, 246, 0.2); }
.tag-pink { background: rgba(236, 72, 153, 0.1); color: #ec4899; border: 1px solid rgba(236, 72, 153, 0.2); }
.tag-emerald { background: rgba(16, 185, 129, 0.1); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.2); }
.tag-green { background: rgba(34, 197, 94, 0.1); color: #22c55e; border: 1px solid rgba(34, 197, 94, 0.2); }
.tag-indigo { background: rgba(99, 102, 241, 0.1); color: #6366f1; border: 1px solid rgba(99, 102, 241, 0.2); }
/* Tag Styles */
.tag-gold { background: rgba(212, 175, 55, 0.1); color: #d4af37; border: 1px solid rgba(212, 175, 55, 0.2); }
.tag-navy { background: rgba(30, 58, 95, 0.2); color: #60a5fa; border: 1px solid rgba(30, 58, 95, 0.4); }
.tag-teal { background: rgba(32, 178, 170, 0.1); color: #20b2aa; border: 1px solid rgba(32, 178, 170, 0.2); }
.tag-rose { background: rgba(225, 29, 72, 0.1); color: #fb7185; border: 1px solid rgba(225, 29, 72, 0.2); }
.tag-white { background: rgba(255, 255, 255, 0.1); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.2); }

/* Mappings for old classes to new theme */
.tag-violet, .tag-purple { background: rgba(255, 255, 255, 0.05); color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.2); }
.tag-blue { background: rgba(30, 58, 95, 0.2); color: #60a5fa; border: 1px solid rgba(30, 58, 95, 0.4); }
.tag-pink, .tag-magenta { background: rgba(225, 29, 72, 0.1); color: #fb7185; border: 1px solid rgba(225, 29, 72, 0.2); }

.tag-amber { background: rgba(245, 158, 11, 0.1); color: #f59e0b; border: 1px solid rgba(245, 158, 11, 0.2); }
.tag-orange { background: rgba(249, 115, 22, 0.1); color: #f97316; border: 1px solid rgba(249, 115, 22, 0.2); }
.tag-yellow { background: rgba(234, 179, 8, 0.1); color: #eab308; border: 1px solid rgba(234, 179, 8, 0.2); }
.tag-rose { background: rgba(244, 63, 94, 0.1); color: #f43f5e; border: 1px solid rgba(244, 63, 94, 0.2); }
.tag-red { background: rgba(239, 68, 68, 0.1); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.2); }
.tag-cyan { background: rgba(6, 182, 212, 0.1); color: #06b6d4; border: 1px solid rgba(6, 182, 212, 0.2); }
.tag-teal { background: rgba(20, 184, 166, 0.1); color: #14b8a6; border: 1px solid rgba(20, 184, 166, 0.2); }
.tag-lime { background: rgba(132, 204, 22, 0.1); color: #84cc16; border: 1px solid rgba(132, 204, 22, 0.2); }
.tag-slate { background: rgba(100, 116, 139, 0.1); color: #64748b; border: 1px solid rgba(100, 116, 139, 0.2); }
.tag-gray { background: rgba(107, 114, 128, 0.1); color: #6b7280; border: 1px solid rgba(107, 114, 128, 0.2); }
.tag-dark { background: rgba(31, 41, 55, 0.1); color: #1f2937; border: 1px solid rgba(31, 41, 55, 0.2); }
.tag-crimson { background: rgba(220, 38, 38, 0.1); color: #dc2626; border: 1px solid rgba(220, 38, 38, 0.2); }
.tag-magenta { background: rgba(192, 38, 211, 0.1); color: #c026d3; border: 1px solid rgba(192, 38, 211, 0.2); }
.tag-sky { background: rgba(14, 165, 233, 0.1); color: #0ea5e9; border: 1px solid rgba(14, 165, 233, 0.2); }

/* Show More Button */
.show-more-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.show-more-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(139, 92, 246, 0.05);
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.skill-category h3 {
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.skill-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.skill-tags span {
    padding: 0.6rem 1.2rem;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 6px;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.skill-tags span:hover {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

/* ==========================================
   EDUCATION SECTION
   ========================================== */
.education-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.education-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%; /* Zorg dat de kaart de breedte van de container pakt */
    max-width: 600px; /* Maar niet te breed wordt */
}

.education-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: 20px;
    padding: 1px;
    background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.2) 0%, 
        rgba(167, 139, 250, 0.1) 50%, 
        transparent 100%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.education-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.4);
}

.education-card:hover::before {
    opacity: 1;
}

.education-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.education-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
}

.education-card .institution {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================
   SKILLS SECTION
   ========================================== */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    max-width: 1200px; /* Prevent excessive stretching */
    margin-left: auto;
    margin-right: auto;
}

/* Mobile responsiveness for skills grid */
@media (max-width: 768px) {
    .skills-grid {
        grid-template-columns: 1fr; /* Single column on mobile */
        gap: 1.5rem;
        padding: 0 1rem;
    }
    
    .skill-category {
        padding: 1.5rem;
    }
}

.skill-category {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.skill-category:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.skill-category h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.skill-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(139, 92, 246, 0.05);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.skill-item:hover {
    background: rgba(139, 92, 246, 0.1);
    transform: translateX(4px);
}

.skill-item span:first-child {
    color: var(--text-primary);
    font-weight: 500;
}

.skill-level {
    padding: 0.35rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.skill-level.excellent {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.skill-level.good {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
}

.skill-level.basic {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* ==========================================
   CONTACT SECTION
   ========================================== */
.contact-header h2 {
    font-size: 2.5rem;
}

.primary-cta {
    text-align: center;
    margin-bottom: 3rem;
}

.cta-primary-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem; /* Reduced padding */
    background: transparent; /* Sleek outline style */
    border: 1px solid #d4af37; /* Premium Gold */
    color: #fff;
    border-radius: 50px; /* Modern Pill Shape */
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
}

.cta-primary-btn:hover {
    background: #d4af37;
    color: #000;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4); /* Gold Glow (No Purple) */
}

.cta-subtitle {
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-divider {
    text-align: center;
    color: var(--text-secondary);
    margin: 2rem 0;
}

.secondary-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.secondary-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.secondary-link:hover {
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

.secondary-link i {
    color: var(--accent-primary);
}

/* ==========================================
   RESPONSIVE
   ========================================== */
/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--nav-bg);
        padding: 2rem;
        border-bottom: 1px solid var(--border-color);
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex;
        animation: slideDown 0.3s ease forwards;
    }

    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 3rem; /* Better sizing for mobile */
    }
    
    /* Ensure padding isn't too huge on mobile */
    .section {
        padding: 3rem 1.5rem;
    }
    
    .about-grid, .stats-grid, .ai-projects-grid, .skills-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}
