/* ══════════════════════════════════════════════════════════════
   PROJECTEN.CSS  –  Cyprus Vastgoed – Projectenpagina
   ══════════════════════════════════════════════════════════════ */

/* ── Body offset voor vaste header ── */
body {
  padding-top: 68px;
  overflow-x: hidden;
}

/* ── Actieve nav-link op deze pagina ── */
.nav-link--active {
  color: var(--blue) !important;
  background: var(--blue-pale);
}

/* ── PAGE HERO ── */
.page-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

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

.page-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

.page-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(8, 29, 64, 0.88) 0%,
    rgba(10, 61, 107, 0.68) 55%,
    rgba(21, 101, 168, 0.40) 100%
  );
  pointer-events: none;
}

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

.page-hero-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.5px;
  margin-bottom: 28px;
}

.page-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.2s;
}

.page-hero-breadcrumb a:hover { color: #f5d89a; }
.page-hero-breadcrumb span    { opacity: 0.4; }

.page-hero .section-label {
  color: #f5d89a;
  margin-bottom: 16px;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 600;
  color: #fff;
  line-height: 1.08;
  margin-bottom: 18px;
  max-width: 640px;
}

.page-hero h1 em {
  font-style: italic;
  color: #f5d89a;
}

.page-hero p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.75;
  max-width: 520px;
  font-weight: 300;
}

/* ── PROJECTEN SECTIE ── */
.projecten-sectie {
  background: var(--sand);
}

/* Header rij: titel links, count rechts */
.projecten-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.projecten-page-count {
  font-size: 0.82rem;
  color: var(--light);
  font-weight: 500;
  flex-shrink: 0;
  align-self: flex-end;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

/* Scroll-in animatie voor project cards op de projectenpagina */
.project-group.card-slide-up {
  animation: projectCardIn 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--stagger-delay, 0s) both;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  body { padding-top: 60px; }

  .page-hero { min-height: 340px; }
  .page-hero-content { padding: 36px 5% 48px; }
  .page-hero h1 { font-size: 2rem; }
  .page-hero p  { font-size: 0.93rem; }

  .projecten-page-header { flex-direction: column; align-items: flex-start; }
  .projecten-page-count  { align-self: flex-start; margin-bottom: 0; }
}
