/* Algemene opmaak: rustige kleuren, Arial en eenvoudige CSS. */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background-color: #f0f3ed;
    color: #26352a;
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

h1 {
    font-size: 32px;
    color: #305c35;
}

h2 {
    font-size: 22px;
    color: #305c35;
}

h3 {
    font-size: 18px;
}

a {
    color: #245b2c;
}

a:hover {
    color: #111111;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Een centrale pagina met een gewoon menu bovenaan. */
.container {
    width: 90%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px 0;
}

.site-header {
    background-color: #3d6547;
}

.brand {
    display: block;
    color: white;
    font-size: 28px;
    font-weight: bold;
    text-decoration: none;
}

.brand:hover {
    color: white;
}

.site-subtitle {
    margin: 4px 0 15px;
    color: #e6eee3;
    font-size: 14px;
}

.site-nav {
    padding: 6px;
    border-radius: 7px;
    background-color: #edf2e9;
}

.site-nav a {
    display: inline-block;
    margin: 2px;
    padding: 8px 14px;
    border-radius: 5px;
    text-decoration: none;
}

.site-nav a:hover {
    background-color: #dce7d6;
    color: #25462c;
}

.site-nav a[aria-current="page"] {
    font-weight: bold;
    color: white;
    background-color: #3d6547;
}

/* De menuknop is alleen nodig op een telefoon. */
.menu-toggle {
    display: none;
    margin: 0;
    background-color: #edf2e9;
    color: #245b2c;
    border-color: #edf2e9;
}

.menu-toggle:hover {
    background-color: #dce7d6;
}

main {
    width: 90%;
    max-width: 1050px;
    margin: 28px auto;
    background-color: white;
    border: 1px solid #dce4d8;
    border-radius: 8px;
}

main .container {
    width: 100%;
    padding: 30px;
}

section {
    margin-bottom: 25px;
}

/* Op de homepage staan de tekst en de foto naast elkaar. */
.home-hero {
    display: flex;
    gap: 28px;
    align-items: center;
}

.home-hero > div, .home-hero > figure {
    width: 50%;
}

figure {
    margin: 20px 0;
}

.hero-photo img {
    width: 100%;
    height: 310px;
    object-fit: cover;
    border-radius: 7px;
}

figcaption {
    font-size: 14px;
    color: #555555;
}

.hero-actions a {
    margin-right: 15px;
}

.facts {
    display: flex;
    gap: 20px;
    padding: 16px 20px;
    margin-bottom: 25px;
    background-color: #eef3e9;
    border-radius: 6px;
}

.facts p {
    flex: 1;
    margin: 0;
}

.facts strong {
    display: block;
}

/* Kleine afbeeldingen maken de links naar de andere pagina's duidelijker. */
.discover-grid {
    display: flex;
    gap: 18px;
    padding: 0;
    list-style: none;
}

.discover-grid li {
    flex: 1;
    min-width: 0;
    border: 1px solid #dce4d8;
    border-radius: 7px;
    background-color: #fafcf8;
}

.discover-photo {
    width: 100%;
    height: 155px;
    object-fit: cover;
    border-radius: 7px 7px 0 0;
}

.discover-grid li a {
    display: block;
    margin: 12px 14px 0;
    font-weight: bold;
    text-decoration: none;
}

.discover-grid li p {
    margin: 8px 14px 16px;
    font-size: 15px;
}

/* Formulieren: een label, een invoerveld en een eenvoudige knop. */
.panel {
    padding: 22px;
    border: 1px solid #d5dfce;
    border-radius: 7px;
    background-color: #f1f5ee;
}

label {
    display: block;
    margin-bottom: 5px;
}

input, select {
    width: 100%;
    max-width: 400px;
    padding: 10px;
    border: 1px solid #aebda8;
    border-radius: 5px;
    font: inherit;
}

button {
    margin-top: 10px;
    padding: 10px 16px;
    border: 1px solid #3d6547;
    border-radius: 5px;
    background-color: #3d6547;
    color: white;
    font: inherit;
    cursor: pointer;
}

button:hover {
    background-color: #2b4e33;
}

.form-feedback {
    margin-bottom: 0;
}

/* Lunch en bedrijven staan als tekstblokken onder elkaar. */
.lunch-card, .company-card {
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid #dce4d8;
    border-radius: 7px;
    background-color: #fafcf8;
}

/* De lunchfoto staat links; de tekst loopt ernaast. */
.lunch-card {
    overflow: auto;
}

.topic-photo {
    width: 100%;
    height: 185px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 16px;
}

.lunch-card .topic-photo {
    float: left;
    width: 280px;
    height: 210px;
    margin: 0 22px 15px 0;
}

.lunch-card h2, .company-card h2 {
    margin-top: 0;
}

address {
    margin-bottom: 10px;
    font-style: normal;
}

.note, .work-sidebar, .tourist-tip {
    padding: 16px 20px;
    margin-bottom: 20px;
    background-color: #eef3e9;
    border-radius: 6px;
}

.work-sidebar .topic-photo {
    width: 100%;
    height: 240px;
}

/* De sportpagina gebruikt drie eenvoudige kolommen. */
.sport-banner {
    padding: 15px;
    background-image: url('../img/geldermalsen.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 7px 7px 0 0;
}

.sport-banner .container {
    padding: 10px 15px;
    background-color: white;
    border-radius: 5px;
}

.sport-grid {
    display: flex;
    gap: 15px;
}

.sport-card {
    flex: 1;
    min-width: 0;
    padding: 15px;
    border: 1px solid #dce4d8;
    border-radius: 7px;
    background-color: #fafcf8;
}

/* Bij Wonen staan de tekst en de kaart naast elkaar. */
.living-layout {
    display: flex;
    gap: 20px;
}

.living-topics {
    width: 60%;
}

.map-panel {
    width: 40%;
}

.area-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: 7px;
}

iframe {
    width: 100%;
    height: 300px;
    border: 1px solid #cbd7c5;
    border-radius: 6px;
}

details {
    margin: 12px 0;
}

summary {
    cursor: pointer;
}

/* De Engelse pagina heeft gewone foto's boven de tekst. */
.sight {
    padding-bottom: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #cccccc;
}

.sight-image img {
    width: 500px;
    border-radius: 7px;
}

.sight-image .windmill-photo {
    width: 250px;
}

/* Een eenvoudige tabel en voettekst. */
.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

caption {
    margin: 15px 0 10px;
    text-align: left;
    font-weight: bold;
}

th, td {
    padding: 12px;
    border: 1px solid #cbd7c5;
    text-align: left;
}

th {
    background-color: #e1e8e0;
}

.table-hint {
    display: none;
}

.site-footer {
    background-color: #e0e7db;
    font-size: 14px;
}

.footer-links a {
    margin-right: 15px;
    text-decoration: none;
}

.source-note {
    font-size: 14px;
    color: #576453;
}

.muted {
    color: #576453;
    font-size: 14px;
}

/* Met deze toetsenbord-link kun je direct naar de inhoud springen. */
.skip-link {
    position: absolute;
    left: 10px;
    top: -100px;
    padding: 8px;
    background-color: white;
}

.skip-link:focus {
    top: 10px;
}

/* Op een telefoon staan de kolommen onder elkaar. */
@media (max-width: 650px) {
    /* JavaScript geeft de knop en het menu hun eenvoudige klassennamen. */
    .menu-toggle.klaar {
        display: inline-block;
    }

    .site-nav {
        margin-top: 12px;
    }

    .site-nav.dicht {
        display: none;
    }

    .site-nav.open a {
        display: block;
    }

    main .container {
        padding: 15px;
    }

    .sport-grid, .living-layout {
        display: block;
    }

    .home-hero, .discover-grid, .facts {
        display: block;
    }

    .home-hero > div, .home-hero > figure {
        width: 100%;
    }

    .hero-photo img {
        height: 240px;
    }

    .discover-grid li {
        margin-bottom: 18px;
    }

    .facts p {
        margin: 10px 0;
    }

    .lunch-card .topic-photo {
        float: none;
        width: 100%;
        height: 185px;
        margin: 0 0 15px;
    }

    .sport-card {
        margin-bottom: 15px;
    }

    .living-topics, .map-panel {
        width: 100%;
    }

    .table-hint {
        display: block;
    }
}
