/* ── PORTFOLIO HERO ── */
.portfolio-hero {
  background:
    linear-gradient(rgba(0,0,0,0.62), rgba(0,0,0,0.52)),
    url('../images/vrouw.avif') center/cover no-repeat;
  min-height: 58vh;
  padding: 9rem 12% 5rem;
  display: flex;
  align-items: center;
}

.portfolio-hero-inner {
  max-width: 1200px;
  width: 100%;
  text-align: left;
  color: #fff;
}

.portfolio-hero-inner h1 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 1.15rem;
}

.portfolio-hero-inner p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.85;
  max-width: 560px;
}

/* ── PORTFOLIO ITEMS ── */
.portfolio-section {
  padding: 5rem 12%;
  background: var(--off-white);
}

.portfolio-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  height: 100%;
  min-height: 350px;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.portfolio-item-large {
  grid-column: span 2;
  min-height: 400px;
}

@media (max-width: 860px) {
  .portfolio-hero,
  .portfolio-section {
    padding-left: 5%;
    padding-right: 5%;
  }

  .portfolio-item-large {
    grid-column: span 1;
  }
}

.portfolio-item-image {
  width: 100%;
  height: 240px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  flex-shrink: 0;
}

.portfolio-item-large .portfolio-item-image {
  height: 280px;
}

.portfolio-item-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.portfolio-item-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

.portfolio-item-content h3 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  margin: 0 0 0.6rem 0;
  color: var(--text-dark);
}

.portfolio-item-content p {
  font-size: 0.85rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  .portfolio-item-large {
    grid-column: span 1;
  }
}
