/* --- BASIS & VARIABELEN --- */
:root {
    --primary-color: #0056b3; 
    --secondary-color: #00a8cc;
    --text-dark: #333;
    --text-light: #666;
    --bg-light: #f4f8fa;
    --success-color: #28a745;
    --error-color: #dc3545;
    --transition: all 0.3s ease;
}

/* --- PAGE HEADER (Standaard) --- */
.page-header {
    background: url('../img/contact.jpeg') no-repeat center center/cover;
    height: 40vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}
.header-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 86, 179, 0.8);
}
.page-header .container { position: relative; z-index: 2; }
.page-header h1 { font-size: 3rem; margin-bottom: 10px; }
.page-header p { font-size: 1.2rem; font-weight: 300; }

/* --- CONTACT WRAPPER (Split Layout) --- */
.section-padding { padding: 80px 0; }
.contact-wrapper {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.contact-info { flex: 1; min-width: 300px; }
.contact-form-card { flex: 1.5; min-width: 300px; }

/* --- CONTACT INFO KANT --- */
.sub-heading { color: var(--secondary-color); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 1px; font-weight: 600; }
.contact-info h2 { font-size: 2.2rem; margin-bottom: 20px; line-height: 1.2; color: var(--primary-color); }
.contact-info p { 
    color: #222; /* Was var(--text-light), nu donkergrijs/zwart */
    margin-bottom: 30px; 
    font-size: 1.05rem; /* Iets groter leest prettiger */
    line-height: 1.6;
}
.info-items { margin-top: 40px; }
.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}
.info-item .icon-box {
    background: var(--bg-light);
    color: var(--primary-color);
    width: 50px; height: 50px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.info-item h3 { font-size: 1.1rem; margin-bottom: 5px; }
.info-item a { color: var(--text-dark); font-weight: 600; transition: var(--transition); }
.info-item a:hover { color: var(--primary-color); }
.info-item p {
    color: #000; /* Helemaal zwart voor de belangrijke gegevens */
    font-weight: 500;
    margin-bottom: 0; /* Geen extra witruimte onder het adres */
}
.social-links h3 { font-size: 1.1rem; margin-bottom: 15px; }
.social-links a {
    display: inline-block;
    width: 40px; height: 40px;
    line-height: 40px;
    background: var(--primary-color);
    color: #fff;
    text-align: center;
    border-radius: 5px;
    margin-right: 10px;
    transition: var(--transition);
}
.social-links a:hover { background: var(--secondary-color); transform: translateY(-3px); }

/* --- FORMULIER STYLING --- */
.contact-form-card {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.contact-form-card h2 { margin-bottom: 10px; }

/* Alert Messages */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 25px;
    font-weight: 500;
    display: flex; align-items: center; gap: 10px;
}
.alert-success { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-danger { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Input Styles */
.form-row { display: flex; gap: 20px; }
.form-group { margin-bottom: 20px; width: 100%; }

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    background: #fdfdfd;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 168, 204, 0.1);
}

.full-width { width: 100%; text-align: center; margin-top: 10px; }

/* --- MAP --- */
.map-section iframe {
    display: block;
    filter: grayscale(100%); /* Zwart-wit kaart past vaak mooi */
    transition: filter 0.5s;
}
.map-section iframe:hover { filter: grayscale(0%); }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .contact-wrapper { flex-direction: column; }
    .form-row { flex-direction: column; gap: 0; }
    .page-header h1 { font-size: 2rem; }
    .contact-form-card { padding: 25px; }
}