/* ============================================================
   detail.css — gedeelde stijlen voor detailpagina's
   ============================================================ */

/* ── Back link ── */
.back-link {
  display: inline-block;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 32px;
  transition: color 0.2s;
}
.back-link:hover { color: var(--accent); }

/* ── Page hero ── */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  overflow: hidden;
}

.page-hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 30% 0%, rgba(254,138,2,0.07) 0%, transparent 70%);
}

.page-hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 30% 20%, black 0%, transparent 80%);
}

.page-hero .container { position: relative; }

.page-hero__title {
  font-family: var(--font-head);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.1;
  margin: 16px 0 24px;
}

.page-hero__intro {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  max-width: 100%;
  line-height: 1.75;
}

/* ── Project grid ── */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.project-category {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: border-color 0.3s, transform 0.3s;
}
.project-category:hover {
  border-color: rgba(254,138,2,0.25);
  transform: translateY(-2px);
}

.project-category__title {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-list li {
  font-size: 14px;
  color: var(--text-muted);
  padding-left: 16px;
  position: relative;
}
.project-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}
