/* =========================
   Restaurantrenovatie Amstelveen
   amstelveen-restaurant.css
   ========================= */

html, body {
  overflow-x: hidden;
  max-width: 100%;
}

/* ── HERO ── */
.rst-hero {
  position: relative;
  color: #fff;
  padding: 100px 0 56px;
  overflow: hidden;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(160deg, rgba(0,0,0,.50) 0%, rgba(0,0,0,.70) 55%, rgba(0,0,0,.90) 100%),
    url('./kostverlorenhof/wandafter.jpg') center 60% / cover no-repeat;
  background-color: #0f1117;
}

/* Fallback achtergrond als er geen hero-foto is */
.rst-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f1117 0%, #1a2a1f 100%);
  z-index: 0;
  display: none; /* Uitgeschakeld omdat we nu een echte achtergrondafbeelding hebben */
}

.rst-hero__accent {
  position: absolute;
  top: -80px;
  right: -60px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,95,70,.18) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.rst-hero__accent2 {
  position: absolute;
  bottom: -100px;
  left: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(6,95,70,.10) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.rst-hero > .container {
  position: relative;
  z-index: 3;
  width: 100%;
}

.rst-hero__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 36px;
  letter-spacing: .02em;
  transition: color .2s;
}

.rst-hero__back:hover { color: #fff; }

.rst-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 18px;
}

.rst-hero__eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: #34d399;
  border-radius: 2px;
}

.rst-hero__title {
  font-size: clamp(30px, 5.5vw, 68px);
  font-weight: 900;
  letter-spacing: -.03em;
  line-height: 1.03;
  margin: 0 0 20px;
  max-width: 740px;
}

.rst-hero__title em {
  font-style: normal;
  color: #34d399;
}

.rst-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.rst-hero__meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}

.rst-hero__meta-item svg {
  color: #34d399;
  flex-shrink: 0;
}

.rst-hero__lead {
  font-size: clamp(15px, 2vw, 17px);
  line-height: 1.75;
  color: rgba(255,255,255,.72);
  max-width: 600px;
  margin: 0 0 36px;
}

.rst-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.rst-scope__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  backdrop-filter: blur(6px);
}

/* ── SECTIES ── */
.rst-section {
  padding: 88px 0;
  overflow: hidden;
}

.rst-section--alt {
  background: #f7f7f5;
}

.rst-section--dark {
  background: #0f1117;
  color: #fff;
}

.rst-section__header {
  margin-bottom: 52px;
}

.rst-section__num {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #065f46;
  margin-bottom: 10px;
}

.rst-section--dark .rst-section__num {
  color: #34d399;
}

.rst-section__title {
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  letter-spacing: -.025em;
  line-height: 1.1;
  color: #111;
  margin: 0 0 14px;
}

.rst-section--dark .rst-section__title {
  color: #fff;
}

.rst-section__bar {
  width: 40px;
  height: 4px;
  background: #065f46;
  border-radius: 2px;
  margin-bottom: 18px;
}

.rst-section--dark .rst-section__bar {
  background: #34d399;
}

.rst-section__desc {
  font-size: 16px;
  line-height: 1.75;
  color: #555;
  max-width: 580px;
}

.rst-section--dark .rst-section__desc {
  color: rgba(255,255,255,.6);
}

/* ── SPLIT ── */
.rst-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.rst-split--reverse {
  direction: rtl;
}

.rst-split--reverse > * {
  direction: ltr;
}

/* ── BEFORE/AFTER GRID ── */
.rst-ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.rst-ba-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.rst-ba-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
  align-self: flex-start;
}

.rst-ba-label--before {
  background: rgba(0,0,0,.08);
  color: #666;
}

.rst-section--dark .rst-ba-label--before {
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.5);
}

.rst-ba-label--after {
  background: rgba(6,95,70,.12);
  color: #065f46;
}

.rst-section--dark .rst-ba-label--after {
  background: rgba(52,211,153,.15);
  color: #34d399;
}

/* ── FOTO ── */
.rst-photo {
  border-radius: 16px;
  overflow: hidden;
  background: #e0e0e0;
  border: 1px solid rgba(0,0,0,.06);
  position: relative;
  cursor: zoom-in;
}

.rst-photo--square { aspect-ratio: 1/1; }
.rst-photo--land   { aspect-ratio: 4/3; }
.rst-photo--port   { aspect-ratio: 3/4; }

.rst-section--dark .rst-photo {
  background: #1e2228;
  border-color: rgba(255,255,255,.07);
}

.rst-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.rst-photo:hover img {
  transform: scale(1.04);
}

.rst-photo__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #bbb;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  pointer-events: none;
}

.rst-section--dark .rst-photo__placeholder {
  color: rgba(255,255,255,.25);
}

/* ── CHECKLIST ── */
.rst-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rst-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.rst-section--dark .rst-checklist li {
  color: rgba(255,255,255,.8);
}

.rst-check-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(6,95,70,.1);
  border: 1px solid rgba(6,95,70,.25);
  display: grid;
  place-items: center;
  margin-top: 1px;
}

.rst-section--dark .rst-check-icon {
  background: rgba(52,211,153,.12);
  border-color: rgba(52,211,153,.3);
}

.rst-check-icon svg {
  color: #065f46;
}

.rst-section--dark .rst-check-icon svg {
  color: #34d399;
}

/* ── STATS ── */
.rst-stats {
  display: flex;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.rst-stat {
  flex: 1;
  min-width: 90px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  padding: 22px 16px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.04);
}

.rst-section--dark .rst-stat {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
  box-shadow: none;
}

.rst-stat__num {
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #065f46;
  line-height: 1;
  margin-bottom: 5px;
}

.rst-section--dark .rst-stat__num {
  color: #34d399;
}

.rst-stat__label {
  font-size: 11px;
  color: #999;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.rst-section--dark .rst-stat__label {
  color: rgba(255,255,255,.4);
}

/* ── CTA ── */
.rst-cta {
  padding: 88px 0;
  background: #065f46;
  color: #fff;
  text-align: center;
}

.rst-cta h2 {
  font-size: clamp(22px, 3.5vw, 46px);
  font-weight: 900;
  letter-spacing: -.025em;
  margin: 0 0 12px;
}

.rst-cta p {
  font-size: 17px;
  color: rgba(255,255,255,.8);
  margin: 0 0 32px;
}

.rst-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn--white {
  background: #fff;
  color: #065f46;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}

.btn--white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.btn--ghost-white {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.45);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .2s, background .2s;
}

.btn--ghost-white:hover {
  border-color: #fff;
  background: rgba(255,255,255,.1);
}

/* ── LIGHTBOX ── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0,0,0,.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.lightbox-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-overlay img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 12px;
  object-fit: contain;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transform: scale(.94);
  transition: transform .25s ease;
}

.lightbox-overlay.is-open img {
  transform: scale(1);
}

.lightbox-close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 1001;
}

.lightbox-close:hover { background: rgba(255,255,255,.22); }

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 1024px) {
  .rst-split { gap: 40px; }
}

@media (max-width: 760px) {
  .rst-hero {
    padding: 72px 0 48px;
    min-height: auto;
    align-items: flex-start;
  }

  .rst-section { padding: 56px 0; }
  .rst-section__header { margin-bottom: 32px; }

  .rst-split,
  .rst-split--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    direction: ltr;
  }

  .rst-split--reverse > * { direction: ltr; }

  .rst-ba-grid { grid-template-columns: 1fr 1fr; gap: 10px; }

  .rst-stats { gap: 12px; }
  .rst-stat { padding: 18px 12px; }
  .rst-stat__num { font-size: 26px; }

  .rst-cta { padding: 56px 0; }
  .rst-cta__actions { flex-direction: column; align-items: center; }

  .btn--white,
  .btn--ghost-white {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .rst-ba-grid { grid-template-columns: 1fr; }
}