/* Dalwa Roastery — stylesheet utama. */

:root{
  --navy: #2c2763;
  --navy-deep: #201a4d;
  --gold: #d9a53d;
  --gold-deep: #bf8a22;
  --cream: #f6ead7;
  --cream-deep: #efdcc0;
  --ink: #2c2763;
  --muted: #6b6580;
  --line: #e4d6bd;
}
*{ box-sizing: border-box; margin: 0; padding: 0; }
body{ font-family: 'Baloo 2', sans-serif; color: var(--ink); background: #fff; }
.serif{ font-family: 'Playfair Display', serif; }
.shell{ max-width: 1180px; margin: 0 auto; padding: 0 40px; }
img{ max-width: 100%; display: block; }
a{ color: inherit; }
ul{ list-style: none; }

/* ---------- header ---------- */
header.site{ background: var(--navy); padding: 18px 0; position: sticky; top: 0; z-index: 100; }
header.site .shell{ display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo{ font-family: 'Playfair Display', serif; font-size: 26px; color: var(--gold); font-weight: 600; white-space: nowrap; text-decoration: none; }
.logo em{ font-style: italic; font-weight: 700; }
nav.main ul{ display: flex; gap: 38px; }
nav.main a{ color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; }
nav.main a[aria-current="page"]{ color: var(--gold); }
.btn{
  display: inline-block; padding: 10px 22px; border-radius: 8px;
  font-weight: 700; text-decoration: none; font-size: 14px;
  border: none; cursor: pointer; font-family: inherit;
}
.btn-gold{ background: var(--gold); color: var(--navy-deep); }
.btn-navy{ background: var(--navy); color: #fff; }
.btn-ghost{ background: transparent; border: 1.5px solid var(--navy); color: var(--navy); }

/* hamburger */
.burger{ display: none; width: 32px; height: 32px; background: none; border: none; cursor: pointer; position: relative; padding: 4px; }
.burger span{ display: block; width: 24px; height: 2.5px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .25s, opacity .2s; }

/* ---------- hero (beranda) ---------- */
.hero-wrap{ padding: 0 24px; margin-top: 4px; }
.hero-img{
  height: 460px; border-radius: 0 0 28px 28px; position: relative; overflow: hidden;
  background:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,.08), transparent 40%),
    radial-gradient(circle at 70% 60%, rgba(255,255,255,.06), transparent 45%),
    repeating-radial-gradient(circle at 50% 50%, #4a2d16 0 18px, #3a2211 18px 40px, #2a1708 40px 60px);
}
.hero-img::after{ content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.35)); }

/* ---------- page hero (halaman dalam) ---------- */
.page-hero{ background: var(--navy); color: #fff; padding: 70px 0 56px; text-align: center; }
.page-hero .breadcrumb{ font-size: 13px; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.page-hero .breadcrumb a{ text-decoration: none; color: var(--gold); opacity: .8; }
.page-hero h1{ font-family: 'Playfair Display', serif; font-size: clamp(34px, 5vw, 54px); }
.page-hero p{ margin-top: 14px; color: #cfcbe8; max-width: 56ch; margin-left: auto; margin-right: auto; }

/* ---------- intro (beranda) ---------- */
.intro{ background: var(--cream); text-align: center; padding: 64px 20px 48px; }
.intro h1{ font-size: clamp(38px, 6vw, 68px); font-weight: 700; line-height: 1.1; }
.intro h1 .gold{ color: var(--gold-deep); font-style: italic; }
.intro p{ margin-top: 18px; font-size: 18px; color: var(--muted); }

/* ---------- head umum (eyebrow + judul + tautan) ---------- */
.sect-head{ display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; flex-wrap: wrap; gap: 12px; }
.sect-head.center{ flex-direction: column; align-items: center; text-align: center; }
.eyebrow{ color: var(--gold-deep); font-weight: 700; letter-spacing: .09em; font-size: 13px; }
.sect-head h2{ font-family: 'Playfair Display', serif; font-size: 38px; margin-top: 8px; color: var(--navy); }
.view-all{ color: var(--navy); font-weight: 700; text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; gap: 6px; }

/* ---------- featured / cream section ---------- */
.featured{ background: var(--cream); padding: 30px 0 100px; position: relative; overflow: hidden; }
.branch{ position: absolute; width: 230px; opacity: .55; pointer-events: none; }
.branch.left{ left: -30px; bottom: 60px; }
.branch.right{ right: -30px; top: 80px; transform: scaleX(-1); }

/* ---------- kartu produk ---------- */
.prod-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 44px; max-width: 880px; margin: 0 auto; position: relative; z-index: 1; }
.prod-grid.wide{ grid-template-columns: repeat(4, 1fr); max-width: none; gap: 32px; }
.card{ border: 1.5px solid var(--navy); border-radius: 6px; padding: 20px; background: var(--cream); display: flex; flex-direction: column; }
.card .photo, .card .ph{
  height: 230px; border-radius: 4px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #e4d2ac, #cdb078);
  color: var(--navy); font-weight: 700; font-size: 14px; letter-spacing: .04em; text-align: center; padding: 10px;
  overflow: hidden;
}
.card img.gbr{
  height: 230px; width: 100%; border-radius: 4px; margin-bottom: 20px;
  object-fit: cover;
}
.card h3{ font-family: 'Playfair Display', serif; font-size: 23px; color: var(--navy); }
.card h3 a{ text-decoration: none; color: inherit; }
.card p{ font-size: 14px; color: var(--muted); margin-top: 6px; }
.card .row{ display: flex; justify-content: space-between; align-items: flex-end; margin-top: auto; padding-top: 14px; }
.card .price{ font-weight: 700; font-size: 15px; }
.card .price small{ font-weight: 500; font-size: 12px; color: var(--muted); }
.card .btn{ padding: 8px 16px; font-size: 13px; border-radius: 6px; }

/* ---------- cta banner ---------- */
.cta{ background: var(--gold); padding: 56px 0; position: relative; overflow: hidden; }
.cta .shell{ display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.cta-text{ text-align: center; }
.cta h2{ font-family: 'Playfair Display', serif; font-style: italic; font-size: clamp(26px, 4vw, 36px); color: var(--navy-deep); }
.cta .btn{ margin-top: 18px; padding: 11px 26px; }
.cup{ width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle at 38% 35%, #fff 0 22%, #e9dcc3 22% 55%, #c69a5f 55%); position: relative; flex-shrink: 0; }
.cup::after{ content: ""; position: absolute; left: 50%; bottom: -14px; transform: translateX(-50%); width: 150px; height: 20px; border-radius: 50%; background: rgba(255,255,255,.55); }
.cta-branch{ position: absolute; left: -10px; top: -10px; width: 180px; opacity: .5; }

/* ---------- Tentang: perjalanan ---------- */
.journey{ background: #fff; padding: 90px 0; text-align: center; }
.journey .body{ max-width: 760px; margin: 28px auto 0; color: var(--muted); line-height: 1.85; font-size: 16px; }
.journey .body p + p{ margin-top: 18px; }

/* ---------- Tentang: linimasa ---------- */
.timeline{ background: var(--cream); padding: 90px 0; }
.timeline-track{ position: relative; max-width: 820px; margin: 56px auto 0; }
.timeline-track::before{ content: ""; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: var(--gold); transform: translateX(-1px); }
.tl-item{ position: relative; width: 46%; margin-bottom: 56px; }
.tl-item::before{
  content: ""; position: absolute; top: 6px; width: 14px; height: 14px;
  border: 2.5px solid var(--gold-deep); background: var(--cream); transform: rotate(45deg);
}
.tl-item.left{ margin-right: auto; text-align: right; }
.tl-item.left::before{ right: -37px; }
.tl-item.right{ margin-left: auto; text-align: left; }
.tl-item.right::before{ left: -37px; }
.tl-item .year{ color: var(--gold-deep); font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 700; }
.tl-item p{ margin-top: 8px; color: var(--muted); font-size: 15px; line-height: 1.6; }
@media (max-width: 720px){
  .timeline-track::before{ left: 10px; }
  .tl-item, .tl-item.left, .tl-item.right{ width: calc(100% - 40px); margin-left: 40px; text-align: left; }
  .tl-item.left::before, .tl-item.right::before{ left: -34px; right: auto; }
}

/* ---------- Tentang: proses kopi ---------- */
.process{ background: var(--navy); color: #fff; padding: 80px 0; }
.process .sect-head h2{ color: #fff; }
.process .sect-head{ justify-content: center; text-align: center; flex-direction: column; align-items: center; margin-bottom: 52px; }
.process-grid{ display: grid; grid-template-columns: repeat(5, 1fr); gap: 24px; }
.process-item .num{ font-family: 'Playfair Display', serif; font-size: 30px; color: var(--gold); font-weight: 700; }
.process-item .photo, .process-item .ph{
  height: 150px; border-radius: 6px; margin: 10px 0 16px;
  background: linear-gradient(160deg, rgba(255,255,255,.18), rgba(255,255,255,.05));
  display: flex; align-items: center; justify-content: center; font-size: 12px; color: #cfcbe8; text-align: center; padding: 8px;
  overflow: hidden;
}
.process-item img.gbr{
  height: 150px; width: 100%; border-radius: 6px; margin: 10px 0 16px;
  object-fit: cover;
}
.process-item h3{ font-size: 16px; font-weight: 700; }
.process-item p{ margin-top: 8px; font-size: 13.5px; color: #cfcbe8; line-height: 1.6; }
@media (max-width: 980px){ .process-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ---------- Toko/Blog: filter ---------- */
.shop-toolbar{ display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.chip{
  padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--navy);
  font-size: 14px; font-weight: 600; text-decoration: none; color: var(--navy);
  display: inline-block;
}
.chip.is-active{ background: var(--navy); color: #fff; }

/* ---------- PDP ---------- */
.pdp{ padding: 56px 0 90px; }
.pdp-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.pdp-gal .main{
  height: 440px; border-radius: 8px;
  background: linear-gradient(160deg, #e4d2ac, #cdb078);
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700;
  overflow: hidden;
}
.pdp-gal .main img{ width: 100%; height: 100%; object-fit: cover; }
.pdp-info .kategori{ color: var(--gold-deep); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.pdp-info h1{ font-family: 'Playfair Display', serif; font-size: 36px; margin-top: 10px; color: var(--navy); }
.pdp-info .harga{ font-size: 26px; font-weight: 700; margin-top: 14px; }
.pdp-info .deskripsi-singkat{ margin-top: 14px; color: var(--muted); line-height: 1.7; }
.pilihan{ margin-top: 26px; }
.pilihan .label{ font-weight: 700; font-size: 14px; margin-bottom: 10px; display: block; }
.pilihan .opsi{ display: flex; gap: 10px; flex-wrap: wrap; }
.pilihan .opsi button{
  padding: 9px 18px; border-radius: 6px; border: 1.5px solid var(--navy); background: #fff;
  font-family: inherit; font-weight: 600; cursor: pointer; font-size: 14px;
}
.pilihan .opsi button.is-aktif{ background: var(--navy); color: #fff; }
.beli-row{ display: flex; gap: 14px; margin-top: 30px; align-items: center; }
.qty{ display: flex; align-items: center; border: 1.5px solid var(--navy); border-radius: 6px; overflow: hidden; }
.qty button{ width: 38px; height: 44px; border: none; background: var(--cream); font-size: 18px; cursor: pointer; font-family: inherit; }
.qty input{ width: 44px; height: 44px; border: none; border-left: 1.5px solid var(--navy); border-right: 1.5px solid var(--navy); text-align: center; font-family: inherit; font-size: 15px; }
.beli-row .btn{ flex: 1; padding: 14px 20px; font-size: 15px; text-align: center; }

.pdp-tabs{ margin-top: 56px; border-top: 1px solid var(--line); padding-top: 36px; }
.pdp-tabs h2{ font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); margin-bottom: 14px; }
.pdp-tabs + .pdp-tabs{ margin-top: 36px; }
.pdp-tabs p, .pdp-tabs li{ color: var(--muted); font-size: 15px; line-height: 1.75; }
.pdp-tabs table{ width: 100%; border-collapse: collapse; margin-top: 8px; }
.pdp-tabs td{ padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.pdp-tabs td:first-child{ font-weight: 700; color: var(--ink); width: 220px; }

/* ---------- Blog ---------- */
.blog-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; }
.blog-card{ text-decoration: none; color: inherit; }
.blog-card .photo, .blog-card .ph{
  height: 190px; border-radius: 6px;
  background: linear-gradient(160deg, #e4d2ac, #cdb078);
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700; font-size: 13px; text-align: center; padding: 10px;
  overflow: hidden;
}
.blog-card img.gbr{
  height: 190px; width: 100%; border-radius: 6px;
  object-fit: cover;
}
.blog-card .tag{ color: var(--gold-deep); font-weight: 700; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; margin-top: 16px; display: block; }
.blog-card h3{ font-family: 'Playfair Display', serif; font-size: 20px; margin-top: 8px; color: var(--navy); }
.blog-card p{ margin-top: 8px; font-size: 14px; color: var(--muted); line-height: 1.6; }
.blog-card .meta{ margin-top: 10px; font-size: 12.5px; color: var(--muted); }
@media (max-width: 900px){ .blog-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px){ .blog-grid{ grid-template-columns: 1fr; } }

/* ---------- article ---------- */
.article{ padding: 56px 0 90px; max-width: 760px; margin: 0 auto; padding-left: 40px; padding-right: 40px; }
.article .breadcrumb{ font-size: 13px; }
.article .breadcrumb a{ text-decoration: none; }
.article .meta{ color: var(--gold-deep); font-weight: 700; font-size: 13px; letter-spacing: .06em; text-transform: uppercase; }
.article h1{ font-family: 'Playfair Display', serif; font-size: 40px; margin-top: 12px; color: var(--navy); }
.article .sub-meta{ margin-top: 10px; color: var(--muted); font-size: 14px; }
.article .cover{
  height: 340px; border-radius: 8px; margin-top: 30px;
  background: linear-gradient(160deg, #e4d2ac, #cdb078);
  display: flex; align-items: center; justify-content: center; color: var(--navy); font-weight: 700;
  overflow: hidden;
}
.article .cover img{ width: 100%; height: 100%; object-fit: cover; }
.article .body{ margin-top: 34px; color: var(--ink); line-height: 1.9; font-size: 16.5px; }
.article .body p + p{ margin-top: 20px; }
.article .body h2, .article .body .artikel__subjudul{ font-family: 'Playfair Display', serif; font-size: 24px; margin-top: 36px; margin-bottom: 14px; color: var(--navy); }
.article blockquote, .article .artikel__kutip blockquote{
  border-left: 3px solid var(--gold); padding: 6px 0 6px 22px; margin: 28px 0;
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 19px; color: var(--navy);
}
.article-tags{ margin-top: 40px; display: flex; gap: 10px; flex-wrap: wrap; }
.article-tags .chip{ font-size: 13px; padding: 6px 16px; }

/* ---------- section blog (beranda) ---------- */
.section-blog{ background: #fff; padding: 90px 0; }

/* ---------- kontak ---------- */
.kontak-isi{ padding: 80px 0; }
.kontak-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; text-align: center; }
.kontak-blok{ padding: 40px 24px; border-radius: 10px; background: var(--cream); }
.kontak-blok svg{ margin: 0 auto 16px; }
.kontak-blok h3{ font-family: 'Playfair Display', serif; font-size: 22px; color: var(--navy); }
.kontak-blok p{ margin-top: 10px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.kontak-blok .btn{ margin-top: 18px; }
@media (max-width: 760px){ .kontak-grid{ grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
footer.site{ background: var(--navy-deep); color: #fff; padding: 60px 0 26px; }
.foot-grid{ display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 30px; }
.foot-logo{ font-family: 'Playfair Display', serif; font-size: 28px; color: var(--gold); text-decoration: none; }
.foot-logo em{ font-style: italic; font-weight: 700; }
.foot-tag{ margin-top: 14px; font-size: 14px; line-height: 1.6; color: #cfd0e8; }
footer.site h4{ font-size: 14px; margin-bottom: 14px; color: #cfd0e8; }
footer.site ul{ font-size: 14px; line-height: 2; color: #d8d9ee; }
footer.site a{ text-decoration: none; }
.foot-social{ display: flex; gap: 14px; margin-top: 6px; }
.foot-social a{ color: #cfd0e8; }
.foot-social a:hover{ color: var(--gold); }
.foot-bottom{ border-top: 1px solid rgba(255,255,255,.15); margin-top: 44px; padding-top: 20px; display: flex; gap: 30px; font-size: 13px; color: #cfd0e8; flex-wrap: wrap; }

/* ---------- WhatsApp fab ---------- */
.wa-fab{
  position: fixed; bottom: 28px; right: 28px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: transform .2s;
}
.wa-fab:hover{ transform: scale(1.08); }
.wa-fab svg{ width: 28px; height: 28px; }

/* ---------- responsif ---------- */
@media (max-width: 760px) {
  .shell{ padding: 0 20px; }
  header.site nav.main{ display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: var(--navy-deep); z-index: 200; flex-direction: column; align-items: center; justify-content: center; }
  header.site nav.main.is-open{ display: flex; }
  header.site nav.main ul{ flex-direction: column; gap: 24px; text-align: center; }
  header.site nav.main a{ font-size: 22px; }
  .burger{ display: block; z-index: 210; }
  .hide-mobile{ display: none; }
  .prod-grid{ grid-template-columns: 1fr; }
  .prod-grid.wide{ grid-template-columns: 1fr 1fr; }
  .foot-grid{ grid-template-columns: 1fr 1fr; }
  .branch{ display: none; }
  .pdp-grid{ grid-template-columns: 1fr; }
  .blog-grid{ grid-template-columns: 1fr; }
  .article{ padding-left: 20px; padding-right: 20px; }
}
