/* --- 0. VARIABELEN & RESET --- */
:root {
    /* Kleuren gebaseerd op logo (Paars/Blauw/Cyaan) */
    --bg-dark: #050a14;      /* Diep donkerblauw/zwart */
    --bg-card: rgba(20, 30, 50, 0.6);
    --text-white: #ffffff;
    --text-gray: #94a3b8;
    
    --primary: #6366f1;      /* Indigo */
    --secondary: #1000ff; /* Paars */
    --accent: #06b6d4;       /* Cyaan */
    
    --gradient: linear-gradient(135deg, var(--accent), var(--primary), var(--secondary));
    
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Poppins', sans-serif;
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- 1. PRELOADER (DE NIEUWE STRAKKE VERSIE) --- */
.preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: var(--bg-dark);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Vloeiende overgang: schuift snel en soepel naar boven */
    transition: transform 1.2s cubic-bezier(0.85, 0, 0.15, 1); 
}

.preloader.finish {
    /* Schuift de preloader uit het zicht */
    transform: translateY(-100%);
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInPreloader 0.5s 0.2s forwards;
}

.loader-logo {
    width: 200px; 
    height: auto;
    margin-bottom: 25px;
    /* Subtiele 'hartslag' animatie voor een tech-vibe */
    animation: logoPulse 2s ease-in-out infinite alternate; 
}

.loader-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.loader-text {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 8px;
    opacity: 0.7;
}

.loader-bar {
    width: 250px;
    height: 3px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient);
    animation: loadingBar 2s ease-in-out forwards;
}

/* Preloader Keyframes */
@keyframes loadingBar {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes logoPulse {
    0% { transform: scale(1); opacity: 1; filter: drop-shadow(0 0 5px var(--accent)); }
    100% { transform: scale(1.05); opacity: 0.8; filter: drop-shadow(0 0 15px var(--secondary)); }
}

@keyframes fadeInPreloader {
    to { opacity: 1; }
}

/* --- ACHTERGROND --- */
#canvas1 {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; opacity: 0.3; pointer-events: none;
}

/* --- NAVIGATIE --- */
.navbar {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1.2rem 5%; position: fixed; width: 100%; top: 0; z-index: 1000;
    background: rgba(5, 10, 20, 0.8); backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    transition: 0.3s;
}

.logo-container {
    display: flex; align-items: center; gap: 10px;
}

.nav-logo {
    height: 40px; 
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700; font-size: 1.2rem; letter-spacing: 1px;
}

.nav-links { list-style: none; display: flex; gap: 2rem; align-items: center; }
.nav-links a { color: var(--text-white); text-decoration: none; font-weight: 500; transition: 0.3s; }
.nav-links a:hover { color: var(--accent); }

.btn-nav {
    padding: 0.6rem 1.5rem; border: 1px solid var(--primary); border-radius: 5px;
    background: rgba(99, 102, 241, 0.1); transition: 0.3s;
}
.btn-nav:hover { background: var(--primary); color: white; box-shadow: 0 0 15px var(--primary); }

.hamburger { display: none; font-size: 1.5rem; cursor: pointer; }

/* --- HERO SECTION --- */
.hero {
    min-height: 100vh; display: flex; align-items: center; padding-top: 80px;
}
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

.hero-container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}

.badge {
    display: inline-block; padding: 5px 15px; background: rgba(255,255,255,0.1);
    border-radius: 20px; font-size: 0.8rem; margin-bottom: 1rem; color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

.hero h1 {
    font-size: 3.5rem; line-height: 1.1; margin-bottom: 1.5rem; font-family: var(--font-heading);
}

.highlight {
    background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.hero p { font-size: 1.1rem; color: var(--text-gray); margin-bottom: 2rem; max-width: 500px; }

.cta-group { display: flex; gap: 1rem; }
.btn-primary {
    padding: 1rem 2rem; background: var(--gradient); border: none; border-radius: 50px;
    color: white; font-weight: 600; cursor: pointer; text-decoration: none; transition: 0.3s;
    display: inline-flex; align-items: center; gap: 10px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 30px rgba(168, 85, 247, 0.4); }

.btn-secondary {
    padding: 1rem 2rem; background: transparent; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px; color: white; text-decoration: none; transition: 0.3s;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); }

/* Hero Visual (Rechts) */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.glowing-circle {
    width: 300px; height: 300px; border-radius: 50%;
    background: var(--gradient); opacity: 0.2; filter: blur(60px);
    position: absolute; animation: pulse 4s infinite alternate;
}
.floating-logo {
    width: 200px; position: relative; z-index: 2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-20px); } }
@keyframes pulse { 0% { transform: scale(1); opacity: 0.2; } 100% { transform: scale(1.2); opacity: 0.4; } }

/* --- STATS BAR --- */
.stats-bar { background: rgba(255,255,255,0.02); padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.05); border-bottom: 1px solid rgba(255,255,255,0.05); }
.stats-grid { display: flex; justify-content: space-around; text-align: center; }
.stat-number { font-family: var(--font-heading); font-size: 2.5rem; font-weight: 700; color: var(--text-white); }
.stat-label { display: block; color: var(--text-gray); font-size: 0.9rem; margin-top: 5px; }

/* --- SECTIES ALGEMEEN --- */
.section { padding: 8rem 0; }
.dark-bg { background: rgba(0,0,0,0.2); }
.subtitle { color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-size: 0.9rem; margin-bottom: 1rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-family: var(--font-heading); margin-bottom: 1.5rem; }
.text-center { text-align: center; }

/* --- ABOUT / TEAM --- */
/* ... (andere CSS stijlen) ... */

/* --- ABOUT / TEAM --- */
.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.profile-card {
    background: var(--bg-card); padding: 2rem; border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1); text-align: center;
    max-width: 350px; margin: 0 auto;
}
.profile-img-placeholder {
    /* Dit definieert het ronde frame */
    width: 120px; 
    height: 120px; 
    background: rgba(255,255,255,0.1);
    border-radius: 50%; 
    margin: 0 auto 1.5rem; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    overflow: hidden; /* Zorgt dat de afbeelding in de cirkel blijft */
    border: 2px solid var(--secondary);
}

.profile-img-placeholder .profile-img {
    /* Dit zorgt ervoor dat de afbeelding de hele ruimte vult */
    width: 100%; 
    height: 100%; 
    object-fit: cover; /* Belangrijk: snijdt de afbeelding bij zodat deze de cirkel vult zonder te vervormen */
}

.check-list { list-style: none; margin-top: 2rem; }

/* ... (andere CSS stijlen) ... */
.check-list li { margin-bottom: 10px; color: var(--text-gray); }
.check-list i { color: var(--accent); margin-right: 10px; }

/* --- SERVICES CARDS (met 3D tilt stijl) --- */
.cards-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; margin-top: 3rem;
}
.service-card {
    background: var(--bg-card); padding: 2.5rem; border-radius: 15px;
    border: 1px solid rgba(255,255,255,0.05); transition: 0.3s;
    display: flex; flex-direction: column; height: 100%;
    transform-style: preserve-3d; /* Nodig voor VanillaTilt */
}
.service-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.icon-box { font-size: 2.5rem; margin-bottom: 1.5rem; color: var(--secondary); }
.service-card h3 { font-size: 1.4rem; margin-bottom: 1rem; }
.service-card p { color: var(--text-gray); font-size: 0.95rem; margin-bottom: auto; }
.tags { display: flex; gap: 10px; list-style: none; margin-top: 1.5rem; flex-wrap: wrap; }
.tags li { font-size: 0.75rem; padding: 4px 10px; background: rgba(255,255,255,0.05); border-radius: 5px; color: var(--accent); }

/* --- TIMELINE (Werkwijze) --- */
.timeline { position: relative; margin-top: 3rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.timeline::before {
    content: ''; position: absolute; left: 20px; top: 0; bottom: 0;
    width: 2px; background: rgba(255,255,255,0.1);
}
.timeline-item { display: flex; gap: 2rem; margin-bottom: 3rem; position: relative; }
.step-number {
    width: 40px; height: 40px; background: var(--bg-dark); border: 2px solid var(--primary);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: var(--primary); z-index: 2; flex-shrink: 0;
}
.step-content h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.step-content p { color: var(--text-gray); }

/* --- CONTACT FORM --- */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; background: var(--bg-card); padding: 3rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.05); }
.contact-details { margin-top: 2rem; }
.detail-item { display: flex; align-items: center; gap: 15px; margin-bottom: 1rem; color: var(--text-gray); }
.detail-item i { color: var(--accent); width: 20px; }

.input-group { margin-bottom: 1.5rem; }
.input-group label { display: block; margin-bottom: 0.5rem; font-size: 0.9rem; color: var(--text-gray); }
.input-group input, .input-group textarea {
    width: 100%; padding: 12px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px; color: white; font-family: var(--font-body);
}
.input-group input:focus, .input-group textarea:focus { outline: none; border-color: var(--primary); }
.full-width { width: 100%; justify-content: center; }

/* --- FOOTER --- */
footer { padding: 2rem 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 4rem; font-size: 0.9rem; color: var(--text-gray); }
.footer-content { display: flex; justify-content: space-between; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: white; font-weight: 700; font-family: var(--font-heading); }
.socials a { color: var(--text-gray); margin-left: 15px; font-size: 1.2rem; transition: 0.3s; }
.socials a:hover { color: var(--primary); }

/* --- ANIMATIE KLASSEN --- */
.reveal { opacity: 0; transform: translateY(30px); transition: 1s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hamburger { display: block; }
    .hero-container, .split-layout, .contact-container { grid-template-columns: 1fr; gap: 3rem; }
    .hero { padding-top: 120px; text-align: center; }
    .hero h1 { font-size: 2.5rem; }
    .cta-group { justify-content: center; }
    .timeline::before { left: 19px; }
    .footer-content { flex-direction: column; gap: 1rem; }
}