        /* General Reset */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      font-family: 'Poppins', sans-serif;
      line-height: 1.6;
      background-color: #F2F3F8;
      color: #333;
    }

/* Header dengan animated gradient yang lebih terlihat */
header {
  background: linear-gradient(135deg, #6C63FF, #2f0ac3, #3f51b5, #4527a0, #6C63FF);
  background-size: 400% 400%;
  color: white;
  text-align: center;
  padding: 40px 20px;
  animation: gradientMovement 5s ease-in-out infinite;
  position: relative;
  overflow: hidden; /* Mencegah animasi "meluap" dari header */
}

/* Lapisan overlay untuk memastikan teks tetap terbaca */
header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1); /* Overlay tipis untuk meningkatkan keterbacaan */
  z-index: 1;
}

/* Kontainer untuk konten header */
.header-content {
  position: relative;
  z-index: 2; /* Memastikan teks berada di atas gradient dan overlay */
}

/* Styling untuk h1 di header */
header h1 {
  margin-bottom: 15px;
  font-weight: 700;
  font-size: 2.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3); /* Menambahkan bayangan untuk keterbacaan */
}

/* Styling untuk deskripsi */
header .description {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); /* Bayangan tipis untuk keterbacaan */
}

/* Keyframes untuk animasi gradient yang lebih luas */
@keyframes gradientMovement {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 100% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  75% {
    background-position: 0% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

    header h1 {
      font-size: 2.5rem;
      margin-bottom: 10px;
    }

    header p {
      font-size: 1.2rem;
      opacity: 0.8;
    }

    /* Main Content */
    .container {
      max-width: 1000px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .product-list {
      padding: 40px 0;
    }

    .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex; /* Mengaktifkan flexbox */
    flex-direction: column; /* Mengatur arah flex menjadi vertikal */
    height: 100%; /* Memastikan card memenuhi tinggi grid cell */
    text-align: center;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.product-info {
    padding: 15px;
    flex-grow: 1; /* Memungkinkan product-info untuk mengisi ruang yang tersedia */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Untuk menempatkan tombol di bagian bawah */
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.product-info p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 15px;
    flex-grow: 1; /* Memungkinkan deskripsi untuk mengisi ruang yang tersedia */
}

.product-info .btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #6C63FF;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    width: 100%;
    transition: background-color 0.3s ease;
    margin-top: 10px; /* Jarak antara deskripsi dan tombol */
}

.product-info .btn:hover {
    background-color: #3931dd;
}
    
    

    /* Footer */
    footer {
      background: #333;
      color: white;
      text-align: center;
      padding: 20px 0;
    }

    footer p {
      font-size: 0.9rem;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      header h1 {
        font-size: 2rem;
      }

      header p {
        font-size: 1rem;
      }
    }
    
    /* Popup Overlay */
.popup-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1000;
}

/* Popup Content */
.popup-content {
  position: relative;
  background-color: #fff;
  width: 100%;
  max-width: 450px;
  margin: auto;
  margin-top: 10%;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: #ff4d4d;
}

/* Popup Image */
.popup-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.popup-image:hover {
  transform: scale(1.05);
}

/* Popup Text */
.popup-text {
  font-size: 16px;
  color: #333;
  margin-top: 10px;
}

.promo {
  text-align: center;
  font-family: "Poppins", sans-serif;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  background: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  margin-bottom: 40px;
}

.promo p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 15px;
}

.promo .btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #F70A8D;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  width: 100%;
  max-width: 300px;
  transition: background-color 0.3s ease;
}

.promo .btn:hover {
  background-color: #3931dd;
}

/* Styling tambahan untuk menu kategori */
.category-menu {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 40px;
  margin-bottom: 20px;
}
.category-menu button {
  font-family: "Poppins", sans-serif;
  padding: 10px 20px;
  background-color: #bdb0fe;
  color: #000;  
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.category-menu button:hover {
  background-color: #6c63ff;
  color: #fff;
}
.category-menu button.active {
  background-color: #6c63ff; /* Warna hijau untuk tombol aktif */
  color: #fff;
}
.product-card.hidden {
  display: none;
}

        /* Styling tambahan untuk menu kategori */
        .category-menu {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 40px;
            margin-bottom: 20px;
        }

        .category-menu button {
            font-family: "Poppins", sans-serif;
            padding: 10px 20px;
            background-color: #bdb0fe;
            color: #000;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .category-menu button:hover {
            background-color: #6c63ff;
            color: #fff;
        }

        .category-menu button.active {
            background-color: #6c63ff;
            /* Warna hijau untuk tombol aktif */
            color: #fff;
        }

        .product-card.hidden {
            display: none;
        }