/* ===== Portfolio Header ===== */
.page-header {
  padding: 160px 0 80px;
  text-align: center;
}

.page-header .label {
  margin-bottom: 16px;
}

.page-header h1 {
  margin-bottom: 16px;
}

.page-header p {
  margin: 0 auto;
}

/* ===== Portfolio Grid ===== */
.portfolio-grid {
  padding-top: 0;
}

.project-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.project-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.project-item:nth-child(even) {
  direction: rtl;
}

.project-item:nth-child(even) > * {
  direction: ltr;
}

.project-image {
  border-radius: 16px;
  overflow: hidden;
  background: var(--color-accent-light);
  aspect-ratio: 4 / 3;
  position: relative;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.project-image .placeholder-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: var(--color-text-secondary);
  opacity: 0.2;
}

.project-info .tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 12px;
}

.project-info h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 16px;
}

.project-info p {
  margin-bottom: 24px;
  font-size: 1rem;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.project-tech span {
  font-size: 0.75rem;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--color-accent-light);
  color: var(--color-text-secondary);
  font-weight: 500;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .project-item,
  .project-item:nth-child(even) {
    grid-template-columns: 1fr;
    gap: 32px;
    direction: ltr;
  }

  .page-header {
    padding: 120px 0 48px;
  }
}
