/* Algemene stijlen */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigatie */
nav {
    background-color: #2c3e50;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a:hover {
    color: #3498db;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: #3498db;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.download-btn {
    background-color: #e74c3c;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.download-btn:hover {
    background-color: #e74c3c;
}

/* Hero sectie */
.hero {
    display: flex;
    align-items: center;
    min-height: 100vh;
    padding: 100px 0 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
}

.hero-container {
    display: flex;
    align-items: center;
    width: 100%;
}

.hero-content {
    flex: 1;
    padding-right: 50px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #fff;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ecf0f1;
}

.cta-btn {
    background-color: #e74c3c;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s, transform 0.3s;
    display: inline-block;
    font-weight: 600;
}

.cta-btn:hover {
    background-color: #c0392b;
    transform: translateY(-3px);
}

.hero-image {
    flex: 1;
    text-align: center;
}

.profile-img {
    width: 500px;
    height: auto;
    border-radius: 1%;
    object-fit: fill;
   
}

.profile-img:hover {
    transform: scale(1.05);
}

/* Secties */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    color: #2c3e50;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #3498db;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

/* Hobby's sectie */
.hobbies {
    background-color: #fff;
}

.hobbies-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.hobby-card {
    background-color: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border-top: 4px solid #3498db;
}

.hobby-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.hobby-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #3498db;
}

.hobby-card h3 {
    margin-bottom: 15px;
    color: #2c3e50;
}

/* Projecten sectie */
#projects {
    background-color: #ecf0f1;
}

.projects-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.project-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.project-img {
    width: 100%;
    height: auto;
    object-fit: fill;
    transition: transform 0.5s;
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

.project-info {
    padding: 20px;
}

.project-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Opleiding sectie */
.education {
    background-color: #fff;
}

.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.education-item {
    margin-bottom: 40px;
    padding-left: 30px;
    border-left: 3px solid #3498db;
    position: relative;
}

.education-item::before {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #3498db;
    left: -10px;
    top: 5px;
}

.education-year {
    font-weight: bold;
    color: #3498db;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.education-item h3 {
    margin-bottom: 10px;
    color: #2c3e50;
}

/* Code talen sectie */
.skills {
    background-color: #2c3e50;
    color: white;
}

.skills .section-title {
    color: white;
}

.skills-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.skill {
    background-color: #3498db;
    color: white;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: transform 0.3s, background-color 0.3s;
}

.skill:hover {
    transform: translateY(-5px);
    background-color: #2980b9;
}

/* Contact sectie */
.contact {
    background-color: #34495e;
    color: white;
}

.contact .section-title {
    color: white;
}

.contact-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.contact-info {
    flex: 1;
    min-width: 300px;
    margin-right: 50px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contact-info p {
    margin-bottom: 10px;
}

.contact-form {
    flex: 1;
    min-width: 300px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 4px;
    background-color: #ecf0f1;
    transition: box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #3498db;
}

.submit-btn {
    background-color: #3498db;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.3s, transform 0.3s;
    width: 100%;
}

.submit-btn:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

/* Footer */
footer {
    background-color: #1a252f;
    color: white;
    text-align: center;
    padding: 20px 0;
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
    }

    .nav-links {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-links li {
        margin: 5px 10px;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        padding-right: 0;
        margin-bottom: 40px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .contact-container {
        flex-direction: column;
    }

    .contact-info {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    section {
        padding: 60px 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .hobbies-container,
    .projects-container {
        grid-template-columns: 1fr;
    }
    
    .profile-img {
        width: 250px;
        height: 250px;
    }
}