/* Hal te Huur — stylesheet (kleuren afgeleid van het logo) */

:root {
  --navy: #1b2227;
  --navy-soft: #262f36;
  --navy-line: rgba(255, 255, 255, 0.12);
  --bg: #f4f6f7;
  --surface: #ffffff;
  --text: #1b2227;
  --text-muted: #5c6b72;
  --text-on-navy: #f4f6f7;
  --text-on-navy-muted: #aab5ba;
  --accent: #2f8f89;
  --accent-dark: #226b66;
  --accent-tint: #e3f1f0;
  --tan: #b5977c;
  --tan-dark: #96754f;
  --border: #e2e6e7;
  --badge-available-bg: #e2f3f1;
  --badge-available-text: #1f7a6b;
  --badge-rented-bg: #eceef0;
  --badge-rented-text: #6b7280;
  --badge-soon-bg: #f4ece2;
  --badge-soon-text: #96633a;
  --radius: 12px;
  --shadow: 0 10px 28px rgba(27, 34, 39, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}

a { color: inherit; }

img { max-width: 100%; display: block; }

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
header.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}

header.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  font-weight: 700;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text-on-navy);
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand .accent { color: var(--accent); }

.brand-logo {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  display: block;
  border: 1px solid var(--navy-line);
}

nav.main-nav a {
  text-decoration: none;
  color: var(--text-on-navy-muted);
  font-weight: 600;
  margin-left: 32px;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  transition: color 0.15s ease;
}

nav.main-nav a:hover { color: var(--text-on-navy); }

/* Hero */
.hero {
  position: relative;
  min-height: 64vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  color: #fff;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(27,34,39,0.35) 0%, rgba(27,34,39,0.92) 100%);
}

.hero .wrap {
  position: relative;
  z-index: 1;
  padding-bottom: 60px;
  padding-top: 60px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0 0 14px;
  display: block;
}

.hero .eyebrow { color: #7fd4cd; }

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin: 0 0 14px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
}

.hero p {
  font-size: 1.15rem;
  max-width: 560px;
  color: rgba(244,246,247,0.82);
  margin: 0 0 28px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 13px 28px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.5);
}

.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Sections */
section { padding: 76px 0; }

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 10px;
}

.section-intro {
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 0 44px;
}

/* Property cards grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  border: 1px solid var(--border);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(47, 143, 137, 0.2);
}

.card .thumb {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
  background: #eee;
}

.card .thumb.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 0 20px;
  background: repeating-linear-gradient(135deg, #eef2f2, #eef2f2 10px, #e6ebeb 10px, #e6ebeb 20px);
}

.card-body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.card-body h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 700;
}

.card-body .meta {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.badge.available { background: var(--badge-available-bg); color: var(--badge-available-text); }
.badge.rented { background: var(--badge-rented-bg); color: var(--badge-rented-text); }
.badge.soon { background: var(--badge-soon-bg); color: var(--badge-soon-text); }

/* Detail page */
.detail-header { padding: 48px 0 8px; }

.detail-header .badge { margin-bottom: 16px; }

.detail-header h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin: 0 0 8px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.detail-header .address {
  color: var(--text-muted);
  font-size: 1.05rem;
}

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
  margin: 32px 0 40px;
}

.fact {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  border-left: 3px solid var(--accent);
}

.fact .label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.fact .value { font-weight: 700; font-size: 1.05rem; }

.description {
  max-width: 720px;
  margin-bottom: 8px;
}

.description ul { padding-left: 20px; }
.description li { margin-bottom: 6px; }

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
  margin: 40px 0 8px;
}

.gallery a {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.gallery a:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(27,34,39,0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: 24px;
  right: 32px;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
  background: none;
  border: none;
}

.lightbox .nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 2.6rem;
  cursor: pointer;
  line-height: 1;
  background: rgba(0,0,0,0.28);
  border: none;
  border-radius: 999px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.lightbox .nav:hover { background: rgba(0,0,0,0.5); }

.lightbox .nav.prev { left: 16px; }
.lightbox .nav.next { right: 16px; }

@media (max-width: 640px) {
  .lightbox .nav {
    width: 42px;
    height: 42px;
    font-size: 2rem;
  }
  .lightbox .nav.prev { left: 6px; }
  .lightbox .nav.next { right: 6px; }
}

/* Construction placeholder */
.construction-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--tan);
  border-radius: var(--radius);
  padding: 32px 36px;
  color: var(--text-muted);
  max-width: 560px;
}

.construction-box strong {
  color: var(--tan-dark);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

/* Contact */
.contact-section {
  background: var(--navy);
  color: var(--text-on-navy);
}

.contact-section .section-title { color: var(--text-on-navy); }
.contact-section .section-intro { color: var(--text-on-navy-muted); }

.contact-box {
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
}

.contact-box a.email {
  font-size: 1.35rem;
  font-weight: 700;
  color: #7fd4cd;
  text-decoration: none;
}

/* Footer */
footer {
  padding: 26px 0;
  text-align: center;
  color: var(--text-on-navy-muted);
  font-size: 0.85rem;
  background: var(--navy);
}

@media (max-width: 640px) {
  nav.main-nav a { margin-left: 18px; font-size: 0.86rem; }
  section { padding: 56px 0; }
}
