/* RESET EN BASIS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: white;
}

/* HERO */
.container-hero {
    background-image: url('../homepage/home2.png');
    background-size: cover;
    background-position: center;
    height: 850px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 20px;
    clip-path: polygon(0 100%, 100% 80%, 100% 0, 0 0);
}

.container-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.container-hero h2 {
    font-size: 1.5rem;
    color: white; /* Voeg hier de kleur wit toe */
}

/* INFO CONTAINER */
.container-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px;
    background-color: white;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.info-left img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
}

.info-right {
    flex: 1;
    margin-left: 20px;
}

.info-right h2 {
    margin-bottom: 10px;
    color: white; /* Voeg hier de kleur wit toe */
}

.info-right p {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}

/* UNIFORME KNOPSTIJL */
button,
.contact-button,
.contact-button3,
.portfolio-button {
    padding: 10px 20px;
    background-color: #34679A; /* Uniforme kleur */
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s, color 0.3s;
}

button:hover,
.contact-button:hover,
.contact-button3:hover,
.portfolio-button:hover {
    background-color: #2b5781; /* Donkerdere hoverkleur */
}

/* GALERIJ */
.container-gallery {
    width: 100vw;
    margin: 0;
    padding: 40px 20px;
    background-color: #34679A;
    text-align: center;
    color: white;
}

.container-gallery h2 {
    margin-bottom: 20px;
    color: white; /* Voeg hier de kleur wit toe */
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.image-grid img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* OVER MIJ */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px 20px;
    background-color: #D9D9D9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.about-me {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.about-me-image img {
    width: 100%;
    max-width: 665px;
    height: auto;
}

.about-me-text {
    flex: 1;
    margin-right: 20px;
    max-width: 600px;
}

.about-me-text h1 {
    color: #34679A;
    margin-bottom: 20px;
}

.about-me-text p {
    line-height: 1.6;
    color: #333;
}

/* FOTO GALLERIJ */
.photo-gallery {
    display: grid;
    grid-template-columns: repeat(2, 600px);
    grid-template-rows: repeat(2, 400px);
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    padding: 10px;
}

.photo-item {
    position: relative;
    overflow: hidden;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 30px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .container-info {
        flex-direction: column;
        text-align: center;
    }

    .info-left,
    .info-right {
        margin: 20px 0;
    }

    .about-me {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-me-text {
        margin: 0;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container-hero h1 {
        font-size: 1.8rem;
    }

    .container-hero h2 {
        font-size: 1.2rem;
        color: white; /* Voeg hier de kleur wit toe voor telefoonschermen */
    }

    .container-info {
        padding: 20px;
    }

    .info-left img {
        max-width: 100%;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .photo-text {
        font-size: 20px;
    }

    .contact-button3,
    .portfolio-button,
    .contact-button {
        width: 100%;
        font-size: 14px;
    }

    .photo-gallery {
        grid-template-columns: 1fr;
    }

    .container-gallery h2 {
        color: white; /* Voeg hier de kleur wit toe voor telefoonschermen */
    }
}
