/* Hero Section */
.hero-area {
  background-color: #f5f5f5;
  padding: 3rem 0;
}

.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.card-produk a {
  color: grey;
  text-decoration: none;
}

.text-primary {
  color: #ee4d2d !important; /* Shopee orange */
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
}

.btn-shopee-primary {
  background-color: #ee4d2d;
  border-color: #ee4d2d;
  color: #fff;
  padding: 10px 20px;
  font-weight: 500;
  transition: background-color 0.2s;
}

.btn-shopee-primary:hover {
  background-color: #d43f21;
  border-color: #d43f21;
  color: #fff;
}

.btn-lg {
  padding: 12px 24px;
  font-size: 1.1rem;
}

.rounded-pill {
  border-radius: 50rem;
}

/* Product Categories Section */
.product-categories {
  padding: 3rem 0;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #333;
}

.card-produk {
  background-color: #fff;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-produk:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.card-produk img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-produk:hover img {
  transform: scale(1.05);
}

.card-produk .card-body {
  padding: 10px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-produk .card-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  white-space: normal;
}

/* New Products Section */
.new-products {
  padding: 3rem 0;
}

.product-col {
  display: flex;
}

.new-products .card-produk {
  height: 100%;
}

.new-products .card-produk img {
  height: 180px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.new-products .card-produk:hover img {
  transform: scale(1.05);
}

.new-products .card-body {
  padding: 12px;
  text-align: center;
}

.new-products .card-title {
  font-size: 0.95rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.new-products .text-primary {
  font-size: 0.9rem;
  font-weight: 600;
}

.new-products .btn-shopee-outline {
  padding: 6px 12px;
  font-size: 0.85rem;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-products .btn-shopee-outline i {
  margin-right: 5px;
}

/* Why Choose Us Section */
.why-choose-us {
  padding: 3rem 0;
}

.check-list i {
  font-size: 1.2rem;
}

.check-list li {
  font-size: 1rem;
}

/* Contact Section */
.contact-section {
  padding: 3rem 0;
}

.contact-section img {
  max-width: 100%;
  height: auto;
}

/* Testimonial Section */
.testimonial-section {
  padding: 3rem 0;
}

.testimonial-section .card {
  background-color: #fff;
  border-radius: 4px;
}

.testimonial-section .card-body {
  padding: 1.5rem;
}

.testimonial-section .blockquote {
  font-size: 0.9rem;
  color: #555;
}

.testimonial-section .text-warning {
  color: #f4b619 !important;
}

.testimonial-section img {
  width: 60px;
  height: 60px;
  object-fit: cover;
}

/* Mobile Menu Fix */
@media (max-width: 768px) {
  .top-bar-nav-mobile {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
  }

  .top-bar-nav-mobile.active {
    display: block;
    transform: translateX(0);
  }

  .top-bar-nav-mobile .nav-list {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    margin-top: 10px; /* Reduced from 60px to minimize gap */
  }

  /* Responsive Adjustments for Other Sections */
  .hero-title {
    font-size: 1.8rem;
  }

  .lead {
    font-size: 1rem;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .card-produk img {
    height: 120px;
  }

  .new-products .card-produk img {
    height: 140px;
  }

  .new-products .card-title {
    font-size: 0.85rem;
  }

  .new-products .text-primary {
    font-size: 0.8rem;
  }
}