* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", Arial, sans-serif;
    color: #333;
    line-height: 1.7;
    background: #fff;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.narrow {
    max-width: 800px;
}

header {
    position: sticky;
    top: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #e6e6e6;
    z-index: 1000;
    scroll-margin-top: 100px;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo {
    display: flex;
    align-items: center;
}

/* Gecorrigeerd: Voorkomt dat het logo te groot laadt en de boel wegduwt */
.logoimg {
    height: 50px; 
    width: auto; 
    display: block;
}

/* Toegevoegd: Dwingt de menulinks strak horizontaal naast elkaar */
nav {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav a {
    text-decoration: none;
    color: #444;
    margin-left: 30px;
    transition: 0.3s;
}

nav a:hover {
    color: #9b8160;
}

.hero {
    height: 90vh;
    background:
        linear-gradient(rgba(0,0,0,.35), rgba(0,0,0,.35)),
        url("images/hero.png");
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-overlay {
    color: white;
    max-width: 700px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 35px;
}

.hero a {
    color: white;
    text-decoration: none;
    margin-left: 8px;
}

.hero a:hover {
    text-decoration: underline;
}

.button {
    display: inline-block;
    padding: 14px 30px;
    text-decoration: none;
    color: white;
    border: 1px solid white;
    transition: .3s;
}

.button:hover {
    background: white;
    color: #333;
}

.section {
    padding: 100px 0;
}

.light {
    background: #f7f7f7;
}

.section h2 {
    font-size: 2.3rem;
    font-weight: 300;
    margin-bottom: 40px;
}

.section p {
    margin-bottom: 20px;
}

.projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.project {
    background: white;
    overflow: hidden;
    border: 1px solid #ececec;
}

.project-image {
    height: 220px;
    background: linear-gradient(135deg,#d0d0d0,#f0f0f0);
}

.project h3 {
    padding: 20px 20px 10px;
    font-weight: 400;
}

.project p {
    padding: 0 20px 20px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
    gap: 30px;
}

.step {
    text-align: center;
}

.step span {
    display: inline-flex;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    background: #9b8160;
    color: white;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.contact {
    background: #fafafa;
}

.contact a {
    color: #333;
    text-decoration: none;
}

/* Toegevoegd: hover-effect voor de contactgegevens onderaan */
.contact a:hover {
    text-decoration: underline;
    color: #9b8160;
}

.project img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

footer {
    border-top: 1px solid #e6e6e6;
    text-align: center;
    padding: 35px;
    color: #777;
}

footer a {
    color: #777;
    text-decoration: none;
    margin-left: 8px;
}

footer a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }

    nav a {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.6rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .section {
        padding: 70px 0;
    }
}
