/* Algemene body-opmaak */
body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    box-sizing: border-box;
    background-color: white;
    color: #ffffff;
}

/* Foto container 1 */
.about-me {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.info-left img {
    width: 100%;
    clip-path: polygon(100% 0, 100% 100%, 0 100%, 0 30%);
}

p {
    color: black;
}

.contact-button {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: white; 
    color: #34679A; 
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #34679A;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s; 
}

.contact-button:hover {
    background-color: #34679A; 
    color: white;
}

.about-me-image img {
    width: 300px;
    height: 300px;
    margin-left: 20px;
}

.about-me-text {
    flex: 1;
    margin-right: 20px;
}

.about-me-text h1 {
    color: #34679A;
    margin-bottom: 20px;
}

.about-me-text p {
    line-height: 1.6;
}

/* Container 1 - Over Mij */
.container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 60px auto;
    background-color: #D9D9D9;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    color: #333;
}

.about-me {
    display: flex;
    align-items: center;
}

.about-me-image img {
    width: 665px;
    height: 417px;
    opacity: 0;
}

.about-me-text {
    flex: 1;
    max-width: 400px;
}

.about-me-text h1 {
    color: #34679A;
    margin-bottom: 20px;
}

.about-me-text p {
    line-height: 1.6;
}

/* Container 2 - Mijn Geschiedenis */
.container2 {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    margin: 20px;
}

.image-container {
    width: 511px;
    height: 365px;
    overflow: hidden;
    margin-right: 20px;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

.text-container {
    max-width: 600px;
    text-align: left;
}

.text-container h2 {
    margin-top: 0;
    color: white; /* Zet de kleur van h2 naar wit */
}

.text-container p {
    color: #555;
    line-height: 1.6;
}

h2 {
    font-family: 'Arial Black', sans-serif;
}

.portfolio-button {
    display: inline-block;
    margin-top: 200px;
    padding: 10px 20px;
    background-color: #34679A;
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    border: 2px solid #34679A;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

.portfolio-button:hover {
    background-color: white;
    color: #34679A;
}

/* Foto Verbouw, Onderhoud, Installatie */
.container1 {
    text-align: center;
}

.container-gallery {
    text-align: center;
    margin: 50px auto;
}

/* passie en perfectie */
.blue-text {
    color: #34679A;
    font-weight: bold;
}

h1 {
    text-align: center;
    margin: 0 auto;
    font-size: 36px;
    font-weight: bold;
}

.ampersand {
    color: #000000;
    font-weight: bold;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.image-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

/* Responsieve Aanpassingen */
@media (max-width: 900px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

.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;
    width: calc(100% - 20px);
}

/* Extra responsive layout voor tablets en telefoons */
@media (max-width: 1024px) {
    .about-me,
    .container,
    .container2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-me-image img,
    .image-container img {
        width: 90%;
        height: auto;
        opacity: 1;
        margin: 20px 0;
    }

    .about-me-text,
    .text-container {
        max-width: 90%;
        margin: 20px auto;
    }

    .portfolio-button {
        margin-top: 40px;
    }
}

@media (max-width: 600px) {

    .about-me,
    .container,
    .container2 {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-me-image img,
    .image-container img {
        width: 100%;
        height: auto;
        margin: 20px 0;
    }

    .about-me-text,
    .text-container {
        max-width: 100%;
        margin: 10px auto;
    }

    .contact-button,
    .portfolio-button {
        width: 90%;
        font-size: 14px;
        padding: 10px;
    }

    h1 {
        font-size: 28px;
    }

    .text-container h2 {
        font-size: 20px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }

    .photo-text {
        font-size: 20px;
        padding: 5px;
    }
}

/* Zorg ervoor dat de tekst in de footer-bottom wit is */
.footer-bottom p {
    color: white; /* Maak de tekst wit */
}
