/* ===== Global ===== */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #0a0a0a;
  color: #fff;
}

/* ===== Hero Section ===== */
.gallery-hero {
  height: 65vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.gallery-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
}

.gallery-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 0 20px;
}

.gallery-hero h2 {
  font-size: 3rem;
  color: #00ff88;
  text-shadow: 0 0 50px #00ff88;
  margin-bottom: 15px;
  font-weight: 700;
}

.gallery-hero p {
  font-size: 1.5rem;
  color: #ddd;
  line-height: 1.6;
}

/* ===== Gallery Section ===== */
.gallery-section {
  padding: 60px 10%;
  background: linear-gradient(120deg, #0a0a0a, #1a1a1a);
  text-align: center;
}

.gallery-category {
  margin-bottom: 70px;
  position: relative;
  z-index: 1;
}

.gallery-category h2 {
  font-size: 2.2rem;
  color: #00ff88;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.gallery-category h2 span {
  color: #fff;
}

/* ===== Carousel ===== */
.carousel-container {
  position: relative;
  width: 100%;
  margin: 0 auto;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel {
  display: flex;
  gap: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding-bottom: 10px;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.carousel img {
  width: 340px;
  height: 230px;
  object-fit: cover;
  border-radius: 15px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,255,136,0.2);
}

.carousel img:hover {
  transform: scale(1.07) rotate(0.5deg);
  box-shadow: 0 8px 30px rgba(0,255,136,0.4);
}

/* ===== Arrow Buttons ===== */
.wrapper {
  display: inline-flex;
  list-style: none;
  padding: 0;
  margin: 0;
  font-family: "Poppins", sans-serif;
  transition: all 0.3s ease;
}

.wrapper .icon {
  position: relative;
  background: #000000;
  border-radius: 12px;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 10;
}

.wrapper svg {
  fill: #fff;
  transition: fill 0.3s ease;
}

.wrapper .icon:hover {
  background: #00ff88;
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0,255,136,0.5);
}

.wrapper .icon:hover svg {
  fill: #000;
}

.left-btn {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.right-btn {
  position: absolute;
  right: -60px;
  top: 50%;
  transform: translateY(-50%);
}

.carousel-container:hover .wrapper {
  opacity: 1;
}

/* ===== Responsive ===== */
@media (max-width: 992px) {
  .carousel img {
    width: 300px;
    height: 200px;
  }
  .left-btn { left: -40px; }
  .right-btn { right: -40px; }
}

@media (max-width: 768px) {
  .gallery-hero h2 {
    font-size: 2.2rem;
  }
  .gallery-hero p {
    font-size: 1.2rem;
  }
  .carousel img {
    width: 240px;
    height: 160px;
  }
  .left-btn { left: -25px; }
  .right-btn { right: -25px; }
  .wrapper .icon {
    width: 40px;
    height: 40px;
  }
}
