/*
 * Optional extract: homepage project card image overlay.
 * Linked after the main inline <style> in index.html; keep the .project-image::after
 * block in sync with the matching rules there.
 */

.project-image {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

.project-image::after {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(13, 13, 26, 0.15) 0%, rgba(13, 13, 26, 0.5) 100%);
  opacity: 1;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-image::after {
  opacity: 0.6;
}

/* Thumbnail sits under the overlay */
.project-image > img {
  display: block;
  position: relative;
  z-index: 0;
}
