/* Styles for photography images */
.photography-img {
  cursor: zoom-in;
  transition: transform 0.3s ease-in-out;
  max-width: 100%;
  width: 700px;
  height: auto;
  border-radius: 8px;
}

/* Fullscreen overlay */
.fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999999;
  cursor: zoom-out;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

/* Enlarged image styling */
.fullscreen img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  transition: transform 0.3s ease-in-out;
}

/* Fade-in animation */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Prevent scrolling when an image is open */
body.no-scroll {
  overflow: hidden;
}

/* Navigation arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  user-select: none;
  transition: background 0.3s;
}

.left-arrow {
  left: 20px;
}

.right-arrow {
  right: 20px;
}

@media (max-width: 768px) {
  .prev-arrow,
  .next-arrow {
    display: none;
  }
}
