/* ============================================== */
/* ===     ALGEMENE STIJLEN                    ====== */
/* ============================================== */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    color: #333;
    background-color: #5fae68;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}


a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

/* ============================================== */
/* ===     HEADER & NAVIGATIE                  ====== */
/* ============================================== */

header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    background-color: #eee;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    display: block;
    padding: 15px 10px;
    color: #333;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.active {
    background-color: #ddd;
    color: #85dd5c;
    text-decoration: none;
}

/* ============================================== */
/* ===     JUMBOTRON (HEADER)                  ====== */
/* ============================================== */

.jumbotron {
    position: relative;
    height: 200px; /* Nieuwe hoogte */
    overflow: hidden;
    text-align: center;
    color: white;
}

.jumbotron .slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.jumbotron .slides img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.jumbotron .slides img.active {
    opacity: 1;
}

.jumbotron::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 2;
}

.jumbotron .title-text,
.jumbotron .description-text,
.jumbotron .centered-button {
    position: relative;
    z-index: 3;
    margin-left: auto;
    margin-right: auto;
    max-width: 800px;
    padding: 0 20px;
}

.jumbotron .title-text {
    margin-top: 100px;
    font-size: 3em;
    margin-bottom: 15px;
}

.jumbotron .description-text {
    font-size: 1.2em;
    margin-bottom: 25px;
}

.jumbotron .centered-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #1f6200;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.jumbotron .centered-button:hover {
    background-color: #1f6200;
    text-decoration: none;
}

/* ============================================== */
/* ===     MAIN CONTENT (3 KOLOMMEN LAYOUT)      ====== */
/* ============================================== */

.three-columns {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 40px;
    max-width: 1200px;
    margin: 30px auto;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.main-column {
    flex: 1;
}

.column-left,
.column-right {
    text-align: center;
}

.column-left img,
.column-right img {
    display: block;
    margin: 0 auto;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.15);
}

.column-middle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.column-middle h2 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 2em;
    color: #333;
}

.column-middle p {
    margin-top: 0;
    margin-bottom: 15px;
    color: #555;
    line-height: 1.7;
}

.column-middle p:last-child {
    margin-bottom: 0;
}

/* ============================================== */
/* ===     FOOTER                              ====== */
/* ============================================== */

footer {
    text-align: center;
    padding: 20px;
    margin-top: 40px;
    background-color: #fffefe;
    color: #ccc;
    font-size: 0.9em;
}

footer p {
    margin: 0;
}

/* ============================================== */
/* ===     OVERZICHT PAGINA STIJLEN            ====== */
/* ============================================== */

.two-column-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.history-column {
    flex: 1;
    padding-right: 20px;
    border-right: 1px solid #eee;
}

.facts-column {
    flex: 1;
    padding-left: 20px;
}

.history-title-text,
.important-info-title,
.why-visit-title {
    color: #333;
    margin-top: 0;
    margin-bottom: 15px;
}

.history-info-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.important-info-list,
.why-visit-info-list {
    list-style-type: disc;
    padding-left: 20px;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .two-column-layout {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }

    .history-column,
    .facts-column {
        width: 100%;
        padding: 0;
        border-right: none;
        margin-bottom: 20px;
    }

    .facts-column .text-content {
        padding-top: 15px;
    }
}

/* ============================================== */
/* ===     ACTIVITEITEN PAGINA STIJLEN         ====== */
/* ============================================== */

.three-column-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1200px;
    margin: 175px auto;
    padding: 40px;
    background-color: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 8px;
}

.activity-column {
    flex: 1;
    padding: 20px;
    border-right: 1px solid #eee;
}

.activity-column:last-child {
    border-right: none;
}

.activity-column h2 {
    color: #333;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.activity-column ul {
    list-style-type: none;
    padding-left: 0;
    color: #555;
    line-height: 1.6;
    margin-bottom: 15px;
}

.activity-column ul li {
    margin-bottom: 5px;
}

.activity-column p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsieve aanpassingen voor de drie kolommen layout */
@media (max-width: 992px) {
    .three-column-layout {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .activity-column {
        width: calc(50% - 20px);
        margin-bottom: 20px;
        border-right: none;
    }

    .activity-column:last-child {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .three-column-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .activity-column {
        width: 100%;
        margin-bottom: 20px;
        padding: 15px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }

    .activity-column:last-child {
        border-bottom: none;
    }
}

/* Stijlen voor de Veelgestelde vragen sectie */
.faq-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    text-align: center; /* Centreer de tekst in de container */
}

.faq-container h2 {
    color: #333;
    font-size: 2em;
    margin-top: 0;
    margin-bottom: 20px;
}

.faq-item {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item p:first-child {
    font-weight: bold;
    color: #555;
    margin-bottom: 5px;
}

.faq-item p:last-child {
    color: #777;
    margin-top: 0;
}

/* ============================================== */
/* ===     RESPONSIVE AANPASSINGEN              ====== */
/* ============================================== */

@media (max-width: 992px) {
    .jumbotron .title-text {
        font-size: 2.5em;
        margin-top: 80px;
    }
    .jumbotron .description-text {
        font-size: 1.1em;
    }
    .three-columns {
        gap: 20px;
        padding: 30px 15px;
    }
    .column-middle h2 {
        font-size: 1.8em;
    }
}


@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin: 0;
        width: 100%;
        text-align: center;
    }
    nav ul li a {
            border-bottom: 1px solid #ccc;
    }
    nav ul li:last-child a {
            border-bottom: none;
    }

    .jumbotron {
        display: none; /* HIER IS DE NIEUWE REGEL */
        /* height: 350px; */
    }
    .jumbotron .title-text {
        font-size: 2em;
        margin-top: 60px;
    }
    .jumbotron .description-text {
        font-size: 1em;
    }

    .three-columns {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }

    .main-column {
        width: 90%;
        margin-bottom: 30px;
        flex: none;
    }

    .main-column:last-child {
        margin-bottom: 0;
    }

    .column-middle {
            padding: 0 10px;
    }
    .column-middle h2 {
        font-size: 1.6em;
    }
}

@media (max-width: 480px) {
    .jumbotron .title-text {
        font-size: 1.8em;
        margin-top: 50px;
    }
    .jumbotron .description-text {
        font-size: 0.9em;
    }
    .jumbotron .centered-button {
        padding: 10px 20px;
        font-size: 1em;
    }
    .three-columns {
        padding: 15px;
    }
    .main-column {
        width: 95%;
    }
    .column-middle h2 {
        font-size: 1.5em;
    }
}

/* Nieuwe stijl voor de main tag */
main {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

body.activiteiten-pagina {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@media (min-width: 1920px) and (min-height: 1080px) {
    body.activiteiten-pagina {
        background-attachment: fixed;
    }

    /* Aanpassingen voor grotere schermen (breder dan een laptop) */
    .three-columns {
        max-width: 1600px;
    }

    .two-column-layout {
        max-width: 1400px;
    }

    .faq-container {
        max-width: 1600px;
    }

    .practical-info-container {
        max-width: 1300px;
    }

    .review-row {
        max-width: 1400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ============================================== */
/* ===     REVIEWS PAGINA STIJLEN                ====== */
/* ============================================== */

body.reviews-pagina .content-container {
    display: grid;
    grid-template-columns: 2fr 300px; /* Vaste breedte voor de beoordeling en afbeelding */
    grid-template-rows: auto; /* Hoogte wordt bepaald door de inhoud */
    gap: 20px;
    max-width: 1400px;
    margin: 70px auto;
    padding: 20px;
    position: relative;
}

.review-row {
    grid-column: 1;
    margin-left: 20px;
    padding: 20px;
    background-color: #fff;
    border-bottom: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    flex-direction: column; /* Zorgt dat de content verticaal georganiseerd is */
    min-height: 150px; /* Stel hier de gewenste minimum hoogte in */
}

.review-row:last-child {
    border-bottom: none;
}

.review-image {
    width: 100px;
    height: 100px;
    margin-right: 15px;
}

.review-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 64px;
}

.review-text {
    flex-grow: 1; /* Laat de tekst ruimte innemen binnen de min-height */
}

.review-text h3 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
    font-size: 1.2em;
}

.review-text .review-date {
    color: #777;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.review-text p {
    color: #555;
    line-height: 1.4;
    margin-bottom: 8px;
    font-size: 0.9em;
}

.review-text .review-stars {
    color: gold;
    font-size: 1em;
}

/* Stijlen voor de gemiddelde beoordeling sectie */
.average-rating-container {
    grid-column: 2;
    grid-row: 1; /* Boven de afbeelding */
    background-color: #fff;
    border-radius: 8px;
    padding: 15px;
    text-align: left;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 250px; /* Exacte hoogte van de afbeelding */
    justify-content: flex-start; /* Inhoud bovenaan plaatsen */
}

.average-rating-info {
    margin-bottom: 20px;
}

.average-rating-info p {
    margin: 5px 0;
}

.average-rating-info p:first-child {
    font-size: 1.6em; /* Iets kleiner */
    font-weight: bold;
    color: #333;
}

.average-rating-info .average-stars {
    font-size: 3em; /* Iets kleiner */
    color: gold;
    line-height: 1;
}

.average-rating-image-container {
    grid-column: 2;
    grid-row: 2; /* Onder de beoordeling */
    display: flex;
    flex-direction: column;
    justify-content: flex-end; /* Afbeelding onderaan de container */
    margin-top: 0; /* Geen extra ruimte meer */
    height: 250px; /* Exacte hoogte van de beoordeling */
}

.average-rating-image {
    width: 100%;
    max-height: 250px;
    overflow: visible; /* Veranderd van hidden naar visible */
    align-self: end; /* Afbeelding onderaan de container */
}

.average-rating-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-radius: 8px; /* Border radius voor de afbeelding */
}

/* Verbergen op telefoon en ipad groottes en aanpassing review layout */
@media (max-width: 992px) {
    .average-rating-container,
    .average-rating-image-container {
        display: none;
    }

    body.reviews-pagina .content-container {
        grid-template-columns: 1fr;
    }

    .review-row {
        margin-left: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .review-image {
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* Stijl voor de afbeelding onder "Waarom bezoeken?" */
.why-visit-image {
    max-width: 70%;
    height: auto;
    border-radius: 8px;
    display: block;
    margin-top: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .why-visit-image {
        max-width: 90%;
    }
}
/* ============================================== */
/* ===     PRAKTISCHE INFORMATIE PAGINA STIJLEN ====== */
/* ============================================== */

.practical-info-page main {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Belangrijk om de content bovenaan uit te lijnen */
    flex-grow: 1;
    padding: 20px; /* Optionele padding rondom de content */
    /* margin-top: 50px; <--- DEZE IS NU WEGGEHAALD */
}

.practical-info-container {
    display: flex;
    flex-wrap: wrap;
    max-width: 960px; /* Optionele maximale breedte van de container */
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px; /* HIER DE MARGIN DIRECT OP DE CONTAINER */
}

.left-column {
    flex: 1;
    min-width: 300px;
    margin-right: 20px;
}

.right-column {
    flex: 1;
    min-width: 300px;
}

.right-column img {
    display: block;
    width: 100%;
    height: auto;
}
.info-image {
    border-radius: 8px;
}

@media (max-width: 768px) {
    .practical-info-container {
        flex-direction: column;
    }

    .left-column, .right-column {
        flex-basis: 100%;
        margin-right: 0;
        margin-bottom: 20px;
    }

    .right-column {
        order: -1; /* Zorgt ervoor dat de afbeelding boven de tekst komt */
    }
}