/* =========== ABOUT-SECTION GALLERY =========== */
.about-gallery {
  text-align: center;
}

.gallery-wrapper {
  display: inline-block;
  width: 100%;
  max-width: 800px;
  box-shadow: var(--shadow);
}

.gallery-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 0.5rem;
  background: #000;
}

.gallery-track {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.gallery-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
  pointer-events: none;
}

.gallery-image.active {
  opacity: 1;
  pointer-events: auto;
}

/* Navigation arrows */
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
  backdrop-filter: blur(4px);
}

.gallery-nav:hover {
  background: rgba(255, 165, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.gallery-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.gallery-prev {
  left: 15px;
}

.gallery-next {
  right: 15px;
}

/* Dots indicator */
.gallery-dots {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
  background: rgba(0, 0, 0, 0.3);
  padding: 8px 12px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.gallery-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  padding: 0;
}

.gallery-dot:hover {
  background: rgba(255, 255, 255, 0.8);
  transform: scale(1.2);
}

.gallery-dot.active {
  background: orange;
  transform: scale(1.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .gallery-nav {
    width: 35px;
    height: 35px;
  }
  
  .gallery-prev {
    left: 10px;
  }
  
  .gallery-next {
    right: 10px;
  }
  
  .gallery-dots {
    bottom: 10px;
    padding: 6px 10px;
  }
  
  .gallery-dot {
    width: 8px;
    height: 8px;
  }
}