/* Modal for enlarged images - matches site theme */
.img-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(44,62,80,0.92); /* matches --primary-color */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: opacity 0.2s;
}
.img-modal.active {
  display: flex;
  opacity: 1;
}
.img-modal-img {
  max-width: 90vw;
  max-height: 80vh;
  border-radius: 16px;
  box-shadow: 0 4px 32px rgba(44,62,80,0.18);
  border: 3px solid var(--accent-color, #3498db);
  background: #fff;
  object-fit: contain;
}
.img-modal-close {
  position: absolute;
  top: 32px;
  right: 48px;
  font-size: 2.5rem;
  color: var(--accent-color, #3498db);
  background: rgba(255,255,255,0.85);
  border-radius: 50%;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(44,62,80,0.12);
  border: none;
  z-index: 1001;
  transition: background 0.2s;
}
.img-modal-close:hover {
  background: var(--accent-color, #3498db);
  color: #fff;
}
