/* GALLERY SECTION */
.gallery-section {
  padding: 5vw 0;
  background: #fcfcfc;
}

.gallery-container {
  display: flex;
  gap: 3vw;
}

/* SIDEBAR */
.sidebar {
  width: 25%;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 1.1vw;
  font-weight: 700;
  color: #777;
  margin-bottom: 0.5vw;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.sidebar-title span {
  display: block;
  font-size: 2.2vw;
  font-weight: 800;
  color: #0d3b66; /* Main theme color */
  margin-top: 0.2vw;
  margin-bottom: 1.5vw;
}

.category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  /* Use the theme's dark blue colors for a gradient */
  background: linear-gradient(145deg, #0d3b66 0%, #000e38 100%);
  border-radius: 0.8vw;
  overflow: hidden;
  box-shadow: 0 1vw 2.5vw rgba(0, 0, 0, 0.15);
}

.category-item {
  padding: 1.2vw 1.5vw;
  color: #fff;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.category-item:last-child {
  border-bottom: none;
}

.category-item:hover, .category-item.active {
  background: #ffd532; /* Theme highlight color */
  color: #000;
  padding-left: 2vw; /* Slight indent on hover/active for dynamic feel */
}

/* MAIN CONTENT */
.main-content {
  width: 75%;
}

.category-header {
  font-size: 1.5vw;
  font-weight: 800;
  color: #0d3b66;
  border-bottom: 1px solid #ffd532;
  padding-bottom: 0.5vw;
  margin-bottom: 2vw;
  text-transform: uppercase;
  display: inline-block;
  min-width: 15vw;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5vw;
}

.product-card {
  background: #fff;
  border: 1px solid #eaeaea;
  border-radius: 0.8vw;
  padding: 1vw 0.5vw;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 0.5vw 1.5vw rgba(0, 0, 0, 0.03);
    border-color: #ffd632d5;

}

.product-card:hover {
  transform: translateY(-0.4vw);
  box-shadow: 0 1vw 2.5vw rgba(0, 0, 0, 0.1);
  border-color: #ffd532;
}

.product-img-box {
  height: 16vw;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2vw;
}

.product-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
}

.product-card:hover .product-img-box img {
  transform: scale(1.05);
}

.product-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  margin-bottom: 0.5vw;
  text-transform: uppercase;
}

.product-desc {
  font-size: 1vw;
  color: #666;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .gallery-container {
    flex-direction: column;
  }
  .sidebar, .main-content {
    width: 100%;
  }
  .sidebar-title {
    font-size: 2.5vw;
  }
  .sidebar-title span {
    font-size: 4vw;
  }
  .category-item {
    font-size: 2vw;
    padding: 2.5vw 3vw;
  }
  .category-header {
    font-size: 3vw;
    margin-top: 3vw;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3vw;
  }
  .product-img-box {
    height: 30vw;
  }
  .product-title {
    font-size: 2.5vw;
  }
  .product-desc {
    font-size: 2vw;
  }
}

@media (max-width: 767px) {
  .sidebar-title {
    font-size: 3.5vw;
  }
  .sidebar-title span {
    font-size: 6vw;
  }
  .category-item {
    font-size: 3.5vw;
    padding: 3vw 4vw;
  }
  .category-header {
    font-size: 4.5vw;
    margin-top: 5vw;
  }
  .products-grid {
    grid-template-columns: 1fr;
    gap: 5vw;
  }
  .product-img-box {
    height: 50vw;
  }
  .product-title {
    font-size: 4vw;
  }
  .product-desc {
    font-size: 3.5vw;
  }
}
