/* Algemene instellingen */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:Arial, sans-serif;
    background:#f4f4f4;
    color:#333;
    line-height:1.6;
    min-height:100vh;
    display:flex;
    flex-direction:column;
}

/* Navbar */

nav{
    background:#1e293b;
    padding:20px;
}

nav ul{
    list-style:none;
    display:flex;
    justify-content:center;
    gap:30px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    transition:0.3s;
}

nav a:hover{
    color:#60a5fa;
}

/* Hamburger menu */

.menu-toggle{
    display:none;
    color:white;
    font-size:32px;
    cursor:pointer;
}

/* Hero */

.hero{
    text-align:center;
    padding:80px 20px;
}

.hero img{
    width:180px;
    height:180px;
    object-fit:cover;
    border-radius:50%;
    margin-bottom:20px;
}

.hero h1,
.hero h2{
    color:#1e293b;
    margin-bottom:15px;
}

/* Buttons */

.button,
.btn{
    display:inline-block;
    padding:12px 20px;
    background:#2563eb;
    color:white;
    text-decoration:none;
    border-radius:8px;
    transition:0.3s;
}

.button:hover,
.btn:hover{
    background:#1d4ed8;
}

/* Wie ben ik */

.wie-ben-ik{
    text-align:center;
    padding:60px 20px;
    max-width:900px;
    margin:auto;
}

/* Projecten */

.projects-container{
    width:90%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-bottom:60px;
}

.project-card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.project-card:hover{
    transform:translateY(-5px);
}

.project-card img{
    width:100%;
    height:220px;
    object-fit:cover;
}

.project-content{
    padding:20px;
}

.project-content h2{
    margin-bottom:10px;
}

.project-content p{
    margin-bottom:15px;
}

/* Vaardigheden */

.skills-container{
    width:90%;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:20px;
    margin-bottom:60px;
}

.skill-card{
    background:white;
    padding:30px;
    text-align:center;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,0.1);
    transition:0.3s;
}

.skill-card:hover{
    transform:translateY(-5px);
}

.skill-card h2{
    color:#2563eb;
    margin-bottom:10px;
}

/* Contact */

.contact-header{
    background:#1e293b;
    color:white;
    text-align:center;
    padding:100px 20px;
}

.contact-header h1{
    font-size:48px;
    margin-bottom:10px;
}

.contact-container{
    display:flex;
    justify-content:center;
    padding:60px 20px;
}

.contact-card{
    background:white;
    width:100%;
    max-width:700px;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

.contact-item{
    background:#f8fafc;
    padding:20px;
    margin-bottom:20px;
    border-left:5px solid #2563eb;
    border-radius:10px;
}

.project-detail {
    max-width: 1000px;
    margin: 50px auto;
    padding: 30px;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.project-detail h1 {
    text-align: center;
    font-size: 3rem;
    color: #333;
    margin-bottom: 30px;
}

.project-detail img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 30px;
}

.project-detail p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.project-detail strong {
    color: #111;
}

.btn {
    display: inline-block;
    background: #0078ff;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 8px;
    margin-top: 20px;
    transition: 0.3s;
}

.btn:hover {
    background: #005fcc;
    transform: translateY(-2px);
}

body {
    background-color: #f5f7fa;
}

/* CV Pagina */

.cv-header{
    background:#1e293b;
    color:white;
    text-align:center;
    padding:80px 20px;
}

.cv-header h1{
    font-size:40px;
    margin-bottom:10px;
}

.cv-preview{
    display:flex;
    justify-content:center;
    align-items:center;
    padding:50px 20px;
}

.cv-preview img{
    width:100%;
    max-width:900px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.download-cv{
    text-align:center;
    margin-bottom:50px;
}

/* Footer */

footer{
    background:#1e293b;
    color:white;
    text-align:center;
    padding:25px;
    margin-top:auto;
}

/* Responsive */

@media(max-width:900px){

    .projects-container{
        grid-template-columns:repeat(2,1fr);
    }

    .skills-container{
        grid-template-columns:repeat(2,1fr);
    }
}

@media(max-width:768px){

    .menu-toggle{
        display:block;
        text-align:right;
    }

    nav ul{
        display:none;
        flex-direction:column;
        text-align:center;
        gap:15px;
        margin-top:15px;
    }

    nav ul.active{
        display:flex;
    }

    .cv-header h1{
        font-size:36px;
    }
}

@media(max-width:600px){

    .projects-container{
        grid-template-columns:1fr;
    }

    .skills-container{
        grid-template-columns:1fr;
    }

    .contact-header h1{
        font-size:36px;
    }

    .cv-preview img{
        width:100%;
    }
}