.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s;
}

.gallery-img:hover {
  transform: scale(1.02);
}

/* ---------- Fullscreen View ---------- */
.fullscreen-view {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  justify-content: center;
  align-items: center;
  z-index: 1055;
}

.fullscreen-view.active {
  display: flex;
}

.fullscreen-img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease-in-out;
}

/* ---------- Arrows ---------- */
.fullscreen-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: white;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.4);
  padding: 7px;
  user-select: none;
  transition: 0.3s ease;
  border-radius: 12px 0 0 12px;
}

.fullscreen-arrow:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.fullscreen-arrow.left {
  left: 0px;
}

.fullscreen-arrow.right {
  right: 0px;
}

/* ---------- Close Button ---------- */
.close-btn {
  position: absolute;
  top: 25px;
  right: 35px;
  font-size: 2rem;
  color: white;
  cursor: pointer;
  transition: 0.3s ease;
}

/* ---------- Responsive Sizes ---------- */
@media (max-width: 768px) {
  .fullscreen-arrow {
    font-size: 1.5rem;
    padding: 6px;
  }

  .close-btn {
    font-size: 1.3rem;
    top: 15px;
    right: 20px;
  }
}

@media (max-width: 480px) {
  .fullscreen-arrow {
    font-size: 1.1rem;
    padding: 5px;
  }

  .close-btn {
    font-size: 1.4rem;
    padding: 4px 8px;
    top: 10px;
    right: 15px;
  }
}
