@charset "utf-8";

/****** boekenpagina specifieke stijl ******/
.calendar-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.calendar-box {
  flex: 1 1 45%;
  max-width: 45%;
  text-align: center;
}

.month-picker {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.calendar {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
  border: 1px solid #ccc;
  padding: 10px;
}

.day {
  padding: 10px;
  text-align: center;
}



.available {
  text-decoration: underline;
  cursor: pointer;
}

.unavailable {
  color: #ccc;
  cursor: not-allowed;
}

.booked {
  background-color: #fcbfbf;
}

.selected {
  background-color: #a0d2fc;
}

#selected-arrival,
#selected-departure {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--darkblue);
}

/* Responsive verbeteringen */
@media (max-width: 768px) {
  .calendar-box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .calendar {
    font-size: 0.9rem;
  }
}

/* Tarievenschema (indien gebruikt) */
.table-wrap {
  overflow-x: auto;
  margin: 0.75rem 0;
}

.rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  background: #fff;
  min-width: unset; 
}

.rate-table caption {
  text-align: left;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--darkblue);
}

.rate-table th,
.rate-table td {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid #e9eef3;
  vertical-align: top;
  text-align: left;
}

.rate-table thead th {
  background: var(--lightestblue);
  color: var(--blue);
  border-bottom: 2px solid #dfe8f0;
}

.rate-table tbody tr:hover {
  background: #fafcff;
}

.rate-table .num {
  text-align: left;
}



/* ========== Extra responsive fix reserveren.html ========== */

/* Zorg dat formulieren niet buiten viewport vallen */
form {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* Maak invoervelden mobielvriendelijk */
form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

/* Zorg dat de omschrijving boven de kalender meeschuift */
.item3 > p {
  padding: 0 1rem;
  word-break: break-word;
}

/* Zorg dat bij kleine schermen alles netjes onder elkaar staat */
@media (max-width: 600px) {
  .calendar-container {
    flex-direction: column;
    align-items: center;
  }

  .calendar-box {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .item3 {
    padding: 0 0.8rem;
  }

  form {
    padding: 0 0.8rem;
  }
}



/* Extra bescherming voor mobiele weergave */
@media (max-width: 600px) {
  .calendar-container,
  .calendar-box,
  form,
  .item3 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  form input,
  form select,
  form textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Laat alles onder elkaar vallen */
  .calendar-container {
    flex-direction: column;
    gap: 1rem;
  }
}

img[alt="Foto van wifikosten"] {
  max-width: 50%;
  height: auto;
  display: block;
  margin: 1rem auto;
}

.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.rate-table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
}

.rate-table th,
.rate-table td {
  white-space: normal;
  word-break: break-word;
}

td, th {
  word-break: normal;
  hyphens: auto;
}

@media (max-width: 600px) {
  .calendar {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
  }

  .calendar-box {
    width: 100%;
    max-width: 100%;
  }

  .month-picker {
    flex-wrap: wrap;
  }
}

/* Zorg dat formulieritems mobiel niet uitsteken */
@media (max-width: 600px) {
  .section-gegevens form,
  .section-gegevens form p,
  .section-gegevens form label,
  .section-gegevens input,
  .section-gegevens textarea {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .section-gegevens textarea {
    resize: vertical;
  }

  /* Override vaste HTML-attributen zoals cols en size */
  .section-gegevens input[type="text"],
  .section-gegevens input[type="email"],
  .section-gegevens input[type="tel"] {
    font-size: 1rem;
    padding: 0.4rem;
  }
}

@media (max-width: 600px) {
  .calendar {
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
  }

  .calendar .day {
    font-size: 0.7rem;
    padding: 5px 2px;
    min-height: auto;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .month-picker {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  #selected-arrival {
    display: block;
    margin-top: 0.3rem;
  }

  #selected-departure {
    display: block;
    margin-top: 0.3rem;
  }
}

body {
  overflow-x: hidden;
}

/* Gelijke kolombreedtes in alle rate-tables */
table.rate-table.rate-two-col {
  table-layout: fixed;
}

table.rate-table.rate-two-col th:first-child,
table.rate-table.rate-two-col td:first-child {
  width: 30%;
}

table.rate-table.rate-two-col th:last-child,
table.rate-table.rate-two-col td:last-child {
  width: 25%;
}
@media (min-width: 2560px) {
    /* Gelijke kolombreedtes in alle rate-tables */
  table.rate-table.rate-two-col th:first-child,
  table.rate-table.rate-two-col td:first-child {
    width: 10%;
  }

  table.rate-table.rate-two-col th:last-child,
  table.rate-table.rate-two-col td:last-child {
    width: 25%;
  }
}
@media (min-width: 768px) {
    img[alt="Foto van wifikosten"] {
    max-width: 30%;
  }
}
@media (min-width: 2560px) {
    img[alt="Foto van wifikosten"] {
    max-width: 20%;
  }
  form input  {
    font-size: 1.2rem;
    padding: 0.5rem;
    height: 2.75rem;
  }
  form label {
    padding-bottom: 0.3rem;
  }
  button {
    font-size: 1.4rem;
    padding: 0.3rem;
  }
  select {
    font-size: 1rem;
    padding: 0.2rem;
    height: 2rem;
  }
}
table.prijs-tabel {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

table.prijs-tabel th,
table.prijs-tabel td {
  border: 1px solid #ccc;
  padding: 0.6rem;
  text-align: left;
  vertical-align: top;
  
}

table.prijs-tabel th {
  background-color: #f3f7fc;
  color: var(--darkblue);
  
}

table.prijs-tabel .price-total {
  background-color: #e6f2ff;
}

table.prijs-tabel td {
  width: 5%;
}

