/* Gallery Slider Styles */
.gallery-slider {
  position: relative;
  width: 100%;
  margin: 40px auto;
  overflow: hidden;
}

.gallery-slider-container {
  display: flex;
  transition: transform 0.5s ease;
}

.gallery-slide {
  min-width: 100%;
  box-sizing: border-box;
  padding: 0 10px;
}

.gallery-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.gallery-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  box-sizing: border-box;
  transform: translateY(-50%);
  z-index: 10;
}

.gallery-nav button {
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-nav button:hover {
  background: white;
  transform: scale(1.1);
}

.gallery-nav button i {
  font-size: 20px;
  color: var(--secondary-color);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
  gap: 10px;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}

.gallery-fullscreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1200;
}

.gallery-fullscreen.active {
  display: flex;
}

.gallery-fullscreen-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
}

.gallery-fullscreen-img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
}

.gallery-fullscreen-close {
  position: absolute;
  top: -50px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-fullscreen-close:hover {
  background: var(--primary-color);
}

.gallery-fullscreen-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.gallery-fullscreen-nav button {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.gallery-fullscreen-nav button:hover {
  background: var(--primary-color);
}

.gallery-fullscreen-caption {
  position: absolute;
  bottom: -50px;
  left: 0;
  right: 0;
  text-align: center;
  color: white;
  font-size: 1rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .gallery-slide img {
    height: 350px;
  }
  
  .gallery-nav {
    padding: 0 10px;
  }
  
  .gallery-nav button {
    width: 40px;
    height: 40px;
  }
  
  .gallery-fullscreen-nav button {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 576px) {
  .gallery-slide img {
    height: 250px;
  }
  
  .gallery-dots {
    margin-top: 15px;
  }
  
  .gallery-dot {
    width: 10px;
    height: 10px;
  }
}