/* =========================================
   PROJECT LIST (project.html)
   ========================================= */
.project-area {
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 40px;
}

.filter-menu {
  text-align: center;
  margin-bottom: 80px;
}
.btn-filter {
  background: transparent;
  border: none;
  color: var(--text-sub);
  font-size: 15px;
  font-weight: 500;
  margin: 0 20px;
  padding: 5px 0;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}
.btn-filter.active,
.btn-filter:hover {
  color: var(--text-main);
  font-weight: 700;
}
.btn-filter.active::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  background-color: var(--text-main);
  border-radius: 50%;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 30px;
}

.proj-item.hide {
  display: none;
}
.proj-item {
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.proj-item .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  background-color: #eee;
  margin-bottom: 20px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.4s ease;
}
.proj-item .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.proj-item:hover .thumb {
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}
.proj-item:hover .thumb img {
  transform: scale(1.05);
}

.proj-item .info h3 {
  font-size: 19px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 6px;
  letter-spacing: -0.5px;
}
.proj-item .info .tag {
  font-size: 13px;
  color: var(--text-sub);
  font-weight: 400;
}

@media (max-width: 1024px) {
  .project-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 25px;
  }
  .project-area {
    padding: 80px 60px;
  }
}

@media (max-width: 768px) {
  .project-area {
    padding: 60px 7%;
  }
  .project-grid {
    grid-template-columns: 1fr;
  }
  .filter-menu {
    margin-bottom: 40px;
  }
  .btn-filter {
    margin: 0 10px;
    font-size: 14px;
  }
}
