/* ===== BASIS STYLING ===== */
:root {
    --primary: #003366;
    --primary-dark: #001f3d;
    --secondary: #00839f;
    --accent: #cc0000;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
    line-height: 1.6;
    background: var(--white);
    padding-top: 80px;
}

/* ===== TYPOGRAFIE ===== */
h1, h2, h3, h4, h5 {
    font-family: inherit;
    font-weight: 700;
    letter-spacing: 0.2px;
}

p, li, label, input, textarea {
    font-size: 1rem;
    line-height: 1.6;
}

/* ===== CONTAINERS & LAYOUT ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

/* ===== SECTIES ===== */
section.section-padding {
    padding: 50px 0;
    position: relative;
    background: var(--white); /* alle secties wit */
}

/* ===== HEADER & NAVIGATIE ===== */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo { height: 50px; }

#main-nav {
    display: flex;
    gap: 25px;
}

#main-nav a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

#main-nav a:hover { color: var(--secondary); }

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* ===== HERO ===== */
.hero {
    height: 33vh; /* of gewenste hoogte */
    min-height: 300px;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('../img/3.png') center/cover no-repeat;
    background-position: center 50%; /* midden 50% zichtbaar */
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;       /* verwijdert extra marge boven/onder */
    padding: 0;      /* geen padding */
}


/* ===== FULL-WIDTH AFBEELDING ===== */
.full-width-image {
    width: 100%;
    height: 33vh;
    min-height: 300px;
    object-fit: cover;
    display: ;
}

.image-container { width: 100%; margin: 0; padding: 0; }

/* ===== BUTTON ===== */
.btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.btn:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

/* ===== CARDS ===== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 4 kaarten in 1 rij */
    gap: 25px;
    margin: 40px 0;
}

.cards-grid.wide-cards {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1400px;
    margin: 60px auto;
}

.card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    overflow: hidden;
    border-top: 4px solid var(--secondary);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.cards-grid.wide-cards .card { min-height: 260px; }

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.card-icon {
    font-size: 2.5rem;
    color: var(--secondary);
    text-align: center;
    padding: 30px 0 20px;
}

.card-content {
    padding: 0 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; /* gecentreerde tekst */
}

.card h3 {
    color: var(--primary);
    text-align: center;
    margin-bottom: 15px;
    font-size: 1.3rem;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card p {
    color: var(--gray);
    margin-bottom: 20px;
    text-align: center; /* gecentreerd */
}

.card ul {
    list-style: none;
    margin-top: auto;
    padding-left: 0;
    text-align: center;
}

.card ul li {
    display: inline-block;
    margin: 0 5px;
    position: relative;
    padding: 5px 0;
}

.card ul li:before { display: none; }

/* ===== OVER ONS ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* ===== NIEUWS ===== */
.news-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* correct 5 kolommen desktop */
    gap: 25px;
}

.news-item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border-top: 4px solid var(--secondary);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.news-date {
    display: block;
    color: var(--secondary);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 15px 20px 5px;
}

.news-item h3 {
    padding: 0 20px 20px;
    margin: 0;
}

.news-item h3 a {
    color: var(--primary);
    text-decoration: none;
    font-size: 1.1rem;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-item h3 a:hover { color: var(--accent); }

/* ===== CONTACT ===== */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* 3 contact cards + Google Maps */
    gap: 25px;
    margin: 40px 0;
}

.contact-cards .card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.contact-form-container {
    grid-column: span 4; /* formulier onder alle cards */
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 50px 60px;
    margin: 40px auto;
    max-width: 1000px;
}

.contact-form {
    margin-top: 30px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

/* ===== GOOGLE MAPS ===== */
.map-container {
    width: 100%;
    height: 100%;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===== FOOTER ===== */
footer {
    background: var(--secondary);
    color: var(--white);
    padding: 60px 0 30px;
    margin-top: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 { font-size: 1.2rem; margin-bottom: 20px; color: var(--white); }

.footer-links { list-style: none; }

.footer-links li { margin-bottom: 12px; }

.footer-links a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.8);
}

/* ===== NAVIGATIE DOTS ===== */
.page-navigation {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.nav-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}

.nav-dot:hover { background: var(--primary); }

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .cards-grid, .contact-cards { grid-template-columns: repeat(3, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .cards-grid, .contact-cards, .footer-container { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 40px; }
    .full-width-image { height: 40vh; }
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
    #main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        gap: 15px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    #main-nav.active { transform: translateY(0); opacity:1; visibility: visible; }
    .cards-grid, .contact-cards, .news-grid, .footer-container { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; gap:0; }
    .page-navigation { display: none; }
    .section-padding { padding: 60px 0; }
    .hero { height: 40vh; min-height: 250px; }
    .full-width-image { height: 35vh; min-height: 300px; }
    .section-header { margin-bottom: 40px; }
    .section-header h2 { font-size: 1.8rem; }
}

@media (max-width: 576px) {
    .hero { height: 35vh; min-height: 200px; }
    .full-width-image { height: 30vh; min-height: 250px; }
    .container { padding: 0 15px; }
    .card-content { padding: 0 20px 20px; }
    .contact-form-container { padding: 25px 20px; }
    .section-header h2 { font-size: 1.6rem; }
}
/* Alle secties wit maken */
section {
    background-color: var(--white);
    position: relative;
    padding: 80px 0; /* zelfde padding voor alle secties */
}

/* Verwijder gradiënten of andere kleuren van specifieke secties */
#diensten, #nieuws, #home, #over-ons, #contact {
    background-color: var(--white) !important;
}
/* ===== CONTACTFORMULIER BREEDTE & COMPACT ===== */
.contact-form-container {
    max-width: 1200px; /* gelijk aan 4 cards */
    margin: 40px auto;
    padding: 30px 20px; /* compacter dan eerder */
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* flexibele kolommen naast elkaar */
    gap: 20px; /* minder ruimte tussen velden */
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 0.95rem;
    border: 1px solid var(--gray-light);
    border-radius: 4px;
    font-family: inherit;
}

.contact-form textarea#bericht {
    rows: 4; /* compacter */
}
.contact-form-container {
    max-width: 1200px; /* breedte gelijk aan 4 cards */
    margin: 40px auto;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border-top: 4px solid var(--secondary); /* groene rand bovenaan */
}

