/* Variables */
/* General Styling */
body {
  background-color: #f4f4f4;
  font-family: Arial, sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}
/* Banner Section */
.banner {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url('/images/fighter.webp');
  background-size: cover;
  background-position: center 20%;
  background-repeat: no-repeat;
}
.banner .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}
.banner img {
  width: 100%;
  height: 100%;
  /* Ensures the image fills the banner area */
  object-fit: cover;
  /* Keeps the image proportionate within the banner */
  object-position: center 20%;
}
.banner .banner-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
}
.banner .banner-content h2 {
  font-size: 2.5em;
  margin-bottom: 10px;
}
.banner .banner-content p {
  font-size: 1.2em;
  margin-bottom: 20px;
}
.banner .banner-content .cta-button {
  background-color: #ff8c00;
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s;
}
.banner .banner-content .cta-button:hover {
  background-color: #cc7000;
}
/* Now Showing Section */
.now-showing {
  padding: 20px;
  margin-top: 30px;
}
.now-showing h2 {
  text-align: center;
  color: #333;
}
.now-showing .movie-gallery {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}
.now-showing .movie-gallery .movie {
  background-color: #fff;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  width: 200px;
}
.now-showing .movie-gallery .movie img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}
.now-showing .movie-gallery .movie h3 {
  margin-top: 10px;
}
.now-showing .movie-gallery .movie .ticket-button {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  padding: 8px 15px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
}
.now-showing .movie-gallery .movie .ticket-button:hover {
  background-color: #2980b9;
}
/* Latest Reviews Section */
.latest-reviews {
  text-align: center;
  padding: 20px;
  background-color: #f8f9fa;
}
.latest-reviews h2 {
  color: #333;
}
.latest-reviews .review {
  font-size: 1.1em;
  margin: 10px 0;
}
.latest-reviews .cta-button {
  display: inline-block;
  background-color: #3498db;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}
.latest-reviews .cta-button:hover {
  background-color: #2980b9;
}
/* Special Offers Section */
.special-offers {
  text-align: center;
  padding: 20px;
  background-color: #e9ecef;
}
.special-offers h2 {
  color: #333;
}
.special-offers .cta-button {
  display: inline-block;
  background-color: #ff8c00;
  color: #fff;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
}
.special-offers .cta-button:hover {
  background-color: #cc7000;
}
header,
footer {
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background-color: #333;
  color: white;
  /* Navigation Menu */
}
header .logo img {
  max-width: 80px;
}
header .hamburger {
  display: none;
  font-size: 24px;
  color: white;
  cursor: pointer;
  transition: color 0.3s;
}
header .hamburger:hover {
  color: #3498db;
}
header .nav-menu ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
header .nav-menu ul li a {
  color: white;
  text-decoration: none;
  transition: color 0.3s;
}
header .nav-menu ul li a:hover {
  color: #3498db;
}
/* Review Form Section Styling */
.review-form-section {
  display: flex;
  gap: 20px;
  padding: 20px;
}
/* Styling for both sections */
.recensie-form,
.jouw-recensies {
  flex: 1;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-height: 500px;
  /* Set a minimum height to align both boxes */
}
/* Adjust overflow for "Jouw Recensies" box */
.jouw-recensies {
  overflow-y: auto;
}
/* Other Styling */
.jouw-recensies h2 {
  text-align: left;
  margin-bottom: 10px;
}
.review-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid #ddd;
  padding: 10px 0;
  margin-bottom: 10px;
}
.review-item strong {
  font-weight: bold;
  flex-basis: 25%;
}
.review-item .stars {
  color: gold;
  font-size: 16px;
  flex-basis: 15%;
  text-align: center;
}
.review-item .review-text {
  flex-basis: 60%;
  color: #333;
  font-size: 0.9em;
  text-align: left;
}
/* Ensure smooth scrolling behavior */
.jouw-recensies {
  scroll-behavior: smooth;
}
.jouw-recensies p {
  color: #666;
  font-size: 0.9em;
}
.intro-text {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 20px auto;
  /* centers the text and adds space below */
  line-height: 1.6;
}
.films-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* Two items per row */
  gap: 20px;
  /* Slightly less space between items */
  padding: 200px;
  /* Less padding around the gallery */
}
.single-film {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 10px;
  /* Smaller padding inside each film container */
  text-align: center;
  transition: box-shadow 0.3s;
  max-width: 200px;
  /* Smaller width for each film item */
  margin: 0 auto;
  /* Centers each film item */
}
.single-film:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.single-film img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 8px;
}
.single-film h3 {
  margin-top: 0;
  color: #333;
  font-size: 1em;
  /* Smaller font size for titles */
}
.single-film p {
  font-size: 0.8em;
  /* Smaller font size for descriptions */
  color: #666;
  margin: 8px 0;
}
.star-rating {
  font-size: 1em;
  /* Smaller font size for stars */
  color: gold;
}
/* Film Overview Section */
.film-overzicht {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}
.film-overzicht .film-item {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  width: 250px;
  text-align: center;
  padding: 15px;
  transition: box-shadow 0.3s;
}
.film-overzicht .film-item:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
.film-overzicht .film-item h2 {
  font-size: 1.2em;
  color: #333;
}
.film-overzicht .film-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}
.film-overzicht .film-item .star-rating {
  color: gold;
  font-size: 18px;
  margin-bottom: 10px;
}
.film-overzicht .film-item p {
  font-size: 0.9em;
  color: #666;
  margin-bottom: 15px;
}
.film-overzicht .film-item .button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}
.film-overzicht .film-item .button-group .read-more,
.film-overzicht .film-item .button-group .write-review {
  background-color: #3498db;
  color: #fff;
  padding: 8px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
}
.film-overzicht .film-item .button-group .read-more:hover,
.film-overzicht .film-item .button-group .write-review:hover {
  background-color: #2980b9;
}
.film-overzicht .film-item .review-list {
  max-height: 100px;
  overflow-y: auto;
  margin-top: 15px;
  text-align: left;
}
.film-overzicht .film-item .review-list .review-item {
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.film-overzicht .film-item .review-list .review-item strong {
  color: #333;
}
.film-overzicht .film-item .review-list .review-item p {
  color: #666;
  font-size: 0.9em;
}
/* Recensie Form */
.recensie-form {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  margin: 30px auto;
  max-width: 500px;
}
.recensie-form form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.recensie-form form label {
  font-weight: bold;
  color: #333;
}
.recensie-form form input[type="text"],
.recensie-form form select,
.recensie-form form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  width: 100%;
}
.recensie-form form input[type="text"]:focus,
.recensie-form form select:focus,
.recensie-form form textarea:focus {
  border-color: #ff8c00;
  outline: none;
}
.recensie-form form button[type="submit"] {
  background-color: #ff8c00;
  color: #fff;
  padding: 10px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.recensie-form form button[type="submit"]:hover {
  background-color: #cc7000;
}
.vestigingen-section {
  display: flex;
  justify-content: center;
  padding: 20px 0;
}
.vestigingen-section .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* 3 columns */
  gap: 20px;
  /* Space between each block */
  max-width: 1200px;
}
.vestigingen-section .contact-blok {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: box-shadow 0.3s ease;
}
.vestigingen-section .contact-blok h3 {
  color: #333;
  font-size: 1.2em;
  margin-bottom: 10px;
}
.vestigingen-section .contact-blok p {
  margin: 5px 0;
  color: #555;
}
.vestigingen-section .contact-blok a {
  color: #3498db;
  text-decoration: none;
  transition: color 0.3s ease;
}
.vestigingen-section .contact-blok a:hover {
  color: #217dbb;
}
.vestigingen-section .contact-blok:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}
/* Responsive Design for Recensies Page */
@media (max-width: 768px) {
  .film-overzicht {
    flex-direction: column;
    align-items: center;
  }
  .film-item {
    width: 90%;
  }
  .hamburger {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 60px;
    right: 20px;
    width: 200px;
    background-color: #333;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    opacity: 0;
    visibility: hidden;
  }
  .nav-menu.open {
    max-height: 300px;
    opacity: 1;
    visibility: visible;
  }
  .nav-menu .vestigingen-section .container {
    grid-template-columns: 1fr;
    /* Stacks blocks in a single column for smaller screens */
  }
  .nav-menu ul {
    flex-direction: column;
    padding: 10px 0;
  }
  .nav-menu ul li {
    padding: 10px 20px;
  }
  .nav-menu ul li a {
    color: #fff;
  }
  .nav-menu ul li a:hover {
    color: #3498db;
  }
}