/* =========================================================
   Tempe Aulia Daun — Stylesheet (simplified, single font)
   ========================================================= */

:root {
  /* Palette — banana leaf greens + soybean cream */
  --leaf-deep: #1d3a28;
  --leaf: #2f5a3a;
  --leaf-bright: #00602a;
  --soy: #b9924f;
  --soy-soft: #e7d6ad;
  --cream: #f7f1e1;
  --cream-2: #efe6cf;
  --card: #fffdf6;
  --ink: #25241b;
  --ink-soft: #5d5742;
  --wa: #25d366;

  /* soft, flat shadows (no glossy depth) */
  --shadow-sm: 0 1px 3px rgba(29, 58, 40, .07);
  --shadow-md: 0 8px 22px -16px rgba(29, 58, 40, .32);

  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 10px;

  --font: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Reusable bits ---------- */
.eyebrow {
  font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
  font-size: .74rem; color: var(--leaf-bright);
  display: inline-flex; align-items: center; gap: .6em;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: var(--leaf-bright); display: inline-block; }

.section-title {
  font-weight: 800; font-size: clamp(2rem, 1.2rem + 3vw, 3rem);
  line-height: 1.08; letter-spacing: -.02em; color: var(--leaf-deep);
  margin: .5rem 0 .4rem;
}
.section-title em { font-style: normal; color: var(--leaf-bright); }
.lead { color: var(--ink-soft); font-size: 1.04rem; max-width: 56ch; }

section { padding: clamp(60px, 7vw, 108px) 0; scroll-margin-top: 80px; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  font-weight: 700; font-size: .96rem; font-family: var(--font);
  padding: .82em 1.45em; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn-wa { background: var(--wa); color: #06351f; }
.btn-wa:hover { transform: translateY(-2px); background: #1fc15c; }
.btn-ghost { background: transparent; border-color: rgba(29,58,40,.22); color: var(--leaf-deep); }
.btn-ghost:hover { background: var(--leaf-deep); color: var(--cream); border-color: var(--leaf-deep); }
.btn-sm { padding: .55em 1.05em; font-size: .82rem; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: var(--maxw); margin: 0 auto;
}
.nav-shell {
  position: fixed; inset: 0 0 auto 0; z-index: 99; height: 72px;
  background: transparent; transition: background .25s ease, box-shadow .25s ease;
}
.nav-shell.scrolled {
  background: rgba(247, 241, 225, .9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(29,58,40,.08);
}
.brand-mark { display: flex; align-items: center; gap: .55em; font-weight: 800; font-size: 1.12rem; color: var(--leaf-deep); letter-spacing: -.01em; }
.brand-mark .leaf-badge {
  width: 34px; height: 34px; border-radius: 9px;
  background: var(--leaf-deep); display: grid; place-items: center; color: var(--cream);
}
.brand-mark .leaf-badge svg { width: 19px; height: 19px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { font-weight: 600; font-size: .92rem; color: var(--leaf-deep); padding: .5em .9em; border-radius: 999px; transition: background .2s ease; }
.nav-links a.link:hover { background: rgba(29,58,40,.07); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: 150px; padding-bottom: 92px; }
.hero-inner {
  display: flex; align-items: flex-start;
  gap: clamp(16px, 2.6vw, 38px);
  max-width: 940px; margin: 0 auto;
}
.hero-leaf { flex-shrink: 0; padding-top: 34px; }   /* nudge leaf beside the title */
.hero-logo {
  height: clamp(86px, 10.5vw, 148px); width: auto; max-width: none; display: block;
  transform: rotate(-7deg);
  filter: drop-shadow(0 12px 18px rgba(29, 58, 40, .18));
}
.hero-text { min-width: 0; }
.hero h1 {
  font-weight: 800; font-size: clamp(2.3rem, 1.4rem + 4.4vw, 4rem);
  line-height: 1.02; letter-spacing: -.03em; color: var(--leaf-deep); margin: .1em 0 .25em;
}
.hero h1 .accent { color: var(--leaf-bright); }
.tagline {
  display: inline-flex; align-items: center; gap: .65em;
  font-size: clamp(1.2rem, 1rem + 1.2vw, 1.7rem); color: var(--soy); font-weight: 600; margin-bottom: 1.3rem;
}
.tagline .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--leaf-bright); }
.hero p.intro { color: var(--ink-soft); max-width: 50ch; font-size: 1.06rem; margin: 0 0 1.7rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: flex-start; }

.badge-row {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap; /* di HP otomatis turun ke bawah */
  margin-top: 24px;
}

.pirt-badge,
.halal-badge {
  display: inline-flex;
  align-items: center;
  gap: .65em;
  margin-top: 0; /* hapus margin masing-masing */
  padding: .65em 1.05em;
  background: var(--card);
  border: 1px dashed var(--soy);
  border-radius: 12px;
  font-size: .9rem;
  color: var(--ink-soft);
}

.pirt-badge strong,
.halal-badge strong {
  color: var(--leaf-deep);
  font-weight: 700;
}

.pirt-badge .seal,
.halal-badge .seal {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--leaf);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .66rem;
  font-weight: 800;
}

/* (logo sits in .hero-leaf, beside the left-aligned .hero-text column) */

/* ---------- About / keunggulan ---------- */
.about { background: var(--cream-2); }
.about-head { text-align: center; max-width: 60ch; margin: 0 auto 46px; }
.about-head .lead { margin: 1rem auto 0; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature {
  background: var(--card); border-radius: var(--r-md); padding: 30px 26px;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(29,58,40,.07);
  transition: transform .25s ease;
}
.feature:hover { transform: translateY(-4px); }
.feature .ficon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 15px;
  background: var(--leaf); color: var(--cream); display: grid; place-items: center;
}
.feature .ficon svg { width: 23px; height: 23px; }
.feature h3 { font-weight: 800; font-size: 1.2rem; color: var(--leaf-deep); margin-bottom: 5px; }
.feature p { color: var(--ink-soft); font-size: .95rem; }

/* ---------- Products ---------- */
.products-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 42px; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: var(--card); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(29,58,40,.07);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.product-card .label {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  background: var(--leaf-deep); color: var(--cream);
  font-size: .67rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  padding: .4em .8em; border-radius: 999px;
}
.product-card .body { padding: 20px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.product-card h3 { font-weight: 800; font-size: 1.22rem; color: var(--leaf-deep); margin-bottom: 7px; }
.product-card p { color: var(--ink-soft); font-size: .91rem; flex: 1; }
.product-card .order { margin-top: 16px; }

/* media frame (products + docs) */
.media-frame { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; position: relative; z-index: 1; transition: transform .4s ease; }
.product-card:hover .media-frame img, .doc-card:hover .media-frame img { transform: scale(1.04); }
.media-ph {
  position: absolute; inset: 0; z-index: 0; display: grid; place-items: center;
  text-align: center; padding: 12%; background: var(--soy-soft); color: var(--leaf-deep);
}
.media-ph svg { width: 42px; height: 42px; opacity: .55; margin-bottom: 8px; }
.media-ph span { font-size: .8rem; font-weight: 700; letter-spacing: .03em; opacity: .8; }

/* ---------- Documentation ---------- */
.docs { background: var(--cream-2); }
.docs-head { text-align: center; max-width: 60ch; margin: 0 auto 32px; }
.tabs-wrap { display: flex; justify-content: center; }
.tabs { display: inline-flex; gap: 4px; padding: 5px; background: var(--card); border: 1px solid rgba(29,58,40,.1); border-radius: 999px; margin: 0 auto 40px; }
.tab {
  border: none; cursor: pointer; background: transparent; font-family: var(--font);
  font-weight: 700; font-size: .92rem; color: var(--ink-soft); padding: .68em 1.35em; border-radius: 999px; transition: all .2s ease;
}
.tab.active { background: var(--leaf-deep); color: var(--cream); }
.doc-panel { display: none; }
.doc-panel.active { display: block; animation: fadeUp .45s ease both; }
.doc-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
}
.doc-card {
  background: var(--card); border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid rgba(29,58,40,.07); transition: transform .25s ease;
      flex: 0 0 320px;   /* atau 280px sesuai ukuran yang diinginkan */
  max-width: 320px;
}
.doc-card:hover { transform: translateY(-4px); }
.doc-card .body { padding: 16px 18px 18px; }
.doc-card h4 { font-weight: 800; font-size: 1.1rem; color: var(--leaf-deep); }
.doc-card .src { font-size: .73rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--leaf-bright); margin-top: 2px; }
.doc-card p { color: var(--ink-soft); font-size: .89rem; margin-top: 7px; }

/* ---------- CTA / Contact ---------- */
.cta {
  background: var(--leaf-deep); color: var(--cream); border-radius: var(--r-lg);
  margin: 0 24px clamp(46px, 6vw, 84px);
  padding: clamp(46px, 6vw, 74px) clamp(28px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.cta-wrap { max-width: var(--maxw); margin: 0 auto; }
.cta .eyebrow { color: var(--leaf-bright); }
.cta .eyebrow::before { background: var(--leaf-bright); }
.cta h2 { font-weight: 800; font-size: clamp(2rem, 1.2rem + 3vw, 3.1rem); line-height: 1.04; margin: 12px 0 16px; letter-spacing: -.02em; }
.cta h2 em { font-style: normal; color: var(--leaf-bright); }
.cta p { color: rgba(247,241,225,.82); max-width: 50ch; margin-bottom: 26px; }
.cta-info { display: flex; flex-wrap: wrap; gap: 16px 34px; margin-top: 30px; }
.cta-info .item { display: flex; gap: .65em; align-items: flex-start; font-size: .94rem; }
.cta-info .item svg { width: 20px; height: 20px; color: var(--leaf-bright); flex-shrink: 0; margin-top: 3px; }
.cta-info .item .k { display: block; font-size: .71rem; letter-spacing: .1em; text-transform: uppercase; color: rgba(247,241,225,.55); }
.cta-info .item .v { color: var(--cream); font-weight: 600; }
.cta-leaf { position: absolute; right: -36px; bottom: -46px; width: 250px; color: rgba(95,154,62,.1); transform: rotate(-16deg); pointer-events: none; }

/* ---------- Footer ---------- */
footer { padding: 38px 0 54px; }
.footer-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer-row .copy { color: var(--ink-soft); font-size: .87rem; }
.footer-row .brand-mark { font-size: 1.02rem; }
.to-top { font-size: .85rem; font-weight: 700; color: var(--leaf-deep); display: inline-flex; gap: .5em; align-items: center; }
.to-top:hover { color: var(--leaf-bright); }

/* floating WhatsApp (no pulse/glow) */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%; background: var(--wa); color: #06351f;
  display: grid; place-items: center; box-shadow: var(--shadow-md); transition: transform .2s ease;
}
.wa-float:hover { transform: scale(1.07); }
.wa-float svg { width: 29px; height: 29px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px);} to { opacity: 1; transform: none; } }
.fade-seq > * { opacity: 0; transform: translateY(16px); animation: fadeUp .7s ease forwards; }
.fade-seq > *:nth-child(1) { animation-delay: .05s; }
.fade-seq > *:nth-child(2) { animation-delay: .16s; }
.fade-seq > *:nth-child(3) { animation-delay: .27s; }
.fade-seq > *:nth-child(4) { animation-delay: .38s; }
.fade-seq > *:nth-child(5) { animation-delay: .49s; }
.fade-seq > *:nth-child(6) { animation-delay: .60s; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .features { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-links .link { display: none; }
}
@media (max-width: 560px) {
  .hero-inner { flex-direction: column; gap: 14px; }
  .hero-leaf { padding-top: 0; }
  .hero-logo { height: 88px; }
  .product-grid { grid-template-columns: 1fr; }
  .doc-grid { grid-template-columns: 1fr; }
  .cta { margin-left: 14px; margin-right: 14px; }
  .hero-cta { width: 100%; }
  .hero-cta .btn { flex: 1; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

.map-embed{
  margin-top:10px;
  width:100%;
  border-radius:16px;
  overflow:hidden;
  box-shadow:var(--shadow-sm);
}

.map-embed iframe{
  display:block;
  width:100%;
  height:280px;
  border:0;
}


