/* ========== PAGE 3 – PORTFOLIO ========== */
.page-3 {
  padding: 100px 6%;
  background: #fff6dc;
  min-height: 100vh;
}

.portfolio-layout {
  max-width: 1200px;
  margin: 0 auto;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 450px 1fr;
  gap: 40px;
}

.portfolio-header{
  font-size: 48px;
  margin-top: 10px;
}

/* ========== STATEMENT BOX ========== */
.portfolio-statement {
  position: relative;
  background: #0b0b0b;
  border-radius: 28px;
  padding: 40px;
  margin-bottom: 40px;
}

.portfolio-statement h3 {
  color: #fff;
  font-size: 1.3rem;
  max-width: 65%;
  line-height: 1.3;
}

/* PHOTO */
.statement-photo {
  position: absolute;
  right: 4%;
  bottom: 0;
  width: 180px;
  pointer-events: none;
}

/* ========== PROJECT GRID ========== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ========== PROJECT CARD ========== */
.project-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  min-height: 170px;

  text-decoration: none;
  color: #111;

  display: flex;
  flex-direction: column;

  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card h4 {
  margin-bottom: 6px;
}

.project-meta {
  margin-top: auto;
  font-size: 0.9rem;
  display: flex;
  justify-content: space-between;
  opacity: 0.75;
}

.project-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.15);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
.page-3 {
  padding-top: 10px;
  padding-bottom: 20px;
  padding-left: 6%;
  padding-right: 6%;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 10px;
}

  .portfolio-header{
  font-size: 36px;
}
}

@media (max-width: 1000px) {
  .page-3 {
    padding-top: 10px;
    padding-bottom: 20px;
    padding-left: 6%;
    padding-right: 6%;
}
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .portfolio-header {
    text-align: center;
    font-size: 32px;
  }

  .portfolio-statement {
    margin-bottom: 24px;
  }

  .portfolio-statement h2 {
    max-width: 100%;
    font-size: 1.2rem;
  }

  .statement-photo {
    width: 140px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

/* Prevent long text breaking cards */
.project-card h4,
.project-card p {
  word-break: break-word;
}

/* Better tap feedback on mobile */
@media (hover: none) {
  .project-card:hover {
    transform: none;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
  }
}


