.gallery-modal {
  display: none;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-modal.show {
  display: flex;
  opacity: 1;
}

.gallery-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-image {
  max-width: 100%;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}

.gallery-image-container {
  position: relative;
  display: inline-block;
  max-width: 100%;
  max-height: 85vh;
}

.gallery-label {
  color: white;
  text-align: center;
  padding: 10px;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
  font-family: 'Roboto', sans-serif;
}

.gallery-close {
  position: absolute;
  top: 10px;
  right: 10px;
  color: white;
  font-size: 24px;
  cursor: pointer;
  z-index: 2001;
  background: rgba(0, 0, 0, 0.7);
  border: none;
  padding: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.3s;
  backdrop-filter: blur(2px);
}

.gallery-close:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  padding: 15px;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.gallery-nav:hover {
  opacity: 1;
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}

@media (max-width: 768px) {
  .gallery-content {
    max-width: 95%;
  }
  
  .gallery-close {
    top: 8px;
    right: 8px;
    width: 30px;
    height: 30px;
    font-size: 20px;
  }
  
  .gallery-nav {
    padding: 10px;
  }
} 