/* ============================================
   PROJECTS PAGE — Gwennato Epoxy
   ============================================ */

/* --- Projects Grid --- */
.projects-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 0 50px;
}

/* --- Project Card --- */
.project-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  background: #161616;
  transition: all 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  text-decoration: none;
  display: block;
  color: inherit;
}

.project-card:hover {
  box-shadow: 0 8px 30px rgba(201,169,110,0.1);
}

.project-card-inner {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1a1510, #0f0f0f, #1a1510);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card-inner {
  transform: scale(1.05);
}

.project-card-swatch {
  width: 80%;
  height: 80%;
  border-radius: 8px;
  filter: blur(0.3px);
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.project-card:hover .project-card-overlay {
  opacity: 1;
}

.project-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem;
  font-weight: 400;
  color: #f0ece4;
  margin-bottom: 6px;
}

.project-card-category {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #c9a96e;
}

.project-card-arrow {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #c9a96e;
  font-size: 0.9rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s;
}

.project-card:hover .project-card-arrow {
  opacity: 1;
  transform: translateY(0);
}

/* --- Filter Bar --- */
.projects-filters {
  max-width: 1300px;
  margin: 0 auto 50px;
  padding: 0 50px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  border: 1px solid rgba(201,169,110,0.12);
  background: transparent;
  color: #8a8680;
  font-family: 'Outfit', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  min-height: 44px;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: #c9a96e;
  color: #c9a96e;
  background: rgba(201,169,110,0.15);
}

/* --- Projects Count --- */
.projects-count {
  max-width: 1300px;
  margin: 0 auto 30px;
  padding: 0 50px;
  font-size: 0.8rem;
  color: #5a5650;
  letter-spacing: 1px;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0 30px;
  }
  .projects-filters {
    padding: 0 30px;
  }
  .projects-count {
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .projects-filters {
    padding: 0 24px;
  }
  .projects-count {
    padding: 0 24px;
  }
}
