.gallery-container {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.text-white {
  color: #fff;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gallery-wrapper {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 70vh;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  margin-bottom: 20px;
}

.gallery-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.gallery-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out, transform 1s ease-in-out;
  transform: scale(1.1);
}

.gallery-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.gallery-slide.loading {
  animation: imageLoad 1.2s ease-in-out forwards;
}

@keyframes imageLoad {
  0% {
    opacity: 0;
    transform: scale(1.1);
    filter: blur(10px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

.gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.gallery-nav-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.gallery-nav-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

#galleryActiveText {
  font-size: 25px;
  font-weight: 200;
  line-height: 52px;
  letter-spacing: 1.5px;
  transition: all 0.5s ease-in-out;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(30px);
  margin-top: 30px;
}

#galleryActiveText.animate {
  opacity: 1;
  transform: translateY(0);
}

#galleryActiveText.slide-out {
  opacity: 0;
  transform: translateY(-30px);
}

.gallery-indicators {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.gallery-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-indicator.active {
  background: rgba(255, 255, 255, 0.9);
  transform: scale(1.2);
}

.gallery-indicator:hover {
  background: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
  #galleryActiveText {
    font-size: 20px;
    line-height: 40px;
  }

  .gallery-nav-btn {
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
  }
  .gallery-tabs {
    gap: 5px;
  }
}
