/* ================= PROJECTS PAGE ================= */
.projects-section {
  padding: 70px 20px;
  background-color: #ffffff;
}

/* Intro */
.projects-intro {
  max-width: 900px;
  margin: auto;
  text-align: center;
  margin-bottom: 70px;
}

.projects-intro h2 {
  font-size: 32px;
  font-weight: 800;
}

.projects-intro p {
  font-size: 16px;
  line-height: 1.6;
  margin-top: 20px;
}

/* Category */
.project-category {
  max-width: 1200px;
  margin: 0 auto 80px;
}

.project-category h3 {
  font-size: 26px;
  font-weight: 700;
}

.category-desc {
  margin: 15px 0 30px;
  font-size: 15px;
  max-width: 700px;
}

/* Grid */
.project-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.project-grid img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover effect */
.project-grid img:hover {
  transform: scale(1.04);
  box-shadow: 0 10px 25px #f2b7055d;
}

/* ================= ANIMATION BASE ================= */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {

  .projects-intro h2 {
    font-size: 26px;
  }

  .project-category h3 {
    font-size: 22px;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }
}
