/* --- Basis Instellingen & Variabelen --- */
:root {
    /* De kleuren definities */
    --azure-blue: #0078D4;       
    --azure-dark: #004E8C;
    --text-color: #333333;
    --bg-color: #ffffff;
    --bg-light: #f3f6f9;         
    --terminal-bg: #1e1e1e;      
    --terminal-text: #d4d4d4;
    --accent-green: #107c10;     

    /* HIER ZAT HET PROBLEEM: De koppeling voor de nieuwe contact-blokjes */
    --primary: var(--azure-blue);  /* Zorgt dat --primary nu het blauw pakt */
    --secondary: #2b3a42;          /* Donkere tekstkleur voor contact */
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* --- Navigatie --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--azure-blue);
    font-family: 'Courier New', Courier, monospace;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--azure-blue);
}

/* --- Hero Sectie --- */
.hero {
    /* Let op: ik heb de hoogte iets aangepast, 30px was erg laag in je vorige bestand */
    min-height: 400px; 
    background: linear-gradient(135deg, var(--bg-light) 0%, #e6f0ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--azure-blue);
}

.tagline {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    background-color: var(--azure-blue);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s, transform 0.2s;
}

.btn:hover {
    background-color: var(--azure-dark);
    transform: translateY(-2px);
}

/* --- Algemene Sectie Stijlen --- */
.container {
    padding: 4rem 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-light {
    background-color: var(--bg-light);
}

h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
    color: var(--azure-dark);
}

/* --- Terminal Stijl (About Me) --- */
.terminal-window {
    background-color: var(--terminal-bg);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Consolas', 'Monaco', monospace;
}

.terminal-header {
    background-color: #2d2d2d;
    padding: 10px 15px;
    display: flex;
    align-items: center;
}

.dot {
    height: 12px;
    width: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

.red { background-color: #ff5f56; }
.yellow { background-color: #ffbd2e; }
.green { background-color: #27c93f; }

.title {
    margin-left: 15px;
    color: #999;
    font-size: 0.8rem;
}

.terminal-body {
    padding: 20px;
    color: var(--terminal-text);
}

.prompt { color: var(--azure-blue); margin-right: 10px; }
.cmd { color: var(--accent-green); }
.output { margin-bottom: 15px; display: block; }

/* --- Cards (Certificaten) --- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--azure-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--azure-blue);
    margin-bottom: 1rem;
}

.badge {
    background-color: #e6f0ff;
    color: var(--azure-blue);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    margin: 0.5rem 0;
}

/* --- Skills Tags --- */
.skills-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.skill-item {
    background-color: white;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.skill-item:hover {
    border-color: var(--azure-blue);
    color: var(--azure-blue);
    background-color: #f0f8ff;
}

/* --- CONTACT GRID STIJL (Gerepareerd) --- */
.section-block {
    margin-bottom: 40px; /* Zorgt voor ruimte om de sectie heen */
}

.section-title {
    color: var(--primary); /* Pakt nu correct het blauw */
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 10px;
    padding: 0 20px; /* Beetje padding aan de zijkanten */
}

.contact-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--secondary); /* Pakt nu correct donkergrijs */
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

/* Hover effect */
.contact-card:not(.non-clickable):hover {
    transform: translateY(-3px);
    border-color: var(--primary); 
    box-shadow: 0 8px 15px rgba(0, 120, 212, 0.15);
}

.icon-box {
    width: 45px;
    height: 45px;
    background-color: rgba(0, 120, 212, 0.1); 
    color: var(--primary);
    border-radius: 50%; 
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0; 
}

.info-box {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: #888;
    font-weight: 700;
    margin-bottom: 2px;
}

.value {
    font-weight: 600;
    font-size: 0.95rem;
}

/* --- Footer --- */
footer {
    background-color: var(--azure-dark);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.socials {
    margin-top: 1rem;
}

.socials a {
    color: white;
    margin: 0 10px;
    text-decoration: none;
    opacity: 0.8;
}

.socials a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Mobiele aanpassing */
@media (max-width: 768px) {
    .hero h1 { font-size: 2rem; }
    nav { flex-direction: column; gap: 10px; }
    .contact-grid { grid-template-columns: 1fr; }
}