body {
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  background-color: #fcfcfc;
  color: #222;
  margin: 0;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

header {
  background: #001f4d url('../images/header.png') center/cover no-repeat;
  color: #fff;
  position: relative;
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 1rem;
  gap: 1rem;
  flex-wrap: nowrap;
}

.logo {
  width: 60px;
  height: auto;
}

#main-nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  position: relative;
  z-index: 1000;
}

#main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}

#main-nav li {
  padding: 0;
}

#main-nav li + li {
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 1rem;
}

#main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  white-space: nowrap;
}

#main-nav a:hover {
  text-decoration: underline;
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.7);
  border: none;
  color: #001f4d;
  font-size: 2rem;
  cursor: pointer;
  display: none;
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  z-index: 1001;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
  flex: 1;
}

.service-photo {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

@media (min-width: 601px) {
  .service-photo {
    width: 40%;
    float: right;
    margin: 0 0 1rem 1rem;
  }
}

@media (max-width: 600px) {
  .service-photo {
    width: 100%;
    float: none;
    margin: 1rem 0;
  }
}

section {
  margin-bottom: 2rem;
}

main > section {
  border: 1px solid #ddd;
  padding: 1rem;
  background-color: #fff;
  border-radius: 6px;
  overflow: hidden;
}

main ul {
  font-size: 1rem;
}

.services .tile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.services .tile {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  color: #fff;
}

.services .tile img {
  display: block;
  width: 100%;
  height: auto;
}

.services .tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 6px;
  z-index: 1;
}

.services .tile h3 {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0.5rem;
  font-size: 1.1rem;
  z-index: 2;
}

@media (min-width: 600px) {
  .services .tile-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services .tile-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 500px;
  margin: 0 auto;
  background: #fff;
  padding: 2em;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
}

.contact-form label {
  display: block;
  margin-top: 1em;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  padding: 0.5rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
}

.btn {
  display: inline-block;
  background-color: #001f4d;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  background-color: #003366;
  text-decoration: none;
}

.success-message {
  display: none;
  background-color: #e0fbe0;
  color: #145214;
  padding: 1em;
  border: 1px solid #a6d8a8;
  border-radius: 4px;
  margin-bottom: 2em;
}

.price-with-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

footer {
  background-color: #eee;
  text-align: center;
  font-size: 0.875rem;
  padding: 1rem;
}

/* MOBIEL MENU */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  #main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  #main-nav.open {
    display: flex;
    animation: slideDown 0.3s ease-out;
  }

  #main-nav ul {
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    text-align: center;
  }

  #main-nav li {
    border: none;
    padding: 0.75rem 0;
  }

  #main-nav li + li {
    border-top: 1px solid #eee;
  }

  #main-nav a {
    color: #1e40aa;
    font-size: 1.5rem;
  }
}

@keyframes slideDown {
  from {
    transform: translateY(-0.5rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Slideshow voor particuliere evenementen */
.slideshow {
  max-width: 600px;
  margin: 1rem auto;
  text-align: center;
}

.slideshow img {
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.slideshow .slide-caption {
  margin-top: 0.5rem;
}

.slideshow-dots {
  margin-top: 0.5rem;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.slideshow-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #ccc;
  border: none;
  cursor: pointer;
  padding: 0;
}

.slideshow-dot.active {
  background-color: #333;
}

.stroomvoorziening-content {
  display: flex;
  align-items: flex-start;
}

.stroomvoorziening-text {
  flex: 1;
  margin-right: 2rem;
  text-align: left;
}

.stroomvoorziening-content .slideshow {
  flex: 1;
  margin: 0;
}

.particuliere-content {
  display: flex;
  align-items: flex-start;
}

.particuliere-text {
  flex: 1;
  margin-right: 2rem;
  text-align: left;
}

.particuliere-content .slideshow {
  flex: 1;
  margin: 0;
}

@media (max-width: 767px) {
  .stroomvoorziening-content {
    flex-direction: column;
  }
  .stroomvoorziening-text {
    margin-right: 0;
  }
  .stroomvoorziening-content .slideshow {
    margin-top: 1rem;
  }
  .particuliere-content {
    flex-direction: column;
  }
  .particuliere-text {
    margin-right: 0;
  }
  .particuliere-content .slideshow {
    margin-top: 1rem;
  }
}
