/* ================================= */
/* CARD */
/* ================================= */

.project-card {
  position: relative;

  height: 280px;

  border-radius: 28px;

  overflow: hidden;

  cursor: pointer;

  background: var(--surface-light);

  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: 0.4s ease;
}

.project-card3 {
  position: relative;

  height: 280px;

  border-radius: 28px;

  overflow: hidden;

  cursor: pointer;

  background: var(--surface-light);

  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: 0.4s ease;
}

.project-card4:hover {
  transform: translateY(-8px) scale(1.02);

  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.35),
    0 0 30px rgba(255, 122, 0, 0.12);
}

.project-card2 {
  position: relative;

  height: 200px;

  border-radius: 28px;

  overflow: hidden;

  cursor: pointer;

  background: var(--surface-light);

  border: 1px solid rgba(255, 255, 255, 0.06);

  transition: 0.4s ease;
}

/* LARGE */

.large-card {
  grid-column: span 2;

  height: 340px;
}

/* IMAGE */

.project-card img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.6s ease;
}
.project-card2 img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: 0.6s ease;
}

.project-card:hover img {
  transform: scale(1.06);
}
.project-card2:hover img {
  transform: scale(1.06);
}

/* OVERLAY */

.project-overlay {
  position: absolute;

  inset: 0;

  display: flex;

  flex-direction: column;

  justify-content: flex-end;

  padding: 28px;

  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
}

.project-overlay span {
  font-size: 12px;

  letter-spacing: 0.08em;

  text-transform: uppercase;

  color: rgba(255, 255, 255, 0.6);

  margin-bottom: 10px;
}

.project-overlay h3 {
  font-size: 28px;

  font-weight: 600;
}
