/* =====================
   GLOBAL
===================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: #f8f5ed;
  color: #243b2a;
  overflow-x: hidden;
}

/* SEMUA JUDUL MENGGUNAKAN FONT POPPINS */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
}

button {
  border: none;
  cursor: pointer;
  background: #3d8b3d;
  color: white;
  padding: 14px 30px;
  border-radius: 30px;
  font-size: 15px;
  transition: 0.3s;
}

button:hover {
  background: #286628;
  transform: translateY(-3px);
}

/* =====================
 NAVBAR
===================== */

/* BACKGROUND NAVBAR PUTIH */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #ffffff;
  transition: transform 0.35s ease;
}

/* Header disembunyikan saat scroll ke bawah */
header.header-hidden {
  transform: translateY(-100%);
}

.navbar {
  width: 90%;
  margin: auto;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 110px;
  height: auto;
  object-fit: contain;
}

.menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

.menu li {
  font-size: 14px;
}

.menu li:hover {
  color: #3d8b3d;
}

.header-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
}

.header-instagram img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.header-instagram:hover img {
  transform: scale(1.1);
}

/* =====================
 HERO
===================== */

.hero {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 120px 8% 60px;

  /* Gradasi hijau mint dengan sedikit nuansa biru */
  background: linear-gradient(180deg, #e7f4ec 0%, #edf6ef 55%, #f8f5ed 100%);
}

.hero-text {
  width: 45%;
}

.tag {
  display: inline-block;

  background: #d8efd2;

  color: #357033;

  padding: 8px 20px;

  border-radius: 20px;

  font-size: 14px;

  margin-bottom: 20px;
}

.hero h1 {
  font-size: 75px;

  line-height: 1.1;

  margin-bottom: 25px;
}

.hero p {
  color: #666;

  width: 80%;

  line-height: 1.8;

  margin-bottom: 35px;
}

.search-box {
  background: white;
  width: 380px;
  max-width: 100%;
  padding: 6px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 12px 15px;
  font-size: 14px;
  font-family: "Poppins", sans-serif;
}

.search-box button {
  flex-shrink: 0;
  width: 65px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 30px;
  background: #388b3e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-box button svg {
  width: 20px;
  height: 20px;
}

.hero-image {
  width: 50%;
  height: 550px;
  position: relative;
}

/* STYLE UMUM SEMUA PRODUK */
.product {
  position: absolute;
  object-fit: contain;
  filter: drop-shadow(0 20px 20px rgba(0, 0, 0, 0.15));
  animation: float 4s infinite ease-in-out;
}

/* FRAMBOZEN - utama/tengah */
.product2 {
  width: 240px;
  left: 5px;
  top: 60px;
  z-index: 2;
  animation-delay: 0.5s;
}

/* LEMON / KUNING */
.product3 {
  width: 300px;
  left: 170px;
  top: 100px;
  z-index: 4;
  animation-delay: 1s;
}

/* COKELAT - kecil depan bawah */
.product4 {
  width: 240px;
  left: 390px;
  top: 60px;
  z-index: 2;
  animation-delay: 1.5s;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* =====================
 FOOTER
===================== */

footer {
  background: #172c19;

  color: white;

  padding: 60px 10%;

  display: flex;

  justify-content: space-between;
}

footer p {
  opacity: 0.7;

  margin-top: 10px;
}

/* =====================
 RESPONSIVE
===================== */

@media (max-width: 900px) {
  .menu {
    display: none;
  }

  .hero {
    flex-direction: column;

    text-align: center;
  }

  .hero-text,
  .hero-image {
    width: 100%;
  }

  .hero h1 {
    font-size: 50px;
  }

  .search-box {
    width: 100%;
  }

  footer {
    flex-direction: column;

    gap: 30px;
  }
}

/* NAVIGASI HEADER */
header nav a,
header nav a:visited,
nav ul li a,
nav ul li a:visited {
  color: #243e2b;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
  transition: color 0.3s ease;
}

/* Ketika kursor diarahkan ke menu */
header nav a:hover,
nav ul li a:hover {
  color: #438e42;
  text-decoration: none;
}

/* Menjaga jarak dan bentuk navigasi */
header nav ul,
nav ul {
  list-style: none;
}

/* Tombol aktif */
header nav a:active,
nav ul li a:active {
  color: #438e42;
}

/* Memperpendek jarak setelah hero dan pencarian */
.hero {
  min-height: auto;
  height: auto;
  padding-bottom: 40px;
}

/* Merapikan jarak section produk */
.cincau {
  margin-top: 0;
  padding-top: 45px;
  padding-bottom: 70px;
}

/* Jarak judul dengan deskripsi */
.product-heading {
  margin-top: 0;
  margin-bottom: 35px;
}

.product-heading .tag {
  margin-bottom: 12px;
}

.product-heading h2 {
  margin-top: 0;
  margin-bottom: 18px;
}

.product-heading p {
  margin-top: 0;
  line-height: 1.7;
}

/* Tampilan HP */
@media (max-width: 560px) {
  .hero {
    padding-bottom: 25px;
  }

  .cincau {
    padding-top: 30px;
    padding-bottom: 45px;
  }

  .product-heading {
    margin-bottom: 25px;
  }
}

/* BANNER FOTO TOKO */
.reference-banner {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 100px 8%;
  background-image: url("picture/DaunCincauTempat.png");
  background-position: center bottom 100%;
  background-size: cover;
  overflow: hidden;
}

.reference-banner-overlay {
  position: absolute;
  inset: 0;
  background: rgba(27, 64, 42, 0.5);
}

.reference-banner-content {
  position: relative;
  z-index: 1;
  max-width: 500px;
  color: white;
}

.reference-banner-content h2 {
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.25;
  margin-bottom: 15px;
}

.reference-banner-content p {
  font-size: 14px;
  margin-bottom: 22px;
}

.reference-banner-content {
  position: relative;
  z-index: 1;
  max-width: 550px;
  color: white;
}

.reference-banner-content h2 {
  font-family: "Poppins", sans-serif;
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.3;
  color: white;
  margin-bottom: 24px;
}

.reference-read-more {
  display: inline-block;
  padding: 10px 18px;
  color: white;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 5px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 560px) {
  .reference-banner-content h2 {
    font-size: 27px;
  }
}

/* FOOTER PUTIH */
.site-footer {
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1fr 1fr;
  gap: 40px;
  padding: 45px 5%;
  background: #ffffff;
  color: #353451;
  font-family: "Poppins", sans-serif;
}

.footer-logo {
  width: 150px;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  margin-bottom: 25px;
}

.footer-description {
  max-width: 340px;
  font-size: 12px;
  line-height: 1.7;
  font-weight: 500;
}

.footer-column h3 {
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  margin-bottom: 25px;
}

.footer-column p,
.footer-column a {
  color: #51516a;
  font-size: 12px;
  line-height: 1.5;
}

.footer-column a {
  display: block;
  width: fit-content;
  max-width: 100%;
  text-decoration: none;
  margin-bottom: 3px;
  overflow-wrap: anywhere;
}

.footer-column a:hover {
  color: #ffffff;
}

/* BAR COPYRIGHT COKELAT */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 5%;
  background: #3d8b3d;
  color: white;
  font-family: "Poppins", sans-serif;
}

.footer-bottom p,
.footer-socials a {
  font-size: 11px;
  color: white;
  text-decoration: none;
}

.footer-socials {
  display: flex;
  gap: 18px;
}

/* TABLET */
@media (max-width: 900px) {
  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 35px;
  }
}

/* HP */
@media (max-width: 560px) {
  .reference-banner {
    min-height: 280px;
    padding: 40px 7%;
  }

  .reference-banner-content h2 {
    font-size: 29px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 35px 7%;
  }

  .footer-logo {
    width: 120px;
    margin-bottom: 18px;
  }

  .footer-column h3 {
    margin-bottom: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 7%;
  }
}

/* CAROUSEL GALERI PRODUK */
.product-gallery {
  padding: 25px 8% 35px;
  background: linear-gradient(180deg, #e7f4ec 0%, #edf6ef 55%, #f8f5ed 100%);
  overflow: hidden;
}

.gallery-wrapper {
  width: 100%;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s ease;
}

.gallery-card {
  flex: 0 0 calc((100% - 40px) / 3);
  height: 450px;
  overflow: hidden;
  border-radius: 22px;
  background: #fafafa;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* TITIK NAVIGASI */
.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
}

.gallery-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cecece;
  cursor: pointer;
}

.gallery-dot.active {
  background: #328cff;
}

/* TABLET */
@media (max-width: 992px) {
  .gallery-card {
    flex-basis: calc((100% - 20px) / 2);
    height: 380px;
  }
}

/* HP */
@media (max-width: 600px) {
  .product-gallery {
    padding: 20px 6% 30px;
  }

  .gallery-card {
    flex-basis: 100%;
    height: 350px;
    border-radius: 18px;
  }
}

/* =========================
   DAUN CINCAU DARI KEBUN
========================= */

.cincau-origin {
  padding: 55px 7% 0;
  background: linear-gradient(180deg, #e7f4ec 0%, #edf6ef 55%, #f8f5ed 100%);
  text-align: center;
  overflow: hidden;
}

.origin-heading h2 {
  margin: 0 0 12px;
  color: #087443;
  font-family: "Poppins", sans-serif;
  font-size: clamp(32px, 4vw, 54px);
  font-weight: 400;
}

.origin-heading p {
  margin: 0;
  color: #087443;
  font-family: "Poppins", sans-serif;
  font-size: 17px;
}

/* IKON BULAT */
.origin-features {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 28px;
  flex-wrap: wrap;
  margin: 35px auto 45px;
}

.origin-feature {
  width: 115px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.origin-icon {
  width: 86px;
  height: 86px;
  border: 2px solid #29965c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #087443;
  font-size: 32px;
  background: linear-gradient(180deg, #e7f4ec 0%, #edf6ef 55%, #f8f5ed 100%);
}

.origin-feature h3 {
  margin: 0;
  color: #087443;
  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.5;
}

/* FOTO KEBUN */
.origin-image {
  width: 100%;
  max-width: 1150px;
  height: 320px;
  margin: 0 auto;
  overflow: hidden;
}

.origin-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* RESPONSIVE */
@media (max-width: 600px) {
  .cincau-origin {
    padding: 40px 5% 0;
  }

  .origin-heading p {
    font-size: 14px;
  }

  .origin-features {
    gap: 24px 12px;
    margin: 30px auto;
  }

  .origin-feature {
    width: calc((100% - 24px) / 3);
  }

  .origin-icon {
    width: 65px;
    height: 65px;
    font-size: 25px;
  }

  .origin-feature h3 {
    font-size: 11px;
  }

  .origin-image {
    height: 220px;
  }
}

/* =========================
   SECTION DAUN CINCAU
========================= */

.kebun-cincau {
  width: 100%;
  padding: 75px 8%;
  box-sizing: border-box;

  background: linear-gradient(180deg, #edf6ef 0%, #f4f6ee 100%);
}

.kebun-container {
  max-width: 1400px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 0.9fr;
  align-items: center;
  gap: 65px;
}

/* BAGIAN TEKS */

.kebun-text {
  max-width: 570px;
}

.kebun-label {
  display: inline-block;
  margin-bottom: 16px;
  padding: 8px 16px;

  background: linear-gradient(180deg, #e7f4ec 0%, #edf6ef 55%, #f8f5ed 100%);
  color: #398047;

  border-radius: 30px;

  font-family: "Poppins", sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1px;
}

.kebun-text h2 {
  margin: 0 0 22px;

  color: #24432d;

  font-family: "Poppins", sans-serif;
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 600;
  line-height: 1.3;
}

.kebun-text p {
  margin: 0;

  color: #647066;

  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.95;
}

/* TOMBOL */

.kebun-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;

  margin-top: 26px;
  padding: 13px 23px;

  background: #398747;
  color: #ffffff;

  border-radius: 30px;

  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;

  transition:
    background 0.25s ease,
    transform 0.25s ease;
}

.kebun-button:hover {
  background: #2e703b;
  transform: translateY(-2px);
}

/* FOTO BERBENTUK KOTAK */

.kebun-image {
  position: relative;
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1 / 1;

  justify-self: end;

  border-radius: 22px;
  overflow: hidden;

  box-shadow: 0 18px 45px rgba(42, 76, 48, 0.12);
}

.kebun-image img {
  display: block;
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  transition: transform 0.5s ease;
}

.kebun-image:hover img {
  transform: scale(1.04);
}

/* KETERANGAN DI ATAS FOTO */

.kebun-image-caption {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 14px 17px;

  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 15px;

  box-sizing: border-box;
  backdrop-filter: blur(8px);
}

.caption-icon {
  display: flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;
  width: 38px;
  height: 38px;

  border-radius: 50%;
  background: #e3f1df;
  color: #398747;

  font-size: 22px;
}

.kebun-image-caption p {
  margin: 0;

  color: #6b766b;

  font-family: "Poppins", sans-serif;
  font-size: 11px;
  line-height: 1.5;
}

/* RESPONSIVE TABLET */

@media (max-width: 900px) {
  .kebun-cincau {
    padding: 60px 6%;
  }

  .kebun-container {
    gap: 35px;
    grid-template-columns: 1fr 0.85fr;
  }

  .kebun-text h2 {
    font-size: 30px;
  }

  .kebun-text p {
    font-size: 14px;
  }

  .kebun-image-caption {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 10px;
    gap: 8px;
  }
}

/* RESPONSIVE HP */

@media (max-width: 600px) {
  .kebun-cincau {
    padding: 48px 6%;
  }

  .kebun-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .kebun-text {
    max-width: 100%;
  }

  .kebun-text h2 {
    font-size: 29px;
  }

  .kebun-text p {
    font-size: 14px;
    line-height: 1.85;
  }

  .kebun-button {
    margin-top: 20px;
  }

  .kebun-image {
    justify-self: center;
    max-width: 100%;
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 18px;
  }
}

/* HEADER HIDE & SHOW */
header {
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 9999;
  background: #ffffff;
  transform: translateY(0);
  transition: transform 0.3s ease-in-out;
  will-change: transform;
}

header.header-hidden {
  transform: translateY(-110%) !important;
}

/* HOME BANNER FULL SCREEN */
.home-banner {
  position: relative;
  width: 100%;
  height: calc(100vh - 92px);
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 60px 9%;
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
}

.home-banner-image {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 65%;
}

.home-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    90deg,
    rgba(25, 55, 35, 0.65),
    rgba(25, 55, 35, 0.3) 55%,
    rgba(25, 55, 35, 0.05)
  );
  pointer-events: none;
}

.home-banner-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 650px;
  color: white;
}

.home-banner-content h1 {
  margin: 0 0 22px;
  font-family: "Poppins", sans-serif;
  font-size: clamp(48px, 5.5vw, 82px);
  font-weight: 700;
  line-height: 1.12;
}

.home-banner-content p {
  margin: 0 0 30px;
  font-size: 21px;
  line-height: 1.6;
}

.home-read-more {
  display: inline-block;
  padding: 13px 25px;
  color: white;
  text-decoration: none;
  font-size: 16px;
  background: rgba(255, 255, 255, 0.22);
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 10px;
  transition: background 0.3s ease;
}

.home-read-more:hover {
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 600px) {
  .home-banner {
    height: 75vh;
    min-height: 480px;
    padding: 40px 7%;
  }

  .home-banner-image {
    object-position: 60% center;
  }

  .home-banner-content h1 {
    font-size: 46px;
  }

  .home-banner-content p {
    font-size: 17px;
  }
}

/* =========================
   BACKGROUND SAGE SERAGAM
========================= */

:root {
  --sage-background: linear-gradient(
    180deg,
    #e7f4ec 0%,
    #edf6ef 55%,
    #f8f5ed 100%
  );
}

/* =====================================
   GLOBAL BACKGROUND HIJAU SAGE SERAGAM
===================================== */

:root {
  --sage: #e8f0e7;
  --sage-dark: #294b38;
}

/* Background dasar seluruh halaman */
html,
body {
  background: var(--sage) !important;
  background-image: none;
}

/* Header dan navigasi */
header {
  background: var(--sage) !important;
}

/* Semua section utama */
.hero,
.cincau,
.site-footer,
.product-gallery,
.cincau-origin,
.kebun-cincau {
  background: var(--sage) !important;
  background-image: none !important;
}

/* Kartu produk dan pencarian */
.card,
.search-box {
  background: var(--sage) !important;
}

/* Ikon dan label */
.origin-icon,
.kebun-label {
  background: var(--sage) !important;
  background-image: none !important;
}

/* Footer bagian bawah */
.footer-bottom {
  background: var(--sage) !important;
  color: var(--sage-dark) !important;
}

.footer-bottom p,
.footer-socials a {
  color: var(--sage-dark) !important;
}

/* Warna teks utama */
.site-footer,
.site-footer .footer-column h3 {
  color: var(--sage-dark);
}

/* Banner beranda dan banner foto toko
   tetap menggunakan gambar aslinya */
.home-banner {
  background-color: var(--sage);
}

.home-banner-image {
  object-fit: cover;
}

.reference-banner {
  background-color: var(--sage);
  background-size: cover;
  background-repeat: no-repeat;
}

/* Tampilan mobile */
@media (max-width: 600px) {
  body {
    background: var(--sage) !important;
  }
}

/* =========================
   GALERI PRODUK
========================= */

.product-gallery {
  width: 100%;
  padding: 65px 5% 70px;
  box-sizing: border-box;
  background: #e8f0e7;
  overflow: hidden;
}

.gallery-heading {
  text-align: center;
  margin: 0 auto 35px;
}

.gallery-heading h2 {
  margin: 14px 0;
  color: #294b38;
  font-family: "Poppins", sans-serif;
  font-size: clamp(28px, 3vw, 42px);
}

.gallery-heading p {
  max-width: 600px;
  margin: 0 auto;
  color: #64786a;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  line-height: 1.8;
}

.gallery-wrapper {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}

/* Area yang menutupi foto di luar tampilan */
.gallery-viewport {
  width: 100%;
  overflow: hidden;
}

/* Barisan foto */
.gallery-track {
  display: flex;
  gap: 20px;
  width: 100%;
  transform: translateX(0);
  transition: transform 0.45s ease;
  will-change: transform;
}

/* Kartu foto */
.gallery-card {
  flex: 0 0 calc((100% - 40px) / 3);
  min-width: 0;
  height: 280px;
  overflow: hidden;
  border-radius: 18px;
  background: #f8f5ed;
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-card:hover img {
  transform: scale(1.04);
}

/* =========================
   DOTS NAVIGASI
========================= */

.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  min-height: 20px;
  margin: 25px auto 0;
}

.gallery-dot {
  display: block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #c4d1c5;
  cursor: pointer;
  transition:
    background 0.3s ease,
    width 0.3s ease;
}

.gallery-dot.active {
  flex-basis: 25px;
  width: 25px;
  border-radius: 10px;
  background: #378b50;
}

.gallery-dot:hover {
  background: #378b50;
}

.gallery-dot:focus-visible {
  outline: 2px solid #294b38;
  outline-offset: 4px;
}

/* =========================
   RESPONSIVE TABLET
========================= */

@media (max-width: 992px) {
  .gallery-card {
    flex-basis: calc((100% - 20px) / 2);
    height: 260px;
  }
}

/* =========================
   RESPONSIVE HP
========================= */

@media (max-width: 600px) {
  .product-gallery {
    padding: 45px 5% 55px;
  }

  .gallery-heading {
    margin-bottom: 25px;
  }

  .gallery-track {
    gap: 14px;
  }

  .gallery-card {
    flex-basis: 100%;
    height: 240px;
    border-radius: 14px;
  }

  .gallery-dots {
    gap: 8px;
    margin-top: 20px;
  }
}

/* FIX DOTS CAROUSEL */
#galeri .gallery-dots {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  z-index: 20;

  justify-content: center;
  align-items: center;
  gap: 10px;

  width: 100%;
  min-height: 30px;
  margin: 25px auto 0;
}

#galeri .gallery-dot {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;

  width: 11px;
  height: 11px;
  min-width: 11px;
  padding: 0;

  border: 0;
  border-radius: 50%;
  background: #bdcdbf;

  cursor: pointer;
}

#galeri .gallery-dot.active {
  width: 26px;
  border-radius: 10px;
  background: #378b50;
}

/* =========================
   KEUNGGULAN DAUN CINCAU
========================= */

.cincau-benefits {
  width: 100%;
  padding: 85px 7%;
  box-sizing: border-box;
  background: #edf4ec;
  font-family: "Poppins", sans-serif;
}

.benefits-container {
  max-width: 1400px;
  margin: auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 85px;
}

/* FOTO KIRI */

.benefits-image {
  width: 100%;
  height: 510px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 18px;
}

.benefits-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

.benefits-image:hover img {
  transform: scale(1.04);
}

/* TEKS KANAN */

.benefits-content {
  width: 100%;
}

.benefits-tag {
  display: inline-block;
  color: #39864f;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.benefits-content h2 {
  color: #087443;
  font-size: clamp(27px, 3vw, 38px);
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 30px;
}

.benefit-item {
  margin-bottom: 24px;
}

.benefit-item h3 {
  color: #34344f;
  font-size: 19px;
  font-weight: 700;
  margin: 0 0 12px;
}

.benefit-item p {
  color: #55566b;
  font-size: 15px;
  line-height: 1.8;
  text-align: justify;
  margin: 0;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .benefits-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .benefits-image {
    height: 380px;
  }
}

@media (max-width: 600px) {
  .cincau-benefits {
    padding: 55px 6%;
  }

  .benefits-image {
    height: 280px;
  }

  .benefits-content h2 {
    font-size: 28px;
  }

  .benefit-item h3 {
    font-size: 17px;
  }

  .benefit-item p {
    font-size: 13px;
  }
}

/* =========================
   PRODUCT CAROUSEL
========================= */

.product-gallery {
  width: 100%;
  padding: 55px 0 35px;
  background: #eaf2e9;
  overflow: hidden;
}

.gallery-container {
  width: 88%;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
}

.gallery-track {
  display: flex;
  gap: 24px;
  transition: transform 0.6s ease;
  will-change: transform;
}

.gallery-card {
  flex: 0 0 30%;
  height: 480px;
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

/* =========================
   NAVIGATION DOTS
========================= */

.gallery-dots {
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 20px;
  margin-top: 35px;
  position: relative;
  z-index: 5;
}

.gallery-dot {
  display: block !important;
  width: 12px;
  height: 12px;
  min-width: 12px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #cccccc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.gallery-dot.active {
  background: #3988d4;
  transform: scale(1.15);
}

/* TABLET */

@media (max-width: 992px) {
  .gallery-card {
    flex-basis: 46%;
    height: 400px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .gallery-container {
    width: 88%;
  }

  .gallery-track {
    gap: 15px;
  }

  .gallery-card {
    flex-basis: 100%;
    height: 350px;
  }
}

/* =====================================
   PRODUCT CAROUSEL - FINAL STYLE
===================================== */

.product-gallery {
  width: 100%;
  padding: 55px 0 40px;
  background: #e8f0e7;
  overflow: hidden;
  box-sizing: border-box;
}

/* AREA CAROUSEL */

.gallery-container {
  width: 88%;
  max-width: 1500px;
  margin: 0 auto;
  overflow: hidden;
}

/* BARIS FOTO */

.gallery-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  width: 100%;
  transition: transform 0.5s ease;
  will-change: transform;
}

/* KARTU FOTO */

.gallery-card {
  flex: 0 0 calc((100% - 48px) / 3);
  min-width: 0;
  height: 480px;
  overflow: hidden;
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
}

.gallery-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease;
}

.gallery-card:hover img {
  transform: scale(1.03);
}

/* DOT NAVIGATION */

#galeri .gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 20px;
  margin: 30px auto 0;
  position: relative;
  z-index: 10;
}

#galeri .gallery-dots[hidden] {
  display: none !important;
}

#galeri button.gallery-dot {
  flex: 0 0 12px;
  width: 12px;
  min-width: 12px;
  height: 12px;
  padding: 0;
  margin: 0;
  border: none;
  border-radius: 50%;
  background: #c7d0c8;
  cursor: pointer;
  transition: all 0.3s ease;
  transform: none;
}

#galeri button.gallery-dot.active {
  flex-basis: 26px;
  width: 26px;
  border-radius: 20px;
  background: #3988d4;
}

#galeri button.gallery-dot:hover {
  background: #3988d4;
  transform: scale(1.1);
}

/* TABLET */

@media (max-width: 992px) {
  .gallery-card {
    flex-basis: calc((100% - 24px) / 2);
    height: 400px;
  }
}

/* MOBILE */

@media (max-width: 600px) {
  .product-gallery {
    padding: 40px 0 35px;
  }

  .gallery-container {
    width: 88%;
  }

  .gallery-track {
    gap: 15px;
  }

  .gallery-card {
    flex-basis: 100%;
    height: 350px;
    border-radius: 16px;
  }

  #galeri .gallery-dots {
    margin-top: 22px;
    gap: 9px;
  }
}

.site-footer,
.footer-bottom {
  background-color: #ffffff !important;
}

/* =====================================
   HEADER & NAVBAR - SERAGAM SEMUA HALAMAN
===================================== */

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background: #e8f0e7 !important;
  transition: transform 0.3s ease-in-out;
}

header.header-hidden {
  transform: translateY(-110%);
}

header .navbar {
  width: 90%;
  margin: auto;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

/* LOGO */

header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

header .logo a {
  display: flex;
  align-items: center;
}

header .logo img {
  display: block;
  width: 110px;
  height: auto;
  object-fit: contain;
}

/* MENU NAVIGASI */

header .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

header .menu li {
  font-size: 14px;
  white-space: nowrap;
}

header .menu li a {
  display: inline-block;
  color: #243e2b;
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

header .menu li a:hover,
header .menu li a.active {
  color: #39894c;
}

header .menu li a.active {
  font-weight: 600;
}

header .menu li a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: #39894c;
}

/* IKON INSTAGRAM DAN KERANJANG */

header .navbar-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
}

header .header-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

header .header-instagram img {
  display: block;
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

header .header-instagram:hover img {
  transform: scale(1.1);
}

/* KERANJANG PRODUK */

header .product-cart-trigger {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  background: #edf3e7;
  color: #294b38;
  border-radius: 25px;
  font-size: 16px;
}

header .product-cart-trigger:hover {
  background: #dce9d4;
  transform: none;
}

/* RESPONSIVE */

@media (max-width: 1150px) {
  header .navbar {
    width: 94%;
  }

  header .menu {
    gap: 15px;
  }

  header .menu li a {
    font-size: 12px;
  }
}

@media (max-width: 900px) {
  header .menu {
    display: none !important;
  }

  header .navbar {
    width: 92%;
  }
}

@media (max-width: 480px) {
  header .logo img {
    width: 95px;
  }

  header .navbar {
    padding: 12px 0;
  }
}

/* =====================================
   GLOBAL HEADER & FOOTER
   DAUN CINCAU ID
===================================== */

/* HEADER */

header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  z-index: 9999 !important;
  background: #e8f0e7 !important;
  transition: transform 0.3s ease-in-out;
  box-sizing: border-box;
}

header.header-hidden {
  transform: translateY(-110%) !important;
}

header .navbar {
  width: 90% !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 15px 0 !important;
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  box-sizing: border-box;
}

/* LOGO */

header .logo {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

header .logo img {
  display: block !important;
  width: 110px !important;
  height: auto !important;
  max-width: none !important;
  object-fit: contain !important;
}

/* MENU */

header .menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 1 !important;
  gap: 28px !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

header .menu li {
  margin: 0 !important;
  padding: 0 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 14px !important;
  white-space: nowrap;
}

header .menu li a {
  display: inline-block !important;
  color: #243e2b !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  text-decoration: none !important;
  position: relative;
  transition: color 0.3s ease;
}

header .menu li a:hover,
header .menu li a.active {
  color: #39894c !important;
}

header .menu li a.active {
  font-weight: 600 !important;
}

header .menu li a.active::after {
  content: "";
  position: absolute;
  bottom: -7px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #39894c;
}

/* INSTAGRAM */

header .header-instagram {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin-left: 10px !important;
  flex-shrink: 0 !important;
}

header .header-instagram img {
  display: block !important;
  width: 24px !important;
  height: 24px !important;
  object-fit: contain !important;
}

/* =====================================
   FOOTER
===================================== */

.site-footer {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: 1.2fr 1.2fr 0.9fr 0.9fr !important;
  gap: 40px !important;
  align-items: start !important;
  padding: 55px 5% 45px !important;
  background: #ffffff !important;
  color: #53675a !important;
  font-family: "Poppins", sans-serif !important;
  box-sizing: border-box !important;
}

/* BRAND */

.footer-brand {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.footer-logo {
  width: 150px !important;
  height: auto !important;
  max-width: 100% !important;
  object-fit: contain !important;
  margin-bottom: 20px !important;
}

.footer-description {
  max-width: 300px !important;
  color: #718579 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 13px !important;
  line-height: 1.9 !important;
  margin: 0 !important;
}

/* FOOTER COLUMN */

.footer-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
}

.footer-column h3 {
  color: #254b35 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  margin: 5px 0 22px !important;
}

.footer-column p {
  color: #718579 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 12px !important;
  line-height: 1.9 !important;
  margin: 0 0 8px !important;
}

.footer-column a {
  display: block !important;
  color: #53675a !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 12px !important;
  text-decoration: none !important;
  margin-bottom: 12px !important;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: #39894c !important;
}

/* COPYRIGHT */

.footer-bottom {
  width: 100% !important;
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  gap: 20px !important;
  padding: 18px 5% !important;
  background: #eaf2e8 !important;
  border-top: 1px solid #dceadd !important;
  box-sizing: border-box !important;
}

.footer-bottom p {
  color: #254b35 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 12px !important;
  margin: 0 !important;
}

.footer-socials {
  display: flex !important;
  gap: 25px !important;
}

.footer-socials a {
  color: #254b35 !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 12px !important;
  text-decoration: none !important;
}

.footer-socials a:hover {
  color: #39894c !important;
}

/* =====================================
   RESPONSIVE
===================================== */

@media (max-width: 1150px) {
  header .navbar {
    width: 94% !important;
  }

  header .menu {
    gap: 15px !important;
  }

  header .menu li a {
    font-size: 12px !important;
  }
}

@media (max-width: 900px) {
  header .menu {
    display: none !important;
  }

  .site-footer {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 35px !important;
  }
}

@media (max-width: 600px) {
  .site-footer {
    grid-template-columns: 1fr !important;
    padding: 40px 7% !important;
    gap: 30px !important;
  }

  .footer-bottom {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 15px !important;
    padding: 18px 7% !important;
  }
}

/* =====================================
   HEADER GLOBAL - DAUN CINCAU ID
===================================== */

html,
body {
  margin: 0;
  padding: 0;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 9999;
  background-color: #e8f0e7;
  transition: transform 0.3s ease;
  box-sizing: border-box;
}

header.header-hidden {
  transform: translateY(-100%);
}

header .navbar {
  width: 90%;
  height: 80px;
  margin: 0 auto;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

/* LOGO */

header .logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

header .logo img {
  display: block;
  width: 120px;
  height: auto;
  object-fit: contain;
}

/* NAVIGASI */

header .menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

header .menu li a {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: #294633;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: 0.3s ease;
}

header .menu li a:hover,
header .menu li a.active {
  color: #39894c;
}

header .menu li a.active {
  font-weight: 600;
}

header .menu li a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 100%;
  height: 2px;
  background: #39894c;
}

/* INSTAGRAM */

header .header-instagram {
  width: 24px;
  flex-shrink: 0;
}

/* RESPONSIVE */

@media (max-width: 1150px) {
  header .navbar {
    width: 94%;
  }

  header .menu {
    gap: 18px;
  }
}

@media (max-width: 900px) {
  header .menu {
    display: none;
  }
}

/* BACKGROUND FINAL DAUN CINCAU ID */

/* Background utama */
html,
body {
  background: #ffffff !important;
}

/* Header putih */
header {
  background: #ffffff !important;
}

/* Semua konten putih */
.hero,
.cincau-benefits,
.product-gallery,
.site-footer {
  background: #ffffff !important;
  background-image: none !important;
}

/* Footer utama */
.site-footer {
  color: #53675a !important;
}

.site-footer h3 {
  color: #254b35 !important;
}

.site-footer p {
  color: #718579 !important;
}

.site-footer a {
  color: #53675a !important;
}

/* Copyright hijau sage */
.footer-bottom {
  background: #78977d !important;
  border-top: none !important;
}

.footer-bottom p,
.footer-bottom a {
  color: #ffffff !important;
}
