/* Algemene opmaak */
html, body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Hero-sectie */
.container-hero {
    background-image: url('../homepage/home2.png');
    background-size: cover;
    background-position: center;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 40px;
    box-sizing: border-box;
}
.phone-input {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.phone-input select,
.phone-input input[type="tel"] {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.phone-input select {
    flex: 0 0 160px;
    background-color: #fff;
}

.phone-input input {
    flex: 1;
}

.phone-input input:focus,
.phone-input select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    outline: none;
}
.container-hero h1,
.container-hero h2 {
    margin: 0;
    font-size: 3rem;
}

h2 {
    color: #34679A;
    font-family: 'Jutson', sans-serif;
    font-size: 2rem;
    margin-bottom: 20px;
}

/* Contactformulier container - volledige breedte */
.contact-container {
    background-color: #cccccc;
    padding: 40px 20px;
    margin: 0;
    width: 100%;
    text-align: center;
    box-sizing: border-box;
}

.contact-container form {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-sizing: border-box;
}

.contact-container label {
    text-align: left;
    color: black;
    font-size: 16px;
    font-weight: 500;
}

.contact-container input,
.contact-container textarea,
.contact-container select {
    padding: 12px;
    font-size: 16px;
    border: 1px solid #bbb;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}

.contact-container textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-container button {
    background-color: #34679A;
    color: white;
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.contact-container button:hover {
    background-color: white;
    color: #34679A;
    border: 2px solid #34679A;
}

/* Contactinformatie & Map */
.info-container {
    background-color: #34679A;
    color: white;
    padding: 50px 30px;
    box-sizing: border-box;
}

.map-contact {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.map, .contact-info {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    box-sizing: border-box;
}

.map iframe {
    width: 100%;
    height: 320px;
    border: none;
    border-radius: 10px;
    box-sizing: border-box;
}

.contact-info h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.contact-info p {
    margin: 8px 0;
    font-size: 16px;
}

.contact-info a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Responsieve aanpassingen */
@media (max-width: 768px) {
    .container-hero {
        height: 400px;
        padding: 20px;
        box-sizing: border-box;
    }

    .container-hero h1 {
        font-size: 2rem;
    }

    .contact-container {
        padding: 25px 15px;
    }

    .contact-container label,
    .contact-container input,
    .contact-container select,
    .contact-container textarea {
        font-size: 14px;
    }

    .contact-container button {
        font-size: 14px;
        padding: 12px 16px;
    }

    .info-container {
        padding: 30px 20px;
    }

    .map-contact {
        flex-direction: column;
        align-items: center;
    }

    .map,
    .contact-info {
        width: 100%;
        max-width: 100%;
        padding: 0 10px;
        box-sizing: border-box;
    }
}

/* Dropdown styling */
select {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
    background-color: #f9f9f9;
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

select:focus {
    border-color: #007bff;
    background-color: #fff;
}

option {
    padding: 10px;
}
