/* 🖼️ Gallery */
.gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 50px;
}

.thumb {
  width: 220px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  
}

.thumb img {
  width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.thumb p {
  margin-top: 10px;
  font-size: 14px;
  color: #282828;
}
.remove h2 a {
  text-decoration: none;   /* removes underline */
  color: inherit;          /* matches the h2’s color */
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  flex-direction: row;
  padding: 0;
}

.modal-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2em;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
  padding: 10px;
}

.modal-nav.left {
  left: 20px;
}

.modal-nav.right {
  right: 30px;
}

.modal-nav:hover {
  color: #FF1DCE;
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 1.8em;
  color: #fff;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
  padding: 5px 10px;
}

.modal-close:hover {
  color: #FF1DCE;
}

@media (max-width: 768px) {
  .gallery {
    gap: 12px;
  }

  .thumb {
    width: 160px;
  }

  .modal-nav {
    font-size: 1.5em;
  }

  .modal-nav.left {
    left: 10px;
  }

  .modal-nav.right {
    right: 10px;
  }
}

@media (max-width: 480px) {
  .thumb {
    width: calc(50vw - 22px);
    min-width: 120px;
  }

  .thumb p {
    font-size: 12px;
  }

  .modal-nav {
    font-size: 1.2em;
    padding: 6px;
  }

  .modal-close {
    font-size: 1.4em;
    top: 12px;
    right: 12px;
  }
}
