:root {
  --green-dark: #1f4d2b;
  --green: #2f6b3f;
  --green-soft: #eaf3ea;
}

body {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

/* NAVBAR */
.navbar-jaxlab {
  background: rgba(31, 92, 58, 0.95);
  backdrop-filter: blur(6px);
}

.navbar-jaxlab .nav-link {
  color: #fff;
  opacity: 0.85;
}

.navbar-jaxlab .nav-link.active,
.navbar-jaxlab .nav-link:hover {
  opacity: 1;
}

/* =========================
   HERO SECTION
========================= */
.hero-section {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(
      90deg,
      rgba(22, 58, 35, 0.95) 0%,
      rgba(32, 92, 56, 0.9) 45%,
      rgba(32, 92, 56, 0.6) 65%,
      rgba(32, 92, 56, 0.15) 80%,
      rgba(32, 92, 56, 0.05) 100%
    ),
    url("../img/bg-hero.png") no-repeat right center;
  background-size: cover;
  display: flex;
  align-items: center;
}

/* Container khusus hero */
.hero-container {
  position: relative;
  z-index: 2;
}

/* Konten kiri */
.hero-content {
  max-width: 560px;
}

/* Badge */
.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

/* Judul */
.hero-title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}

/* Deskripsi */
.hero-desc {
  font-size: 1rem;
  opacity: 0.9;
  max-width: 480px;
  margin-bottom: 32px;
}

/* Search bar */
.hero-search {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
  max-width: 420px;
}

.hero-search input {
  border: none;
  outline: none;
  flex: 1;
  font-size: 0.95rem;
}

.hero-search button {
  border: none;
  background: #2f6b3f;
  color: #fff;
  padding: 8px 22px;
  border-radius: 999px;
  font-weight: 600;
}

.search-icon {
  font-size: 0.9rem;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-section {
    background-position: center right;
  }
}

/* SECTION */
.section-badge {
  background: var(--green-soft);
  color: var(--green);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.section-title {
  font-weight: 700;
  margin: 15px 0 25px;
}

/* CHIP */
.chip {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ccc;
  font-size: 0.85rem;
  cursor: pointer;
}

.chip.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

/* PRODUCT */
.product-card {
  background: #fff;
  border-radius: 20px;
  padding: 20px;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.product-desc {
  font-size: 0.85rem;
  color: #666;
}

.price {
  font-weight: 700;
  color: var(--green);
  margin-bottom: 10px;
}

.coming-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f7f7f7;
  border-radius: 20px;
  font-weight: 600;
  color: #999;
}

.highlight {
  background: var(--green-soft);
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* FOOTER */
.footer-jaxlab {
  background: var(--green-dark);
  padding: 60px 0 30px;
}

.footer-list {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}

.footer-list li {
  margin-bottom: 8px;
  opacity: 0.85;
}

/* PARTNER */
.partner-section {
  background:
    linear-gradient(rgba(22, 58, 35, 0.85), rgba(22, 58, 35, 0.85)),
    url("../img/bg-community.png") center/cover no-repeat;
  padding: 100px 0;
}

.partner-title {
  font-size: 2.8rem;
  font-weight: 700;
}

.partner-desc {
  opacity: 0.9;
  max-width: 480px;
}

/* VALUE */
.value-section {
  background-color: #1f4f2f; /* hijau tua seperti gambar */
  padding: 90px 0;
}

.value-item {
  max-width: 260px;
  margin: 0 auto;
}

.value-icon {
  width: 48px;
  height: auto;
  margin-bottom: 20px;
}

.value-item h5 {
  font-family: "Playfair Display", serif; /* serif elegan */
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.value-item p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
}

/* TESTIMONIAL */
.testimonial-scroll {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 10px;
}

.testimonial-scroll::-webkit-scrollbar {
  display: none;
}

.testimonial-item {
  position: relative;
  flex: 0 0 auto;
  width: 75vw; /* dari 85vw */
  max-width: 620px; /* dari 800px */
  height: 500px; /* FIX tinggi biar rapi */
  border-radius: 18px;
  overflow: hidden;
  scroll-snap-align: center;
}

.testimonial-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-box {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: #1f5a3b;
  color: #fff;
  padding: 20px;
  border-radius: 18px;
  max-width: 420px;
}

.testimonial-box h6 {
  font-weight: 600;
  margin-bottom: 4px;
}

.testimonial-box small {
  display: block;
  opacity: 0.7;
  margin-bottom: 10px;
}

.testimonial-box p {
  font-size: 14px;
  line-height: 1.6;
}

/* FOOTER */
.footer-jaxlab {
  background: #1f4d2b;
  padding: 80px 0 30px;
}

.footer-list {
  list-style: none;
  padding: 0;
  font-size: 0.9rem;
}

.footer-list li {
  margin-bottom: 8px;
  opacity: 0.85;
}

/* PRODUCT LIST */
.product-list-section {
  background: #fafcf9;
}

/* SEARCH */
.product-search {
  max-width: 420px;
}
.product-search input {
  border-radius: 50px;
  padding: 12px 18px;
}

/* CHIP */
.chip {
  border: 1px solid #dfe8e1;
  background: #fff;
  color: #2f5d3b;
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 14px;
  cursor: pointer;
}
.chip.active,
.chip:hover {
  background: #1f5c3a;
  color: #fff;
  border-color: #1f5c3a;
}

/* PRODUCT CARD */
.product-card {
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  border: 1px solid #eef2ee;
  transition: all 0.25s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
}

.product-img img {
  width: 100%;
  border-radius: 14px;
  margin-bottom: 14px;
}

.product-title {
  font-weight: 600;
  margin-bottom: 6px;
}

.product-desc {
  font-size: 14px;
  color: #6c757d;
  min-height: 60px;
}

.product-price {
  margin-top: 8px;
}

/* COMING SOON */
.product-card.coming-soon {
  background: #f6f8f6;
  display: flex;
  align-items: center;
  justify-content: center;
  border-style: dashed;
}

.coming-badge {
  background: #1f5c3a;
  color: #fff;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 14px;
}


/* PRODUCT DETAIL */
.product-detail-section .thumb-img {
  width: 90px;
  height: 90px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 12px;
}

.product-detail-section .thumb-img:hover {
  border-color: #198754;
}


.preview-img {
  cursor: zoom-in;
}

.modal-content img {
  background: #fff;
}


/* HERO ABOUT */
.hero-about {
  background: linear-gradient(
    rgba(25, 77, 46, 0.85),
    rgba(25, 77, 46, 0.85)
  ),
  url('../img/about-hero.png') center/cover no-repeat;
}
