.card {
  position: relative;
  width: 300px;
  height: 200px;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
}

.card-title {
  color: #fff;
  font-size: 24px;
  text-align: center;
  text-decoration: none;
  transition: color 0.3s;
}

.card-title:hover {
  color: gold;
}