/* Gallery Section Styles */
.gallery-section {
  position: relative;
  background-color: #0a0a0a;
  padding: 5rem 2rem;
  width: 100%;
  border-top: 1px solid #2a2a2a;
}

.gallery-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin: 0 0 1rem 0;
  letter-spacing: 0.05em;
}

.gallery-intro {
  font-size: clamp(0.95rem, 1.5vw, 1.1rem);
  color: #a8a8a8;
  text-align: center;
  margin: 0 0 3rem 0;
  line-height: 1.6;
}

/* Carousel Styles */
.gallery-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  border-radius: 0.8rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  background-color: #1a1a1a;
  margin-bottom: 2rem;
}

.carousel-inner {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
}

.carousel-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000000;
}

.carousel-item.active {
  opacity: 1;
  z-index: 10;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.carousel-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 60%,
    rgba(0, 0, 0, 0.95) 100%
  );
  padding: 3rem 2rem 2rem;
  color: #ffffff;
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  font-weight: 600;
  text-align: center;
  letter-spacing: 0.03em;
  z-index: 5;
}

/* Carousel Controls */
.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 152, 0, 0.9);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 20;
  transition: all 0.3s ease;
  font-weight: bold;
}

.carousel-control:hover {
  background-color: rgba(255, 183, 77, 1);
  transform: translateY(-50%) scale(1.1);
}

.carousel-control.prev {
  left: 1.5rem;
}

.carousel-control.next {
  right: 1.5rem;
}

/* Carousel Indicators */
.carousel-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background-color: #1a1a1a;
  border-radius: 0 0 0.8rem 0.8rem;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator:hover {
  background-color: rgba(255, 255, 255, 0.6);
}

.indicator.active {
  background-color: #ff9800;
  width: 16px;
  height: 16px;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .gallery-section {
    padding: 3rem 1rem;
  }

  .carousel-inner {
    height: 350px;
  }

  .carousel-caption {
    padding: 2rem 1.5rem 1.5rem;
    font-size: 1.1rem;
  }

  .carousel-control {
    width: 45px;
    height: 45px;
    font-size: 1.5rem;
  }

  .carousel-control.prev {
    left: 1rem;
  }

  .carousel-control.next {
    right: 1rem;
  }

  .carousel-indicators {
    gap: 0.5rem;
    padding: 1rem;
  }

  .indicator {
    width: 10px;
    height: 10px;
  }

  .indicator.active {
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .gallery-section {
    padding: 2rem 0.75rem;
  }

  .gallery-heading {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
  }

  .gallery-intro {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .carousel-inner {
    height: 250px;
  }

  .carousel-caption {
    padding: 1.5rem 1rem 1rem;
    font-size: 1rem;
  }

  .carousel-control {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .carousel-control.prev {
    left: 0.75rem;
  }

  .carousel-control.next {
    right: 0.75rem;
  }

  .carousel-indicators {
    gap: 0.4rem;
    padding: 0.75rem;
    background-color: rgba(26, 26, 26, 0.9);
  }

  .indicator {
    width: 8px;
    height: 8px;
  }

  .indicator.active {
    width: 12px;
    height: 12px;
  }
}
