
/* ALGEMEEN */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background: #f5f0e6;
    color: #153f3a;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
}

/* NAVIGATIE */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 158px;
    height: 100vh;
    background: #20594f;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 12px;
    z-index: 1000;
}

.menu-title { color: white; text-align: center; margin-bottom: 22px; }
.menu-title .hamburger { display: block; font-size: 27px; line-height: 1; }
.menu-title strong { display: block; font-size: 20px; margin-top: 5px; }

.sidebar a {
    width: 100%;
    min-height: 82px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: white;
    text-decoration: none;
    border-radius: 25px;
    margin-bottom: 8px;
    transition: 0.2s ease;
}

.sidebar a span { font-size: 27px; line-height: 1; }
.sidebar a small { font-size: 14px; }
.sidebar a:hover { background: rgba(255, 255, 255, 0.12); }
.sidebar a.active { background: #e2b85f; color: #153f3a; }

/* HOOFDINHOUD */
main {
    margin-left: 158px;
    width: calc(100% - 158px);
    padding: 42px 60px 70px;
    max-width: 1600px;
}

/* PAGINAKOP */
.page-header {
    background: white;
    border-left: 8px solid #e2b85f;
    border-radius: 28px;
    padding: 30px 55px;
    margin-bottom: 38px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.subtitle {
    margin: 0 0 8px;
    color: #a87924;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 3px;
}

.page-header h1 {
    margin: 0 0 10px;
    font-size: 50px;
    line-height: 1.15;
    color: #15534c;
}

.page-header p:last-child {
    margin-bottom: 0;
    font-size: 21px;
    color: #163e3a;
}

/* HOMEPAGE */
.hero-card {
    background: white;
    border-radius: 28px;
    padding: 35px 42px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 38px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.hero-text h2 { font-size: 34px; margin-top: 0; color: #15534c; }
.hero-text p { font-size: 18px; }
.hero-image { text-align: center; }

.hero-image img {
    width: 100%;
    max-width: 430px;
    height: 260px;
    object-fit: cover;
    border-radius: 20px;
}

.three-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-bottom: 40px;
}

.mini-card, .sport-card, .company-card {
    background: white;
    border-top: 6px solid #e2b85f;
    border-radius: 25px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.mini-card { padding: 30px; text-align: center; }
.big-icon { font-size: 45px; margin-bottom: 10px; }
.mini-card h2, .sport-card h2, .company-card h2 { color: #15534c; }

/* KNOPPEN */
.main-button, .card-button {
    display: inline-block;
    background: #20594f;
    color: white;
    text-decoration: none;
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s ease;
}

.main-button:hover, .card-button:hover {
    background: #173f38;
    transform: translateY(-2px);
}

/* GEMEENTELOGO */
.logo-section {
    background: white;
    border-radius: 25px;
    padding: 35px;
    text-align: center;
    margin-bottom: 35px;
}

.logo-section h2 { color: #15534c; }

.municipality-logo {
    display: block;
    width: min(420px, 80%);
    max-height: 220px;
    object-fit: contain;
    margin: 25px auto 0;
    border-radius: 12px;
}

/* ALGEMENE KAARTEN */
.cards, .tourism-grid, .contact-layout {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.card, .tourism-card, .contact-card, .wide-info,
.map-section, .contact-form-section {
    background: white;
    border-radius: 25px;
    padding: 30px;
}

.card { padding: 30px; }

/* ETEN */
.food-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 280px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.food-image { min-height: 100%; }

.food-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.food-content { padding: 28px; }
.food-content h2 { margin-top: 0; color: #15534c; }
.address { background: #f5f0e6; padding: 12px; border-radius: 10px; }

/* SPORT EN ICT */
.sport-grid, .company-layout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.sport-card { padding: 35px; text-align: center; }
.sport-icon { font-size: 55px; margin-bottom: 10px; }
.company-card { padding: 35px; }
.company-icon { font-size: 50px; margin-bottom: 10px; }

/* TOERISME */
.tourism-card { min-height: 450px; }

.tourism-card:first-child {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 350px;
    align-items: center;
    gap: 40px;
}

.tourism-text h2 { color: #15534c; font-size: 30px; }
.tourism-text p { font-size: 18px; }

.tourism-photo {
    display: block;
    width: 250px;
    height: 180px;
    object-fit: cover;
    border-radius: 18px;
    margin: 20px auto 0;
}

.tourism-card:first-child .tourism-photo {
    width: 300px;
    height: 220px;
    margin: auto;
}

/* EXTRA INFORMATIE */
.info-button {
    background: #20594f;
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px 17px;
    cursor: pointer;
    font-weight: bold;
    margin-top: 10px;
}

.info-button:hover { background: #173f38; }

.extra-info {
    display: none;
    margin-top: 15px;
    padding: 14px;
    background: #f5f0e6;
    border-left: 4px solid #e2b85f;
    border-radius: 8px;
}

.extra-info.show { display: block; }
.wide-info { margin-top: 30px; box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05); }
.wide-info h2, .map-section h2, .contact-form-section h2 { color: #15534c; }

/* CONTACT */
.contact-layout { gap: 30px; }

.contact-card {
    padding: 35px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.contact-card h2 { color: #15534c; font-size: 30px; }
.contact-card a { color: #20594f; font-weight: bold; }

.opening-hours p {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-bottom: 1px solid #ddd;
    padding: 8px 0;
}

/* KAART EN CONTACTFORMULIER */
.map-section, .contact-form-section { margin-top: 30px; }

.map-section iframe {
    width: 100%;
    height: 350px;
    border: 0;
    border-radius: 15px;
}

.contact-form-section form { max-width: 700px; }

.contact-form-section label {
    display: block;
    margin-top: 15px;
    font-weight: bold;
}

.contact-form-section input,
.contact-form-section textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #ccc;
    border-radius: 10px;
    font-family: inherit;
    font-size: 16px;
}

#formMessage { font-weight: bold; margin-top: 15px; }

/* FOOTER */
footer {
    margin-left: 158px;
    background: #e9dfcc;
    text-align: center;
    padding: 25px;
    color: #153f3a;
}

/* TABLETS */
@media (max-width: 1000px) {
    .hero-card { grid-template-columns: 1fr; }

    .three-columns, .sport-grid, .company-layout {
        grid-template-columns: 1fr;
    }

    .tourism-grid, .contact-layout { grid-template-columns: 1fr; }

    .tourism-card:first-child {
        grid-column: auto;
        display: block;
    }
}

/* MOBIELE TELEFOONS */
@media (max-width: 700px) {
    .sidebar { width: 95px; padding: 15px 7px; }
    .menu-title strong { font-size: 15px; }
    .sidebar a small { font-size: 11px; }
    .sidebar a span { font-size: 22px; }

    main {
        margin-left: 95px;
        width: calc(100% - 95px);
        padding: 25px 18px;
    }

    footer { margin-left: 95px; }
    .page-header { padding: 25px; }
    .page-header h1 { font-size: 36px; }
    .cards { grid-template-columns: 1fr; }
    .food-card { grid-template-columns: 1fr; }
    .food-image { height: 220px; }
    .tourism-card:first-child { grid-template-columns: 1fr; }
}
