
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f7f7f7;
}

.hero {
    position: relative;
    width: 100%;
    height: 100vh; 
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7); 
}

.hero-text h1 {
    font-size: 4rem; 
    margin: 0; 
}

.hero-text p {
    font-size: 1.5rem; 
    margin: 10px 0 0; 
}

/* Navigatie menu */
.navbar {
    position: absolute;
    top: 20px;
    left: 0; 
    z-index: 10; 
    background-color: #333;
    padding: 10px 20px;
    text-align: center;
}

.navbar ul {
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: center;
}

.navbar li {
    margin-right: 20px; 
}

.navbar a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #9BC7EC;
}


.portfolio {
    padding: 40px 20px; 
    background-color: #f8f9fa; 
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    justify-items: center; 
}

.portfolio-grid img {
    width: 100%;
    aspect-ratio: 1 / 1; 
    object-fit: cover; 
    border: 2px solid #ddd; 
    box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1); 
    border-radius: 8px; 
}

.portfolio-grid img:hover {
    transform: scale(1.05);
}

.portfolio h1 {
    font-size: 48px; 
    font-family: 'Roboto', sans-serif; 
    font-weight: 700; 
    color: #111; 
    letter-spacing: 2px; 
    text-transform: uppercase; 
    position: relative;
    display: inline-block;
}

.portfolio h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff2d55, #00d2ff);
    opacity: 0.6;
}

.about-me {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    background-color: #f4f4f4;
    height: 100vh;
}

.container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.image {
    flex: 1;
    text-align: center;
}

.image img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1); 
    transition: transform 0.3s ease-in-out;
}

.image img:hover {
    transform: scale(1.1); 
}

.text {
    flex: 2;
    padding: 20px;
}

.text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #9BC7EC;
    font-family: 'Roboto', sans-serif;
}

.text p {
    font-size: 18px;
    line-height: 1.6;
    color: #666;
    font-family: 'Open Sans', sans-serif;
    transition: color 0.3s ease;
}

.text p:hover {
    color: #333;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
        text-align: center;
    }

    .image {
        margin-bottom: 20px;
    }

    .text h2 {
        font-size: 30px;
    }

    .text p {
        font-size: 16px;
    }
}

.photo-gallery {
    background-color: #9BC7EC; 
    padding: 50px 0;
    overflow-x: auto; 
}

.photo-gallery h2 {
    text-align: center; 
    font-size: 24px; 
    margin-bottom: 20px; 
}

.photo-gallery .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.photo {
    flex: 1;
    min-width: 200px; 
    text-align: center;
}

.photo img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Maak de hoeken van de afbeeldingen een beetje afgerond */
    transition: transform 0.3s ease;
}

.photo img:hover {
    transform: scale(1.1); /* Zoom-in effect bij hover */
}

/* Contactpagina Stijlen */
.contact {
    text-align: center;
    margin: 50px auto;
    padding: 40px;
    max-width: 800px;
    background: linear-gradient(to bottom, #9BC7EC, #6fa3d1); /* Toegevoegd verloop */
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Zachte schaduw voor diepte */
    color: #333; /* Donkere tekst voor leesbaarheid */
    transition: transform 0.3s ease-in-out; /* Toegevoegde overgang voor beweging */
}

.contact:hover {
    transform: translateY(-10px); /* Effekteert de pagina wanneer er over wordt gehoveerd */
}

.contact h1 {
    font-size: 2.8rem;
    color: #333;
    margin-bottom: 30px;
    font-family: 'Roboto', sans-serif;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.contact h1:hover {
    color: #00d2ff; /* Kleurverandering bij hover */
}

.contact p {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.8;
    font-family: 'Open Sans', sans-serif;
}

/* Stijlen voor het contactformulier */
.contact-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    font-size: 1rem;
    border: 1px solid #9BC7EC;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    transition: all 0.3s ease; /* Voeg overgang toe voor smooth hover effecten */
    background-color: #fff; /* Witte achtergrond voor velden */
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00d2ff;
    outline: none;
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5); /* Lichtblauwe schaduw bij focus */
}

.contact-form input:hover,
.contact-form textarea:hover {
    background-color: #f1f1f1; /* Subtiele achtergrondverandering bij hover */
}

.contact-form button {
    background-color: #00d2ff;
    color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s; /* Toevoegen van overgang */
}

.contact-form button:hover {
    transform: scale(1.05); /* Maak de knop iets groter bij hover */
    background-color: #0099cc;
}

/* Footer */
.footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
    text-align: center;
}

.footer a {
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    transition: color 0.3s;
}

.footer a:hover {
    color: #00d2ff; /* Lichte kleur bij hover */
}

/* Animatie voor pagina inladen */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

body {
    animation: fadeIn 1.5s ease-in-out;
}
