* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Segoe UI', sans-serif; }
:root {
  --hijau: #1b5e20;
  --hijau-tua: #0d3b12;
  --emas: #f5b301;
  --krem: #fdf8ef;
  --teks: #2c2c2c;
}
body { background: var(--krem); color: var(--teks); line-height: 1.6; }

nav {
  background: var(--hijau); color: white; padding: 15px 5%;
  display: flex; justify-content: space-between; align-items: center;
  position: sticky; top: 0; z-index: 100; box-shadow: 0 2px 12px rgba(0,0,0,.25);
}
nav .logo { font-size: 1.5rem; font-weight: bold; }
nav .logo span { color: var(--emas); }
nav ul { list-style: none; display: flex; gap: 22px; align-items: center; }
nav ul a { color: white; text-decoration: none; font-weight: 500; transition: .3s; }
nav ul a:hover { color: var(--emas); }
nav .btn-login {
  background: var(--emas); color: var(--hijau-tua); padding: 8px 18px;
  border-radius: 50px; font-weight: 600;
}

.hero {
  background: linear-gradient(rgba(13,59,18,.78), rgba(27,94,32,.7)),
    url('https://images.unsplash.com/photo-1533309907656-7b1c2f4a16d2?w=1600') center/cover;
  color: white; text-align: center; padding: 110px 20px;
}
.hero h1 { font-size: 3rem; margin-bottom: 15px; text-shadow: 2px 2px 8px rgba(0,0,0,.5); }
.hero h1 span { color: var(--emas); }
.hero p { font-size: 1.15rem; margin-bottom: 30px; }
.btn {
  display: inline-block; background: var(--emas); color: var(--hijau-tua);
  padding: 14px 32px; border-radius: 50px; text-decoration: none;
  font-weight: bold; transition: .3s; border: none; cursor: pointer;
  box-shadow: 0 6px 18px rgba(245,179,1,.45);
}
.btn:hover { transform: translateY(-3px); background: #ffc93c; }
.btn-wa { background: #25D366; color: white; box-shadow: 0 6px 18px rgba(37,211,102,.45); }
.btn-wa:hover { background: #1ebe5b; }

section { padding: 70px 5%; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 12px; color: var(--hijau); }
.section-title span { color: var(--emas); }
.section-sub { text-align: center; color: #666; margin-bottom: 45px; }

.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 24px; }
.feature-card {
  background: white; padding: 30px 22px; border-radius: 18px; text-align: center;
  box-shadow: 0 6px 22px rgba(0,0,0,.08); transition: .3s; border-bottom: 4px solid var(--emas);
}
.feature-card:hover { transform: translateY(-8px); }
.feature-card .icon { font-size: 3rem; margin-bottom: 12px; }
.feature-card h3 { color: var(--hijau); margin-bottom: 8px; }

#produk { background: #fff; }
.filter { text-align: center; margin-bottom: 35px; }
.filter a {
  display: inline-block; padding: 10px 22px; margin: 5px;
  border: 2px solid var(--hijau); color: var(--hijau);
  border-radius: 50px; text-decoration: none; font-weight: 600; transition: .3s;
}
.filter a.active, .filter a:hover { background: var(--hijau); color: white; }

.products { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px,1fr)); gap: 26px; }
.product-card {
  background: var(--krem); border-radius: 18px; overflow: hidden;
  box-shadow: 0 6px 22px rgba(0,0,0,.08); transition: .3s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: 0 16px 34px rgba(0,0,0,.15); }
.product-card .img-wrap { position: relative; }
.product-card img { width: 100%; height: 210px; object-fit: cover; }
.badge {
  position: absolute; top: 12px; left: 12px; background: var(--emas);
  color: var(--hijau-tua); padding: 5px 14px; border-radius: 50px;
  font-size: .78rem; font-weight: bold; text-transform: uppercase;
}
.badge.stok { left: auto; right: 12px; background: var(--hijau); color: white; }
.product-info { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-info h3 { color: var(--hijau); margin-bottom: 6px; }
.product-info .meta { color: #777; font-size: .9rem; margin-bottom: 10px; }
.product-info .price { font-size: 1.35rem; color: #d32f2f; font-weight: bold; margin-bottom: 14px; }
.product-info a.detail {
  margin-top: auto; text-align: center; background: var(--hijau); color: white;
  padding: 12px; border-radius: 10px; text-decoration: none; font-weight: 600; transition: .3s;
}
.product-info a.detail:hover { background: var(--emas); color: var(--hijau-tua); }

#kontak { background: var(--hijau); color: white; text-align: center; }
#kontak .section-title { color: var(--emas); }
.contact-info { margin: 25px 0; font-size: 1.15rem; line-height: 2; }

footer { background: var(--hijau-tua); color: #ccc; text-align: center; padding: 26px; font-size: .9rem; }
footer a { color: var(--emas); text-decoration: none; }

@media (max-width: 768px) {
  nav { flex-direction: column; gap: 10px; }
  nav ul { flex-wrap: wrap; justify-content: center; gap: 14px; font-size: .9rem; }
  .hero h1 { font-size: 1.9rem; }
  section { padding: 50px 5%; }
  .section-title { font-size: 1.6rem; }
}