/* ===============================
   Snelwonen – Listing detail
   Clean, calm, premium (Funda-style)
   =============================== */

:root {
  --max-width: 980px;
  --text-main: #111;
  --text-muted: #666;
  --border: #e6e6e6;
  --bg-soft: #f7f8fa;
  --accent: #2f7cf6;
  --radius: 10px;
  --font: system-ui, -apple-system, BlinkMacSystemFont,
          "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-main);
  line-height: 1.6;
  background: #fff;
}

/* ---------- HERO ---------- */

.hero {
  position: relative;
  width: 100%;
  height: 420px;
  background: #ddd;
  margin-bottom: -80px;
}

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

/* ---------- MAIN ---------- */

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 20px 64px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,0.06);
  position: relative;
}

/* ---------- BREADCRUMBS ---------- */

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumbs a {
  color: var(--accent);
  text-decoration: none;
}

/* ---------- HEADER ---------- */

.listing-header {
  max-width: 720px;
}

.listing-header h1 {
  font-size: 2.4rem;
  line-height: 1.2;
  margin: 8px 0 12px;
}

.summary {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 28px;
}

/* ---------- CTA ---------- */

.cta {
  margin-bottom: 36px;
}

.cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 26px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  box-shadow: 0 8px 20px rgba(47,124,246,0.25);
}

.cta a:hover {
  opacity: 0.92;
}

/* ---------- SECTIONS ---------- */

section {
  margin-top: 56px;
}

section h2 {
  font-size: 1.3rem;
  margin-bottom: 18px;
}

/* ---------- SEO TEXT ---------- */

.seo-text p {
  margin-bottom: 14px;
}

/* ---------- FEATURES (KENMERKEN) ---------- */

.features {
  background: var(--bg-soft);
  border-radius: 14px;
  padding: 28px;
}

.features ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px 24px;
}

.features li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: 10px;
  padding: 16px 18px;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04);
}

/* ---------- FEATURE ICONS ---------- */

.feature-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* voorbeelden (je bestaande iconen blijven geldig) */
.icon-furnishing { background-image: url("data:image/svg+xml,..."); }
.icon-costs      { background-image: url("data:image/svg+xml,..."); }
.icon-rental     { background-image: url("data:image/svg+xml,..."); }
.icon-audience   { background-image: url("data:image/svg+xml,..."); }
.icon-outdoor    { background-image: url("data:image/svg+xml,..."); }
.icon-amenities  { background-image: url("data:image/svg+xml,..."); }
.icon-parking    { background-image: url("data:image/svg+xml,..."); }
.icon-location   { background-image: url("data:image/svg+xml,..."); }
.icon-pets       { background-image: url("data:image/svg+xml,..."); }

/* ---------- LOCATION ---------- */

.location {
  max-width: 720px;
}

.location p {
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.location a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

/* ---------- TRUST BLOCK ---------- */

.trust {
  margin-top: 64px;
  background: #f5f8ff;
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: 10px;
}

.trust h2 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.trust p {
  color: #444;
  line-height: 1.65;
}

/* ---------- MOBILE ---------- */

@media (max-width: 720px) {
  .hero {
    height: 260px;
    margin-bottom: -40px;
  }

  main {
    padding-top: 32px;
  }

  .listing-header h1 {
    font-size: 1.7rem;
  }

  section {
    margin-top: 40px;
  }

  .features {
    padding: 20px;
  }
}


/* ===============================
   Vergelijkbare woningen (cards)
   =============================== */

.similar {
  margin-top: 72px;
}

.similar h2 {
  margin-bottom: 24px;
}

.similar .cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.similar .card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.similar .card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.1);
}

.similar .card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  background: #eee;
}

.similar .card h3 {
  font-size: 1rem;
  line-height: 1.3;
  margin: 14px 14px 6px;
}

.similar .card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0 14px 10px;
}

.similar .card a {
  display: block;
  margin: 0 14px 16px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

/* ===============================
   Sticky CTA (echt sticky)
   =============================== */

.sticky-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 50;
}

.sticky-cta a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(47,124,246,0.35);
}

/* Mobiel: full width CTA */
@media (max-width: 720px) {
  .sticky-cta {
    left: 16px;
    right: 16px;
    bottom: 12px;
  }

  .sticky-cta a {
    width: 100%;
    justify-content: center;
  }
}

/* ===============================
   Extra rust tussen secties
   =============================== */

section + section {
  margin-top: 72px;
}
