/* Algemene opmaak */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    padding-bottom: 100px;
}


/* Algemene header-styling */
header {
    background-color: #343a40; /* Donkere achtergrondkleur */
    color: white; /* Witte tekstkleur */
    padding: 10px 0; /* Verminderde ruimte boven en onder de header */
    position: relative; /* Nodig voor absolute positionering van logo */
    z-index: 10; /* Zorg dat de header boven andere elementen staat */
    height: auto; /* Zorg dat de hoogte automatisch aangepast wordt aan de inhoud */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Optioneel: een subtiele schaduw voor meer visuele impact */
}

/* Flexbox voor positionering in de header */
header .container {
    display: flex; /* Gebruik Flexbox */
    align-items: center; /* Verticaal uitlijnen */
    justify-content: space-between; /* Logo links en menu rechts */
    position: relative;
}

/* Logo-styling */
header .logo {
    max-width: 120px; /* Verklein het logo */
    height: auto; /* Houd verhoudingen intact */
}

/* Navigatie-styling */
.navbar {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Plaats menu rechts */
}

/* Responsiviteit voor kleinere schermen */
@media (max-width: 768px) {
    header .container {
        flex-direction: column; /* Stapel logo en menu verticaal */
        justify-content: center;
        padding: 5px 0; /* Nog compactere header op mobiele schermen */
    }

    header .logo {
        margin-bottom: 10px; /* Ruimte onder het logo */
    }

    .navbar-toggler {
        top: 15px; /* Pas de positie van de hamburgerknop aan */
        right: 15px;
    }
}


nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

h1, h2 {
    color: #333;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    width: 100%;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 1000;
}

.film-overzicht,
.recensie-overzicht {
    width: 48%;
}

/* Films */
.films {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.film {
    background-color: white;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 8px;
    text-align: left;
}

.film img {
    width: 100%;
    max-width: 350px;
    height: auto;
    border-radius: 8px;
}

/* Recensie-overzicht */
.recensie-overzicht {
    background-color: white;
    padding: 20px;
    border: 2px solid #333;
    border-radius: 8px;
}

/* Rating-sterren */
.rating .star {
    font-size: 24px;
    cursor: pointer;
}

/* Filmgalerij */
.gallery {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: 20px 0;
}

.gallery figure {
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    background-color: white;
    padding: 10px;
    border: 2px solid #333;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 20px;
    flex-direction: row;
}

.gallery img {
    width: 200px;
    height: auto;
    border-radius: 8px;
    margin-right: 20px;
}

/* Recensies */
.recensies {
    max-width: 500px;
    flex-grow: 1;
}

.recensies h4 {
    margin: 0 0 10px 0;
}

.recensies ul {
    list-style-type: none;
    padding-left: 0;
}

.recensies ul li {
    margin-bottom: 5px;
    font-size: 14px;
    line-height: 1.5;
}

/* Responsive galerij */
@media (max-width: 1024px) {
    .gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* Afbeeldingstijl */
img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1);
}

/* Logo styling */
.logo {
    max-width: 120px;
    height: auto;
    margin-right: 20px;
}

/* Responsive header */
@media (max-width: 768px) {

    h1 {
        display: none;
    }

    nav {
        margin-top: 10px;
    }
}

/* Stijlen voor de sterwaardering */
.rating-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.rating {
    display: flex;
    gap: 5px;
}

.rating input[type="radio"] {
    display: none;
}

.rating label {
    font-size: 1.5em;
    cursor: pointer;
    color: #ccc;
}

.rating input[type="radio"]:checked ~ label {
    color: gold;
}

.rating input[type="radio"]:checked + label,
.rating input[type="radio"] + label:hover,
.rating input[type="radio"] + label:hover ~ label {
    color: gold;
}

/* Cijferweergave onder de sterren */
.rating-display {
    font-size: 1.2em;
    margin-top: 5px;
    color: #555;
}

/* Vestigingenpagina */
.vestigingen {
    padding: 20px;
    text-align: center;
}

/* Stijling voor de sectiekop en zoekbalk */
.vestigingen-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.vestigingen-header h2 {
    margin: 0;
    color: #333;
}

.vestigingen-header .form-control {
    max-width: 400px; /* Breedte van zoekbalk op grotere schermen */
}

.contact-blok h3 {
    color: #333;
}

.contact-blok p {
    margin: 10px 0;
}



/* Responsiveness voor kleinere schermen */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr); /* Twee kolommen voor schermen kleiner dan 1024px */
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr; /* Eén kolom voor schermen kleiner dan 768px */
    }
}

/* Extra marge voor de kolommen */
.row {
    margin-bottom: 20px;
}

/* Main layout for film and reviews sections */
.main-content {
    display: flex;
    gap: 20px;
}

/* Styling for the Film Gallery */
.film-gallery {
    flex: 2;
    max-width: 60%;
}

/* Styling for the Reviews Section */
.reviews {
    flex: 1;
    max-width: 35%;
    overflow-y: auto;
    max-height: 80vh;
}

/* Styling for Individual Review Items */
.review-item ul {
    list-style-type: none;
    padding: 0;
}

.review-item h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.stars-rating {
    color: gold;
    margin-left: 5px;
}

/* Grid voor vestigingen */
.contact-grid {
    display: grid; /* Gebruik grid voor een betere layout controle */
    grid-template-columns: repeat(2, 1fr); /* Twee kolommen */
    grid-auto-rows: auto; /* De rijen worden automatisch verdeeld */
    gap: 20px;
    margin: 20px 0;
    padding: 10px;
}

/* Main layout for film gallery and reviews sections */
.main-content {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Styling for the Scrollable Film Container */
.scrollable-films {
    flex: 1;
    width: 50%;
    height: 70vh; /* Fixed height to match the reviews section */
    overflow-y: auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

/* Styling for individual film cards */
.film-item .card {
    margin-bottom: 20px;
    border: none;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.05);
}

/* Styling for the Reviews Section */
.reviews {
    display: none;
    flex: 1;
    width: 40%;
    height: 70vh; /* Fixed height for a consistent look */
    overflow-y: auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    background-color: #f9f9f9;
}

.review-item ul {
    list-style-type: none;
    padding: 0;
}

.review-item h5 {
    font-weight: bold;
    margin-bottom: 10px;
}

.stars-rating {
    color: gold;
    margin-left: 5px;
}

/* Styling for the Discount Code Message */
.discount-message {
    margin-top: 15px;
    font-weight: bold;
    color: #28a745;
    text-align: center;
    padding: 10px;
    background-color: #f1f1f1;
    border-top: 1px solid #ddd;
    position: relative;
    bottom: 0;
    width: 100%;
    display: none;
}

.review-item ul li:nth-child(3) ~ .discount-message {
    display: block;
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Drie kolommen */
    grid-template-rows: repeat(2, auto); /* Twee rijen */
    gap: 20px; /* Ruimte tussen de kaarten */
    margin-top: 20px;
}

/* Styling voor individuele kaarten */
.card {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

/* Responsieve aanpassing voor kleinere schermen */
@media (max-width: 768px) {
    .cards {
        grid-template-columns: repeat(2, 1fr); /* Twee kolommen op kleinere schermen */
        grid-template-rows: auto; /* Laat rijen automatisch groeien */
    }
}

@media (max-width: 480px) {
    .cards {
        grid-template-columns: 1fr; /* Één kolom op mobiele schermen */
    }
}



/* Contact blokken voor elke vestiging */
.contact-blok {
    background-color: #f9f9f9;
    padding: 30px; /* Grotere padding voor meer ruimte binnenin */
    box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.1); /* Schaduw voor diepte */
    border-radius: 12px; /* Grotere ronde hoeken */
    display: flex; /* Zorgt ervoor dat de blokken goed gepositioneerd zijn */
    flex-direction: column; /* Inhoud verticaal uitlijnen */
    min-width: 350px; /* Grotere minimale breedte voor elk contactblok */
    min-height: 250px; /* Stel een minimale hoogte in voor meer consistentie */
    flex: 0 0 auto; /* Zorg dat de blokken hun grootte behouden */
}

.dropdown-menu {
    border: 1px solid #ccc;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.dropdown-item {
    cursor: pointer;
    padding: 10px 15px;
    color: #000;
}
.dropdown-item:hover {
    background-color: #f1f1f1;
}

