/* Algemene layout */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background: #f3f3f3;
    color: #333;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background-color: #32aeaa;
    color: #4a2f12;
    padding: 1rem;
    flex-wrap: wrap;
    text-align: center;    
}

header img.logo {
  max-height: 5rem;
  width: auto; 
}

nav {
    display: flex;
    justify-content: center;
    background: #1E756A;
    flex-wrap: wrap;
}

nav a {
  color: white;
  margin: 15px;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-weight: bold;
}

nav a img.icon {
  margin-right: 5px;
  height: 18px;
}

nav a:hover {
  background-color: #21867a;
}

/* Intro sectie */
.intro-section {
  display: flex;
  max-width: 900px;
  margin: 2rem auto;
  gap: 2rem;
  align-items: center;
  flex-wrap: wrap;
}

.intro-text {
  flex: 1 1 45%;
}

.slider-wrapper {
  flex: 1 1 45%;
}
.container {
    max-width: 800px; margin: 2rem auto;
    padding: 1.2rem;
    background: white;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Slider */
.slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.slides {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.slides img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  padding: 8px;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
}

.prev { left: 10px; }
.next { right: 10px; }

.dots {
  text-align: center;
  margin-top: 10px;
}

.dot {
  height: 12px;
  width: 12px;
  margin: 0 4px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
}

.dot.active {
  background-color: #2a9d8f;
}

/* Kalender */
.calendar-wrapper {
  text-align: center;
  margin: 2rem auto;
  max-width: 450px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #2a9d8f;
  color: #fff;
  padding: 0.5rem;
  border-radius: 5px 5px 0 0;
}

.calendar-header button {
  background: none;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
}

.calendar {
  width: 100%;
  border-collapse: collapse;
}

.calendar th {
  background: #e0f2f1;
  padding: 10px;
}

.calendar td {
  border: 1px solid #ddd;
  height: 40px;
  vertical-align: middle;
}

.calendar td.available {
  background-color: #c8e6c9;
}

.calendar td.halfbooked {
  background-color: #ffe0b2;
}

.calendar td.unavailable {
  background-color: #ffcdd2;
  color: #999;
  text-decoration: line-through;
}

.calendar td.empty {
  background: #f9f9f9;
}

/* Legenda */
.legend {
  margin: 1rem auto;
  text-align: center;
}

.legend span {
  display: inline-block;
  margin: 0 10px;
}

.legend .available-box,
.legend .halfbooked-box,
.legend .unavailable-box {
  width: 15px;
  height: 15px;
  display: inline-block;
  margin-right: 5px;
}

.available-box {
  background: #c8e6c9;
  border: 1px solid #2a9d8f;
}

.halfbooked-box {
  background: #ffe0b2;
  border: 1px solid #ff9800;
}

.unavailable-box {
  background: #ffcdd2;
  border: 1px solid #c62828;
}

/* Formulier */
form {
  max-width: 700px;
  margin: auto;
}

.form-row {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.form-input {
  flex: 1;
}

.form-input input,
.form-input textarea {
  width: 100%;
  padding: 8px;
  box-sizing: border-box;
}

.cta-button {
  display: inline-block;
  background-color: #e96a0b;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #21867a;
}

footer {
    background: #01706b;
    color: white;
    text-align: center;
    padding: 1rem;

    /* Vast onderaan het scherm */
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;

    /* Centreer inhoud ook verticaal */
    display: flex;
    justify-content: center;
    align-items: center;
}

h1 {
  color: #4a2f12; 
}
h2 {
  color: #01706b; 
}

/* Mobiel */
@media (max-width: 768px) {
  .intro-section {
    flex-direction: column;
    text-align: center;
  }
  .intro-text, .slider-wrapper {
    flex: 1 1 100%;
  }
}

@media (max-width: 600px) {
  header {
    flex-direction: column;
    text-align: center;
  }
}