/* Reset & basis */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #fff;
  color: #111;
  font-size: 15px;
  line-height: 1.5;
}

a { text-decoration: none; color: inherit; }

/* Navigatie */
header {
  border-bottom: 1px solid #eee;
  height: 56px;
}

header nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 7px;
}

.logo svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.logo .logo-special { font-weight: 500; }
.logo .logo-hotels  { color: #999; font-weight: 400; }

header nav ul {
  list-style: none;
  display: flex;
  gap: 28px;
}

header nav ul a {
  font-size: 13px;
  color: #666;
}

header nav ul a:hover { color: #111; }

/* Hero */
.hero {
  padding: 64px 40px 40px;
  text-align: center;
}

.hero h1 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.hero .subtitel {
  font-size: 15px;
  color: #666;
  margin-bottom: 28px;
}

/* Zoekbalk */
.zoekbalk {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  border: 1px solid #ddd;
  border-radius: 12px;
  overflow: visible;
}

.zoekbalk input[type="text"],
.zoekbalk input[type="search"] {
  flex: 1;
  padding: 14px 20px;
  font-size: 14px;
  border: none;
  outline: none;
  font-family: inherit;
}

.zoekbalk .scheiding {
  width: 1px;
  background: #eee;
  height: 20px;
  align-self: center;
  flex-shrink: 0;
}

.datum-veld {
  position: relative;
  padding: 14px 18px;
  font-size: 13px;
  color: #666;
  white-space: nowrap;
  cursor: pointer;
}

.zoekbalk button {
  background: #111;
  color: #fff;
  padding: 14px 24px;
  font-size: 13px;
  border: none;
  cursor: pointer;
  border-radius: 0 10px 10px 0;
  font-family: inherit;
  white-space: nowrap;
}

.zoekbalk button:hover { background: #333; }

/* Filter pills */
.filters {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 20px 40px 0;
  flex-wrap: wrap;
}

.pill {
  font-size: 12px;
  padding: 6px 16px;
  border: 1px solid #ddd;
  color: #666;
  cursor: pointer;
  border-radius: 20px;
  background: #fff;
  font-family: inherit;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.pill:hover {
  border-color: #bbb;
  color: #111;
}


.pill.active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Lijstpagina header */
.lijst-header {
  max-width: 1100px;
  margin: 0 auto;
  padding: 32px 40px 8px;
}

.lijst-header h1 {
  font-size: 28px;
  font-weight: 500;
  margin-top: 12px;
}

/* Custom dropdown */
.custom-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  z-index: 100;
  min-width: 140px;
  overflow: hidden;
}

.custom-dropdown div {
  padding: 10px 16px;
  font-size: 13px;
  cursor: pointer;
  color: #333;
}

.custom-dropdown div:hover { background: #f5f5f5; }

/* Zoekpagina header */
.zoeken-header {
  padding: 28px 40px;
  border-bottom: 1px solid #eee;
}

.zoekbalk-wrapper {
  max-width: 680px;
  margin: 0 auto;
}

/* Lege staat */
.geen-resultaten {
  padding: 60px 0;
  text-align: center;
  color: #666;
}

.geen-resultaten p:first-child {
  font-size: 16px;
  color: #111;
  margin-bottom: 8px;
}

/* Resultaten */
.resultaten {
  max-width: 1100px;
  margin: 0 auto;
  padding: 28px 40px;
}

.resultaten .meta {
  font-size: 12px;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
}

/* Hotelgrid */
.hotelgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

/* Hotelkaart */
.hotelkaart {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s;
}

.hotelkaart:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }

.hotelkaart-foto {
  height: 200px;
  position: relative;
  overflow: hidden;
}

.hotelkaart-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotelkaart-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #fff;
  color: #111;
  font-size: 10px;
  font-weight: 500;
  padding: 3px 8px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  border-radius: 4px;
}

.hotelkaart-body {
  padding: 14px 16px;
}

.hotelkaart-naam {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 2px;
}

.hotelkaart-plaats {
  font-size: 12px;
  color: #999;
  margin-bottom: 12px;
}

.hotelkaart-footer {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.hotelkaart-prijs {
  font-size: 15px;
  font-weight: 500;
}

.hotelkaart-score {
  font-size: 12px;
  color: #666;
}

/* Hoteldetailpagina */
.hotel-galerij {
  padding: 0 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.hotel-hoofdfoto img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.hotel-thumbs {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  overflow-x: auto;
  padding-bottom: 0;
  line-height: 0;
}

.thumb {
  height: 80px;
  width: 120px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.7;
  flex-shrink: 0;
  transition: opacity 0.15s;
}

.thumb.actief { opacity: 1; outline: 2px solid #111; }
.thumb:hover  { opacity: 0.9; }

.hotel-content {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.hotel-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #666;
  margin-bottom: 8px;
}

.hotel-info h1 {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 4px;
}

.hotel-locatie {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.hotel-score {
  font-size: 13px;
  color: #444;
  margin-bottom: 8px;
}

.hotel-omschrijving {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin-top: 20px;
  white-space: pre-line;
}

.boek-kaart {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
  position: sticky;
  top: 20px;
}

.boek-prijs {
  font-size: 20px;
  margin-bottom: 16px;
}

.boek-btn {
  width: 100%;
  background: #111;
  color: #fff;
  border: none;
  padding: 14px;
  font-size: 14px;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.boek-btn:hover { background: #333; }

.boek-aanvraag {
  font-size: 14px;
  color: #666;
  margin-bottom: 12px;
}

.boek-info {
  margin-top: 16px;
  font-size: 13px;
  color: #666;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.boek-info a { color: #111; text-decoration: underline; }

.hotel-arrangementen {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px 40px;
}

.hotel-arrangementen h2 {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 4px;
}

.arrangementen-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.arrangement-kaart {
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 20px;
}

.arrangement-naam {
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.arrangement-omschrijving {
  font-size: 13px;
  color: #666;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  line-clamp: 4;
  overflow: hidden;
}

.arrangement-prijs {
  font-size: 14px;
  font-weight: 500;
  margin-top: 12px;
}

/* Beschikbaarheidskalender */
.hotel-kalender { max-width: 1100px; margin: 0 auto; padding: 0 40px 40px; }
.hotel-kalender h2 { font-size: 20px; font-weight: 500; margin-bottom: 20px; }
.kalender-maanden { display: flex; gap: 24px; flex-wrap: wrap; }
.kalender-maand { flex: 1; min-width: 260px; }
.kalender-titel { font-size: 14px; font-weight: 500; margin-bottom: 10px; text-transform: capitalize; }
.kalender-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.dag-header { font-size: 11px; color: #999; text-align: center; padding: 4px 0; }
.dag { font-size: 13px; text-align: center; padding: 7px 4px; border-radius: 6px; }
.dag.verleden { color: #ccc; }
.dag.beschikbaar { background: #f0faf4; color: #1a7a3c; cursor: pointer; font-weight: 500; }
.dag.beschikbaar:hover { background: #d4f0e0; }
.dag.vol { color: #ccc; }
.kalender-nachten { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; flex-wrap: wrap; }
.kalender-nachten span { font-size: 14px; color: #555; }
.nachten-btn { background: #f0f0f0; border: none; border-radius: 20px; padding: 5px 13px; font-size: 13px; cursor: pointer; }
.nachten-btn.actief { background: #222; color: #fff; }
.nachten-btn:hover:not(.actief) { background: #e0e0e0; }
.kalender-hint { font-size: 13px; color: #999; margin-bottom: 16px; margin-top: -4px; }

/* Boekingspagina */
.boeking-wrapper {
  max-width: 900px;
  margin: 40px auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.boeking-overzicht h1 { font-size: 22px; font-weight: 500; margin-bottom: 4px; }

.boeking-details {
  margin-top: 20px;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
}

.boeking-detail-rij {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 10px 16px;
  border-bottom: 1px solid #f0f0f0;
  gap: 12px;
}
.boeking-detail-rij span { color: #666; font-size: 14px; flex-shrink: 0; }
.boeking-detail-rij strong { font-size: 14px; text-align: right; }

.boeking-detail-rij:last-child { border-bottom: none; }
.boeking-totaal { background: #fafafa; font-size: 15px; }
.boeking-totaal span, .boeking-totaal strong { font-size: 15px; font-weight: 600; color: #111; }

.boeking-arrangement { font-size: 13px; color: #666; max-width: 160px; text-align: right; line-height: 1.3; }

.boeking-formulier h2 { font-size: 18px; font-weight: 500; margin-bottom: 20px; }

.form-groep {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-groep label { font-size: 13px; color: #444; }

.form-groep input[type="text"],
.form-groep input[type="email"],
.form-groep input[type="tel"] {
  width: 100%;
  padding: 10px 14px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
}

.form-groep input:focus { border-color: #999; }

.form-rij { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.form-radio-groep {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.form-radio-groep label { display: flex; align-items: center; gap: 6px; cursor: pointer; }

.optioneel { color: #999; font-size: 12px; }

.boek-btn-groot {
  width: 100%;
  padding: 16px;
  font-size: 15px;
  border-radius: 10px;
  margin-top: 8px;
}

.boeking-disclaimer {
  font-size: 12px;
  color: #999;
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

/* Bevestigingspagina */
.bevestigd-wrapper {
  max-width: 480px;
  margin: 60px auto;
  padding: 0 40px;
  text-align: center;
}

.bevestigd-icoon {
  color: #1a7a3c;
  margin-bottom: 16px;
}

.bevestigd-wrapper h1 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 10px;
}

.bevestigd-subtitel {
  font-size: 15px;
  color: #666;
  margin-bottom: 32px;
}

.bevestigd-kaart {
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  text-align: left;
  margin-bottom: 28px;
}

.bevestigd-rij {
  display: flex;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 14px;
  border-bottom: 1px solid #f0f0f0;
}

.bevestigd-rij:last-child { border-bottom: none; }
.bevestigd-totaal { background: #fafafa; font-size: 15px; }

/* 404 pagina */
.niet-gevonden {
  max-width: 500px;
  margin: 80px auto;
  text-align: center;
  padding: 0 40px;
}

.niet-gevonden h1 {
  font-size: 24px;
  font-weight: 500;
  margin-bottom: 12px;
}

.niet-gevonden p {
  color: #666;
  margin-bottom: 24px;
}

.terug-link {
  font-size: 14px;
  color: #111;
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
  header nav ul { display: none; }

  .hero {
    padding: 40px 20px 28px;
  }

  .hero h1 {
    font-size: 26px;
  }

  .zoekbalk {
    flex-direction: column;
    border-radius: 12px;
  }

  .zoekbalk .scheiding {
    width: auto;
    height: 1px;
    align-self: stretch;
  }

  .zoekbalk button {
    border-radius: 0 0 10px 10px;
  }

  .filters {
    padding: 16px 20px 0;
  }

  .resultaten {
    padding: 20px;
  }

  .hotelgrid {
    grid-template-columns: 1fr;
  }

  /* Boekingspagina — formulier boven overzicht */
  .boeking-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
  .boeking-overzicht { order: 2; }
  .boeking-formulier { order: 1; }
}

/* Beschikbaarheid opties */
.hotel-beschikbaarheid { max-width: 1100px; margin: 0 auto; padding: 0 40px 40px; }
.hotel-beschikbaarheid h2 { font-size: 20px; font-weight: 500; margin-bottom: 8px; }

.optie-kaart { display: flex; gap: 0; border: 1px solid #eee; border-radius: 12px; overflow: hidden; margin-bottom: 12px; }
.optie-kaart:hover { border-color: #ccc; }

.optie-foto { width: 160px; flex-shrink: 0; }
.optie-foto img { width: 160px; height: 100%; object-fit: cover; display: block; }
.optie-foto-leeg { width: 160px; height: 100%; background: #f5f5f5; }

.optie-info { flex: 1; padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; }
.optie-naam { font-size: 15px; font-weight: 500; }
.optie-labels { display: flex; gap: 6px; flex-wrap: wrap; }
.optie-label { font-size: 11px; padding: 2px 8px; background: #f5f5f5; color: #555; border-radius: 4px; }
.optie-omschrijving { font-size: 13px; color: #666; line-height: 1.5; }

.optie-actie { width: 160px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; border-left: 1px solid #eee; }
.optie-prijs { font-size: 22px; font-weight: 500; }
.optie-prijs-label { font-size: 11px; color: #999; margin-top: -4px; }

.optie-boek-btn { background: #111; color: #fff; border: none; padding: 10px 16px; font-size: 13px; font-weight: 500; border-radius: 8px; cursor: pointer; white-space: nowrap; width: 100%; }
.optie-boek-btn.aanvraag { background: #555; }
.optie-boek-btn:hover { opacity: 0.85; }

@media (max-width: 768px) {
  /* Hotel content grid — onder elkaar */
  .hotel-content {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }

  /* Boekkaart niet sticky op mobiel */
  .boek-kaart {
    position: static;
  }

  /* Nachten knoppen — compacter */
  .kalender-nachten {
    gap: 4px;
  }
  .nachten-btn {
    width: 32px;
    height: 32px;
    padding: 0;
    font-size: 12px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Kalender */
  .kalender-maanden { flex-direction: column; }
  .dag { font-size: 12px; padding: 5px 2px; }
  .hotel-kalender { padding: 0 20px 20px; }
  .hotel-beschikbaarheid { padding: 0 20px 20px; }

  /* Galerij — geen witruimte, geen ronde hoeken */
  .hotel-galerij { padding: 0; }
  .hotel-hoofdfoto img { border-radius: 0; height: 260px; }
  .hotel-thumbs { gap: 4px; padding: 0 12px; }
  .thumb { height: 60px; width: 80px; }

  /* Optie kaart */
  .optie-kaart { flex-direction: column; }
  .optie-foto { width: 100%; height: 180px; }
  .optie-foto img { width: 100%; height: 180px; object-fit: cover; }
  .optie-foto-leeg { width: 100%; height: 180px; }
  .optie-actie {
    width: 100%;
    border-left: none;
    border-top: 1px solid #eee;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px;
  }
  .optie-actie .optie-prijs { font-size: 18px; text-align: center; }
  .optie-actie .optie-prijs-label { display: none; }
  .optie-boek-btn { width: 100%; }

  /* Boekingsformulier */
  .boeking-wrapper { padding: 12px; gap: 20px; min-width: 0; overflow-x: hidden; }
  .form-rij { grid-template-columns: 1fr; }
  input, select, textarea { max-width: 100%; min-width: 0; }
}

@media (max-width: 360px) {
  .boeking-wrapper { padding: 8px; }
  .hotel-galerij { padding: 0; }
  .hotel-content { padding: 12px; }
  .hotel-kalender,
  .hotel-beschikbaarheid,
  .hotel-arrangementen { padding: 0 12px 20px; }
}
