/* HOMEPAGE */

.home-entry {
  display: flex;
  align-items: stretch;
}

.entry-card {
  position: relative;
  width: 50%;
  overflow: hidden;
}

.entry-card img {
  width: 100%;
  height: auto;
  display: block;
  transition: filter 0.4s ease, transform 0.4s ease;
  filter: grayscale(100%);
}

.entry-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  transition: background 0.4s ease;
}

.entry-card:hover::after {
  background: rgba(0, 0, 0, 0.2);
}


/* Hover overlay */
.entry-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  letter-spacing: 0.1em;
  opacity: 0;
  transition: opacity 0.3s ease;
    position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  font-weight: 500;
  letter-spacing: 1px;
  z-index: 2;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.entry-card:hover .entry-label {
  opacity: 1;
}

.entry-card:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

/* Mobile */
@media (max-width: 768px) {
  .home-entry {
    flex-direction: column;
  }

  .entry-card {
    width: 100%;
  }
}
