html { scroll-behavior: smooth; scroll-padding-top: 90px; }

:root {
    --bg-color: #000000;
    --bg-darker: #0a0a0a;
    --text-main: #f5f5f7;
    --text-muted: #a1a1a6;
    --accent: #0071e3;
    --border-color: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    
}

/* --- Navigatie --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: none;
}

.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}
.navbar::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.logo {
    font-weight: 800;
    font-size: 1.3rem;
    letter-spacing: -0.5px;
}

.links a {
    text-decoration: none;
    color: var(--text-main);
    margin-left: 25px;
    font-size: 0.9rem;
    font-weight: 400;
    transition: color 0.3s;
}

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

/* --- Hero --- */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 20px 60px;
    position: relative;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.8rem, 8vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 20px;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    font-weight: 400;
    height: 40px;
}

.highlight { color: var(--accent); font-weight: 600; }
.cursor-type { color: var(--accent); animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--text-muted);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- F1 Countdown --- */
.f1-countdown {
    padding: 60px 20px;
    background: #0a0a0a;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.f1-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 2px;
}
.f1-title i { color: #e10600; /* F1 Rood */ }

.countdown-container {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 20px;
}

.countdown-box {
    background: transparent;
    padding: 0;
    border: none;
    min-width: auto;
}

.countdown-box span {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-main);
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.countdown-box p {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    margin-top: 6px;
    letter-spacing: 1.5px;
    font-weight: 500;
}

.f1-location {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- Algemene Secties --- */
.section { padding: 120px 20px; }
.bg-darker { background-color: var(--bg-darker); }
.container { max-width: 1000px; margin: 0 auto; }

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* --- Over Mij --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.about-block h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--text-main);
}

.about-block p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.skills span {
    background: #1a1a1a;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

/* Interesses */
.interests-list {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.interest-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.interest-item i {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 5px;
    width: 30px;
    text-align: center;
}

.interest-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--text-main);
}

.interest-item span {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Quote Sectie */
.quote-section {
    padding: 100px 20px;
    text-align: center;
    background: #000;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.quote-text {
    font-size: 2.5rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text-main);
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
    letter-spacing: -1px;
}

/* --- Tijdlijn --- */
.timeline { display: flex; flex-direction: column; gap: 40px; }

.timeline-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.timeline-item:last-child { border-bottom: none; padding-bottom: 0; }

.timeline-date {
    font-size: 1rem;
    color: var(--accent);
    font-weight: 500;
    padding-top: 5px;
}

.timeline-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* --- Projecten & Setup --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background: #111111;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, border-color 0.3s;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
}

.project-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.project-card p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

.project-tag {
    font-size: 0.8rem;
    background: #222;
    padding: 5px 12px;
    border-radius: 10px;
    color: var(--accent);
}

/* --- Contact & Formulier --- */
.contact-section { text-align: center; border-top: 1px solid var(--border-color); }

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    text-align: left;
    margin-top: 50px;
}

.contact-info p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.contact-info p i { color: var(--accent); font-size: 1.3rem; }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.contact-form input:focus, 
.contact-form textarea:focus {
    border-color: var(--accent);
}

.contact-form button {
    align-self: flex-start;
    cursor: pointer;
    border: none;
}



.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: var(--text-main);
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #1a1a1a;
    border-color: var(--accent);
    color: var(--accent);
}

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 16px 36px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: background 0.3s, transform 0.3s;
}

.btn-primary:hover {
    background: #0077ed;
    transform: scale(1.02);
}

/* --- Back to Top --- */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 1000;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #0077ed;
    transform: translateY(-5px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .about-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .timeline-item { grid-template-columns: 1fr; gap: 10px; }
    .links { display: none; }
    .back-to-top { bottom: 20px; right: 20px; }
    .quote-text { font-size: 1.8rem; }
    .countdown-container {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 20px;
}
    .input-group { grid-template-columns: 1fr; }
}


/* --- Utility --- */
.text-center { text-align: center; }

/* --- Fade-up fallback: nooit onzichtbaar blijven --- */
.fade-up { opacity: 1; }
/* --- Toegankelijkheid: respecteer reduced motion --- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}
/* --- Beschikbaarheid --- */
.availability {
    margin-top: 30px;
    padding: 20px 24px;
    background: #111;
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.availability h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent);
    margin-bottom: 14px;
}

.availability ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.availability li {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.availability li strong {
    color: var(--text-main);
    font-weight: 600;
    margin-right: 6px;
}