
.category-section {
  padding: 60px 0;
  background: #fff;
}

.category-section .section-title {
  font-size: 32px;
  font-weight: 800;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
}

/* Horizontal Scroll */
.category-scroll-wrapper {
  position: relative;
}

.category-scroll {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-behavior: smooth;
}

.category-scroll::-webkit-scrollbar {
  display: none;
}

/* Category Card */
.category-card {
  flex: 0 0 auto;
  width: 180px;
  background: #e6e6e6;
  border-radius: 15px;
  box-shadow: 0 8px 20px #616161;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}

.category-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px #000000;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-title {
  font-size: 16px;
  font-weight: 700;
  margin: 10px 0 12px;
  text-align: center;
  color: #000000;
}

/* Scroll Progress Bar */
.scroll-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: #d1d1d1;
  border-radius: 2px;
  overflow: hidden;
}

.scroll-bar-fill {
  width: 0%;
  height: 100%;
  background: #000000;
  border-radius: 2px;
  transition: width 0.2s;
}

/* Scroll Buttons */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #000000;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s;
  display: none;
}

.scroll-btn:hover {
  background: #454545;
}

.left-btn { left: -20px; }
.right-btn { right: -20px; }

/* Desktop */
@media(min-width: 768px){
  .scroll-btn { display: block; }
  .category-card { width: 220px; }
  .category-card img { height: 180px; }
  .category-title { font-size: 18px; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
