/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

/* header!!! */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #0a9181;
    height: 120px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    position: relative;
}
/* Hamburger menu-knop styling */
.menu-toggle {
    display: none; /* Verberg de knop standaard */
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
    justify-content: right;
}

/* Logo styling */
header .logo {
    width: 220px;
    height: 230px;
    margin-left: 20px;
    border-radius: 50px;
    padding-bottom: 10px;
}

header .logo img {
    max-height: 100%;
}

header nav {
    margin-right: 10px;
    display: flex; /* Zorg ervoor dat het menu wordt weergegeven */
    opacity: 1; /* Maak het menu zichtbaar */
    visibility: visible; /* Zorg ervoor dat het zichtbaar is */
    position: static; /* Pas de positionering aan */
    background-color: #0a9181; /* Zorg voor een achtergrondkleur */
    z-index: 1000; /* Zorg ervoor dat het voor andere elementen staat */
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

header nav ul li {
    margin: 0 15px;
}

header nav ul li a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center; 
}

header nav ul li a i {
    margin-right: 8px; 
    font-size: 18px;
}

header nav ul li a:hover {
    color: #87CEEB;
}


nav {
    opacity: 1; /* Maak het menu volledig zichtbaar */
    visibility: visible; /* Zorg ervoor dat het zichtbaar is */
    position: static; /* Verander van absolute naar static voor desktop */
    /* Verwijder max-height, overflow, etc., als ze niet nodig zijn voor desktop */
    background-color: #0a9181; /* Voeg achtergrondkleur toe */
    width: auto; /* Zorg ervoor dat het de breedte van de inhoud volgt */
    z-index: 1000;
}


/* Pop-up menu voor mobiel */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between; /* Zorg ervoor dat logo links blijft en menu-knop rechts */
        align-items: center;
    }

    .menu-toggle {
        display: block; /* Maak de hamburger-knop zichtbaar */
        justify-content: right;
        position: absolute;
        right: 20px; /* Zet de knop rechts van de header */
        top: 35%;
        z-index: 1001; /* Zorg ervoor dat de knop boven andere elementen ligt */
    }

    nav {
        opacity: 0;
        visibility: hidden; /* Verberg het menu standaard */
        max-height: 0; /* Voeg max-height toe voor een vloeiende overgang */
        overflow: hidden; /* Verberg de inhoud buiten de limiet */
        transition: opacity 0.3s ease, max-height 0.3s ease; /* Voeg een overgang toe */
        justify-content: center;
        width: 100%; /* Zorg ervoor dat het hele scherm wordt bedekt */
    }

    nav.open {
        opacity: 1; /* Maak het menu volledig zichtbaar */
        visibility: visible; /* Zorg ervoor dat het zichtbaar is */
        max-height: 500px; /* Geef genoeg ruimte voor de inhoud */
        background-color: #0a9181;
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%; /* Zorg dat het hele scherm wordt bedekt */
        padding: 20px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    nav.open ul {
        display: flex;
        flex-direction: column; /* Zorg ervoor dat de links onder elkaar komen */
        align-items: center; /* Centreer de links horizontaal */
        padding: 0;
    }

    nav.open ul li {
        margin: 10px 0; /* Ruimte tussen de links */
    }

    nav.open ul li a {
        color: white;
        text-decoration: none;
        font-size: 20px;
    }

    /* Voeg een eenvoudige animatie toe voor een dropdown effect */
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideUp {
        from {
            opacity: 1;
            transform: translateY(0);
        }
        to {
            opacity: 0;
            transform: translateY(-10px);
        }
    }

    nav.closing {
        opacity: 0;
        visibility: hidden;
        max-height: 0; /* Sluit met max-height */
        animation: slideUp 0.3s ease forwards; /* Voeg de sluit-animatie toe */
    }
}
/* Footer Styles */
#footer {
    background-color: #0a9181; /* Achtergrondkleur passend bij de rest van de site */
    color: white;
    padding: 20px 10px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
}

#footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

#footer .footer-content p {
    margin: 10px 0;
    font-size: 16px;
}

#footer .footer-content a {
    color: #5419df; /* Blauwe kleur voor links */
    text-decoration: none;
    font-weight: bold;
}

#footer .footer-content a:hover {
    text-decoration: underline; /* Onderstreping bij hover */
}

#footer .footer-content i {
    margin-right: 8px; /* Ruimte tussen icoon en tekst */
    color: #ffffff; /* Kleur van de icoontjes */
}




/* Home Page Styles */	
/* Introductie sectie */
.intro-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.intro-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #6a9a80;
}

.intro-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Waarom Mekizorg */
.why-mekizorg {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
}

.why-mekizorg h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #6a9a80;
}

.why-mekizorg ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.why-mekizorg ul li {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.why-mekizorg ul li i {
    color: #6a9a80;
    margin-right: 10px;
}

.why-mekizorg p {
    font-size: 18px;
    color: #555;
    margin-top: 20px;
    max-width: 800px;
    margin: 0 auto;
}
/* Introductie sectie */
.intro-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.intro-section h1 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #6a9a80;
}

.intro-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    max-width: 800px;
    margin: 0 auto;
}

/* Waarom Mekizorg */
.why-mekizorg {
    padding: 40px 20px;
    background-color: #ffffff;
    text-align: center;
}

.why-mekizorg h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color:  #6a9a80;
}

.why-mekizorg ul {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
}

.why-mekizorg ul li {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 15px;
}

.why-mekizorg ul li i {
    color: #6a9a80;
    margin-right: 10px;
}

.why-mekizorg p {
    font-size: 18px;
    color: #555;
    margin-top: 20px;
    max-width: 800px;
    margin: 0 auto;
}

/* Diensten sectie */
/* Sectie Onze Diensten */
.services {
    padding: 40px 20px;
    background-color: white;
    margin-top: 30px;
}

.services h1 {
    text-align: center;
    font-size: 2.5em;
    color: #6a9a80;
}

.services p {
    text-align: center;
    font-size: 1.2em;
    margin-bottom: 40px;
}

.service-list {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
}

.service-item {
    text-align: center;
    width: 30%; /* Basisbreedte voor grotere schermen */
    margin-bottom: 20px;
    background-color: #e9f3e6;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 2em;
    color: #6a9a80;
    margin-bottom: 10px;
}

.service-item h3 {
    color: #333;
    font-size: 1.5em;
}

.service-item p {
    font-size: 1em;
}

/* Media query voor kleinere schermen */
@media (max-width: 768px) {
    .service-item {
        width: 100%; /* Zorg ervoor dat items volledige breedte innemen */
        margin-bottom: 20px;
    }
}


/* Sectie Werkwijze */
.werkwijze {
    padding: 40px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.werkwijze h2 {
    font-size: 2em;
    color: #6a9a80;
    margin-bottom: 20px;
}

.werkwijze p {
    font-size: 1.2em;
    color: #555;
}

/* Werkwijze sectie */
.werkwijze {
    padding: 40px 20px;
    background-color: white;
    margin-top: 30px;
    text-align: center;
}

.werkwijze h1 {
    font-size: 2.5em;
    color: #6a9a80;
    margin-bottom: 20px;
}

.werkwijze p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #555;
}

.werkwijze-stappen {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.werkwijze-item {
    width: 30%; /* Standaard breedte voor grote schermen */
    background-color: #e9f3e6;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.werkwijze-item i {
    font-size: 2.5em;
    color: #6a9a80;
    margin-bottom: 10px;
}

.werkwijze-item h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 10px;
}

.werkwijze-item p {
    font-size: 1em;
    color: #555;
}

/* Media query voor kleinere schermen */
@media (max-width: 768px) {
    .werkwijze-item {
        width: 100%; /* Volledige breedte voor mobiele weergave */
    }
}


/* Toekomstvisie sectie */
.toekomstvisie {
    padding: 40px 20px;
    background-color: white;
    margin-top: 30px;
    text-align: center;
}

.toekomstvisie h1 {
    font-size: 2.5em;
    color: #6a9a80;
    margin-bottom: 20px;
}

.toekomstvisie p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #555;
}

.toekomstvisie-plannen {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}

.toekomstvisie-item {
    width: 30%; /* Standaard breedte voor grotere schermen */
    background-color: #e9f3e6;
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.toekomstvisie-item i {
    font-size: 2.5em;
    color: #6a9a80;
    margin-bottom: 10px;
}

.toekomstvisie-item h3 {
    font-size: 1.6em;
    color: #333;
    margin-bottom: 10px;
}

.toekomstvisie-item p {
    font-size: 1em;
    color: #555;
}

/* Media query voor kleinere schermen */
@media (max-width: 768px) {
    .toekomstvisie-item {
        width: 100%; /* Volledige breedte voor mobiele apparaten */
        margin-bottom: 20px; /* Extra ruimte tussen de items */
    }
}


/* Contact Sectie */
.contact-section {
    padding: 40px 20px;
    background-color: white;
    text-align: center;
}

.contact-section h1 {
    font-size: 2.5em;
    color: #6a9a80;
    margin-bottom: 20px;
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #555;
}

/* Contactinformatie */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.contact-item {
    width: 45%; /* Standaard breedte voor grotere schermen */
    padding: 20px;
    margin: 10px 0;
    background-color: #e9f3e6;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: left;
}

.contact-item i {
    font-size: 2.5em;
    color: #6a9a80;
    margin-bottom: 10px;
}

.contact-item p {
    font-size: 1.2em;
    color: #555;
}

/* Media query voor kleinere schermen */
@media (max-width: 768px) {
    .contact-item {
        width: 100%; /* Volledige breedte voor mobiele apparaten */
    }
}

/* Contactform styling */
.contact-form {
    background-color: #ffffff;
    padding: 40px;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.contact-form h2 {
    font-size: 2.2em;
    color: #6a9a80;
    margin-bottom: 10px;
}

.contact-form p {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 20px;
    text-align: left;
}

.contact-form label {
    font-size: 1em;
    color: #333;
    margin-bottom: 5px;
    display: block;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #6a9a80;
}

.contact-form textarea {
    height: 150px;
}

.contact-form .submit-btn {
    background-color: #6a9a80;
    color: white;
    font-size: 1.2em;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form .submit-btn:hover {
    background-color: #5a8a6b;
}
