/* ══════════════════════════════════════════════════════════════
   PROJECT-DETAIL.CSS  –  Cyprus Vastgoed Project Detailpagina
   ══════════════════════════════════════════════════════════════ */

/* ── PROJECT HERO ── */
.project-hero {
  position: relative;
  height: 520px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.project-hero-img {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #1565A8 0%, #0d3558 100%);
}

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

.project-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,61,107,0.88) 0%, rgba(10,61,107,0.35) 55%, transparent 100%);
}

.project-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 5% 52px;
  max-width: 1440px;
  margin: 0 auto;
}

.project-hero-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}
.project-hero-badge.nieuw { background: var(--gold); color: #fff; }
.project-hero-badge.populair { background: #1a8a6e; color: #fff; }
.project-hero-badge.investering { background: var(--blue-mid); color: #fff; }

.project-hero h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
  color: #fff;
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 14px;
}

.project-hero-loc {
  font-size: 1rem;
  color: rgba(255,255,255,0.75);
  display: flex;
  align-items: center;
  gap: 6px;
}
.project-hero-loc::before { content: '📍'; }

/* ── PROJECT BODY LAYOUT ── */
.project-body-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: flex-start;
  margin-top: 56px;
}

/* ── BESCHRIJVING ── */
.project-desc-block h2 {
  font-size: 1.9rem;
  color: var(--blue);
  margin-bottom: 20px;
  line-height: 1.2;
}

.project-desc-block p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.85;
  margin-bottom: 16px;
}

/* ── KENMERKEN SIDEBAR ── */
.project-kenmerken {
  background: var(--sand);
  border-radius: 14px;
  padding: 32px;
  border: 1px solid rgba(10,61,107,0.07);
  position: sticky;
  top: 90px;
}

.project-kenmerken h3 {
  font-size: 1.25rem;
  color: var(--blue);
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.kenmerk-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.88rem;
}
.kenmerk-row:last-child { border-bottom: none; }
.kenmerk-label { color: var(--light); font-weight: 500; flex-shrink: 0; }
.kenmerk-waarde { color: var(--dark); font-weight: 600; text-align: right; }

.project-kenmerken .btn-gold {
  width: 100%;
  justify-content: center;
  margin-top: 24px;
  text-align: center;
}

/* ── LOCATIE KAART ── */
.locatie-sectie { margin-top: 72px; }

.locatie-sectie h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 28px;
}

.kaart-wrap {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(10,61,107,0.1);
  box-shadow: var(--shadow-sm);
  height: 420px;
}

.kaart-wrap iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media(max-width: 768px) {
  .kaart-wrap { height: 280px; }
}

/* ── WONINGEN GRID ── */
.woningen-sectie { margin-top: 72px; }

.woningen-sectie .section-label {
  display: block;
  margin-bottom: 8px;
}

.woningen-sectie h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 8px;
}

.woningen-sectie p {
  font-size: 0.95rem;
  color: var(--mid);
  margin-bottom: 40px;
}

.woningen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.woning-card {
  background: var(--sand);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(10,61,107,0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.woning-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }

.woning-img {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.woning-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.woning-card:hover .woning-img img { transform: scale(1.05); }

.woning-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--blue-pale) 0%, #d0e8ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--blue);
  font-style: italic;
  opacity: 0.8;
}

.woning-body { padding: 20px 22px 24px; }

.woning-prijs {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 6px;
}

.woning-naam {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 14px;
}

.woning-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 18px;
}

.woning-spec {
  font-size: 0.8rem;
  color: var(--mid);
  display: flex;
  align-items: center;
  gap: 4px;
}

.woning-ref {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 3px 10px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.woning-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}

.woning-tag {
  font-size: 0.75rem;
  color: var(--blue);
  background: var(--blue-pale);
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
}

.woning-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border: 1.5px solid var(--blue);
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue);
  transition: background 0.2s, color 0.2s;
}
.woning-cta:hover { background: var(--blue); color: #fff; }

/* ── CONTACT CTA SECTIE ── */
.project-contact-cta {
  background: linear-gradient(135deg, var(--blue) 0%, #1565A8 100%);
  border-radius: 20px;
  padding: 60px 52px;
  margin-top: 72px;
  text-align: center;
  margin-bottom: 80px;
}

.project-contact-cta h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: #fff;
  margin-bottom: 14px;
}

.project-contact-cta p {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.project-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.project-cta-actions .btn-gold {
  background: var(--gold);
  color: #fff;
}

.project-cta-actions .btn-outline {
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.project-cta-actions .btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
}

/* ── TERUGKNOP ── */
.terug-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--mid);
  padding: 10px 0;
  transition: color 0.2s;
}
.terug-link::before { content: '←'; }
.terug-link:hover { color: var(--blue); }

/* ── HEADER ── */
header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 68px;
  background: #fff; border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(10,61,107,0.06);
  z-index: 100;
}
header.scrolled { box-shadow: 0 4px 32px rgba(10,61,107,0.09); }
.header-inner {
  max-width: 1440px; margin: 0 auto; padding: 0 5%;
  height: 68px; display: flex; align-items: center; gap: 24px;
}
.logo-mark { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; }
.logo-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transform: scale(1.10); }
.logo-text { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; color: var(--blue); }
.logo-text span { color: var(--gold); }
nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav-link {
  padding: 8px 14px; font-size: 0.875rem; font-weight: 500; color: var(--mid);
  border-radius: var(--radius); transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-link:hover { color: var(--blue); background: var(--blue-pale); }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 24px; flex-shrink: 0; }
.header-cta .btn-primary { min-width: 190px; text-align: center; white-space: nowrap; justify-content: center; }
.lang-toggle { display: flex; background: var(--sand); border-radius: 20px; padding: 3px; font-size: 0.8rem; font-weight: 600; }
.lang-btn { padding: 4px 12px; border-radius: 16px; cursor: pointer; transition: all 0.2s; color: var(--light); width: 40px; text-align: center; }
.lang-btn.active { background: #fff; color: var(--blue); box-shadow: var(--shadow-sm); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; cursor: pointer; background: transparent; border: none; }
.hamburger span { width: 22px; height: 2px; background: var(--blue); border-radius: 2px; display: block; transition: all 0.3s; }

body { padding-top: 68px; }

/* ── FOOTER ── */
footer { background: var(--dark); color: rgba(255,255,255,0.55); padding: 40px 0 24px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-logo-mark { width: 36px; height: 36px; flex-shrink: 0; border-radius: 50%; overflow: hidden; }
.footer-logo-mark img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.footer-logo-text { font-family: var(--font-heading); font-size: 1.1rem; color: #fff; font-weight: 600; }
.footer-logo-text span { color: #f5d89a; }
.footer-tagline-simple { font-size: 0.85rem; line-height: 1.7; max-width: 340px; }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,0.08); margin: 24px 0; }
.footer-bottom-simple {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 10px; font-size: 0.75rem; color: rgba(255,255,255,0.3);
}
.footer-bottom-simple a { color: rgba(255,255,255,0.45); transition: color 0.2s; }
.footer-bottom-simple a:hover { color: #fff; }

/* ── RESPONSIVE ── */
@media(max-width: 768px) {
  .header-inner { gap: 0; padding: 0 16px; }
  .header-cta .btn-primary { display: none; }
  .hamburger { display: flex; flex-shrink: 0; position: relative; z-index: 1001; margin-left: 12px; }
  nav {
    display: none; position: fixed;
    top: 68px; left: 0; right: 0;
    background: #fff; flex-direction: column;
    padding: 16px; box-shadow: 0 8px 24px rgba(10,61,107,0.12);
    z-index: 999; gap: 4px;
  }
  nav.open { display: flex; }
  .nav-link { padding: 14px 16px; border-radius: var(--radius); font-size: 1rem; border-bottom: 1px solid var(--border); }
  .nav-link:last-child { border-bottom: none; }
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
}

@media(max-width: 900px) {
  .project-body-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .project-kenmerken { position: static; }
}

@media(max-width: 768px) {
  .project-hero { height: 420px; }
  .project-hero-content { padding-bottom: 36px; }
  .woningen-grid { grid-template-columns: 1fr; gap: 16px; }
  .project-contact-cta { padding: 40px 24px; }
  .project-cta-actions { flex-direction: column; align-items: stretch; }
  .project-cta-actions a { text-align: center; justify-content: center; }
}

/* ── TYPE CARDS ── */
.type-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.type-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(10,61,107,0.07);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
.type-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.type-card-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.type-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.type-card:hover .type-card-img img { transform: scale(1.05); }

.type-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
}

.type-card-body {
  padding: 24px 26px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.type-card-body h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.2;
}

.type-price {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 20px;
}

.type-card-body .woning-cta { margin-top: auto; }

/* ── FOTOGALERIJ ── */
.fotos-sectie { margin-top: 72px; }

.fotos-sectie .section-label { display: block; margin-bottom: 8px; }

.fotos-sectie h2 {
  font-size: 2rem;
  color: var(--blue);
  margin-bottom: 28px;
}

.fotos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.foto-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.foto-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.foto-item:hover img { transform: scale(1.05); }

@media(max-width: 900px) {
  .type-cards-grid { grid-template-columns: 1fr; gap: 16px; }
  .fotos-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 500px) {
  .fotos-grid { grid-template-columns: 1fr; gap: 8px; }
}
