:root {
  --bg: #faf7f2;
  --text: #3b2a1e;
  --muted: #9c8575;
  --primary: #7a5c3e;
  --accent: #c87941;
  --card: #f2ece3;
  --radius: 12px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; font-family: 'Lato', system-ui, Arial, sans-serif; font-weight: 300; color: var(--text); background: var(--bg); }
img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 1rem; }

.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(250,247,242,0.97); border-bottom: 1px solid #e8dfd4; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; }
.brand { font-weight: 700; color: var(--primary); text-decoration: none; font-size: 1.1rem; }
.main-nav { display: flex; gap: 1rem; }
.main-nav a { text-decoration: none; color: var(--text); padding: 8px 12px; border-radius: 8px; }
.main-nav a:hover { background: #ede5d8; }

.hero {
  height: 80vh;
  min-height: 420px;
  background-image: url('Images/hero.jpg'); /* Pas dit pad aan naar jouw hero afbeelding */
  background-size: cover;
  background-position: center;
  position: relative;
}
.hero .overlay { position: absolute; inset: 0; background: rgba(0,0,0,0.35); }
.hero-content { position: relative; z-index: 1; color: #fff; text-align: left; padding: 5vh 0; display: flex; flex-direction: column; gap: 1rem; justify-content: center; height: 100%; }
.hero h1 { font-size: clamp(28px, 5vw, 48px); margin: 0; }
.hero p { font-size: 1.1rem; opacity: 0.95; max-width: 720px; }
.btn {
  display: inline-block; background: var(--primary); color: #fff; text-decoration: none;
  padding: 12px 20px; border-radius: 8px; font-weight: 600;
}
.btn:hover { background: #7a5c3e; }

.section { padding: 2.5rem 0; }
.section h2 { font-size: 2rem; margin-bottom: .5rem; }
.section .lead { color: var(--muted); margin-bottom: 1rem; }

.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 6px rgba(0,0,0,.05); display: flex; flex-direction: column; }
.card img { width: 100%; height: 180px; object-fit: cover; }
.card-body { padding: 1rem; display: flex; flex-direction: column; gap: .5rem; }
.card h3 { margin: 0; font-size: 1.25rem; }
.price { font-weight: 700; }

.grid-4 { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 0.75rem; }
.gallery-item img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; cursor: pointer; }

/* Lightbox overlay (standaard verborgen) */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: none;           /* standaard verborgen */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.lightbox.active {            /* zichtbaar wanneer .active toegevoegd is */
  display: flex;
}
.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 8px;
}
.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 2rem;
  background: transparent;
  border: none;
  cursor: pointer;
}
.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: white;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.lightbox .prev { left: 20px; }
.lightbox .next { right: 20px; }

.lightbox .prev:hover,
.lightbox .next:hover {
  opacity: 0.7;
}

.room-image {
  cursor: pointer;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: .35rem; }
label { font-weight: 600; font-size: .9rem; }
input, textarea, select {
  padding: 0.75rem; border-radius: 6px; border: 1px solid #ddd; font: inherit;
}
textarea { min-height: 120px; resize: vertical; }

.booking-form { display: grid; gap: 1rem; }

.map-wrap { margin-top: 1rem; border-radius: 8px; overflow: hidden; border: 1px solid #ddd; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; margin: 1rem 0; }
.contact-item { background: #ede5d8; padding: 1rem; border-radius: 8px; }

.footer { padding: 2rem 0; text-align: center; color: #666; }

.site-footer { padding: 2rem 0; border-top: 1px solid #eee; }
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .hero { height: 50vh; }
  .nav-wrap { flex-wrap: wrap; gap: .25rem; }
}