/* Algemene body */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #121212;
    color: #f1f1f1;
}

/* Header */
header {
    height: 100px;
    background: linear-gradient(135deg, #1f1f1f, #333);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

header h1 {
    font-size: 1.8em;
    margin: 0;
    letter-spacing: 1px;
}

/* Navigatie */
nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: #f1f1f1;
    text-decoration: none;
    font-weight: bold;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.3s, transform 0.3s;
}

nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Secties */
section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: auto;
}

/* Sectie titels */
section h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    color: #57a6ff;
}

/* About Me */
#about p {
    max-width: 700px;
    margin: auto;
    line-height: 1.6;
    font-size: 1.1em;
}

/* Hero / Scroll carousel */
.carousel-item {
    height: 80vh;
    background-size: cover;
    background-position: center;
}

/* Footer */
footer {
    background-color: #1f1f1f;
    padding: 20px 0;
    color: #aaa;
    text-align: center;
}

/* Contact formulier */
#contact form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contact input, #contact textarea {
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #444;
    background-color: #1a1a1a;
    color: #f1f1f1;
    font-size: 1em;
}

#contact button {
    padding: 12px;
    background: #57a6ff;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1em;
    cursor: pointer;
    transition: background 0.3s;
}

#contact button:hover {
    background: #2575fc;
}

/* Projecten kaart */
#projects {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.project-card {
    background: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.6);
    width: 280px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.8);
}

.project-card img {
    width: 100%;
    border-radius: 6px;
    margin-bottom: 15px;
}

.project-card h3 {
    margin: 10px 0 5px 0;
}
