
/* Hero Section with Background Image and Overlay */
.hero-section {
  position: relative;
  height: 30vh;
  background: url('img/Blue\ White\ Digitalism\ Basic\ Simple\ Presentation.png') no-repeat center center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 40px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  background-color: rgba(0, 0, 0, 0.6); /* Hitam dengan opasitas */
}

.hero-content h1 {
  color: #fff;
  font-size: 3rem;
  z-index: 1;
  font-weight: 600;
  position: relative;
  font-style: italic;
}

/* Product Section */
.products {
  padding: 40px;
  background-color: #ffffff;
}

.product-grid {
  display: flex;
  justify-content: center;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Two columns */
  gap: 20px;
  flex-wrap: wrap;
}

.product-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 250px;
  text-align: center;
  transition: transform 0.3s;
}

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

.product-info {
  padding: 15px;
  text-align: left;
}

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

.product-info .rating {
  display: flex;
  align-items: center; /* Menjaga semua elemen sejajar di tengah vertikal */
  margin-bottom: 5px;
}

.product-info .fa-star {
  color: #ffcc00; /* Warna bintang kuning */
  margin-right: 5px;
}


.price-buy {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Sejajarkan harga dan tombol di tengah vertikal */
  margin-top: 10px;
}


.price {
  font-size: 1.2rem;
  font-weight: bold;
  color: #333;
}


.button {
  background-color: #e02a2a;
  color: white;
  padding: 8px 16px;
  border-radius: 5px;
  text-align: center;
  width: 65px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
}


.button i {
  margin-right: 8px; /* Jarak antara ikon dan teks */
}

.button:hover {
  background-color: #c92222;
}

.stars {
  color: #ffcc00;
  margin-bottom: 10px;
}

.reviews {
  color: #999;
  font-size: 0.85rem;
  line-height: 1; /* Sama seperti rating-value */
}

.rating-value {
  font-weight: bold;
  margin-right: 5px;
  font-size: 1rem;
  color: #333;
  line-height: 1; /* Tambahkan line-height agar sejajar */
}

.product-card .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #e42006;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.product-card .button:hover {
  background-color: #c41604;
}

.product-card:hover {
  transform: translateY(-10px);
}

/* Responsive */

@media (max-width: 800px) {
  .hero-section {
    height: 20vh;
    margin-top: 20px;
    width: 110%;
    padding: 0;
    margin-left: -20px;
    border-radius: 0;
  }

  .hero-overlay{
    border-radius: 0;
  }

  .hero-content h1 {
    color: #fff;
    font-size: 2rem;
    z-index: 1;
    font-weight: 600;
    position: relative;
    font-style: italic;
  }



}
