/* ===== WARNA & PENGATURAN DASAR =====
   Ubah warna situs di sini. Blok mode gelap ada tepat di bawahnya. */
:root {
  --bg: #fbf3ea;
  --wood: #f1dcc6;
  --ink: #2f3a2c;
  --muted: #66705f;
  --line: #e2cdb4;
  --olive: #56694f;
  --olive-deep: #44563f;
  --gold: #d3a24f;
  --gold-text: #8a5d1c;
  --on-olive: #f6ead6;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1b2318;
    --wood: #26301f;
    --ink: #f3e8d3;
    --muted: #b4bda9;
    --line: #3a4733;
    --olive: #4c6046;
    --olive-deep: #3a4b35;
    --gold-text: #e0b567;
  }
}

:root[data-theme="dark"] {
  --bg: #1b2318;
  --wood: #26301f;
  --ink: #f3e8d3;
  --muted: #b4bda9;
  --line: #3a4733;
  --olive: #4c6046;
  --olive-deep: #3a4b35;
  --gold-text: #e0b567;
}

/* ===== GAYA UMUM ===== */
html {
  scroll-padding-top: env(safe-area-inset-top, 0px);
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 1.0625rem/1.65 "Nunito Sans", system-ui, sans-serif;
}

h1,
h2,
h3 {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  line-height: 1.12;
  margin: 0;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--gold-text);
  outline-offset: 3px;
}

.wrap {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 80px 0;
}

h2 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.lead {
  color: var(--muted);
  max-width: 56ch;
  margin: 0 0 36px;
}

/* ===== HEADER & NAVIGASI ===== */
header.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 16px;
  flex-wrap: wrap;
}

.brand {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.6rem;
  color: var(--gold-text);
  text-decoration: none;
}

nav {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
}

nav a:hover {
  color: var(--ink);
}

/* ===== TOMBOL ===== */
.btn {
  display: inline-block;
  background: var(--olive);
  color: var(--on-olive);
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.btn:hover {
  background: var(--olive-deep);
}

.btn.ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--olive);
}

/* Jarak antar tombol di hero (tetap rapi saat tombol turun ke baris kedua) */
.hero .copy .btn {
  margin: 0 10px 12px 0;
}

.btn.ghost:hover {
  background: var(--wood);
}

/* ===== HERO (bagian paling atas, dengan logo lengkung) ===== */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: end;
  padding: 32px 0 0;
}

.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 46ch;
  margin: 0 0 28px;
}

.hero .copy {
  padding-bottom: 56px;
}

.arch {
  position: relative;
  background: var(--olive);
  border-radius: 999px 999px 0 0;
  aspect-ratio: 3/4;
  max-width: 430px;
  width: 100%;
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  padding: 24px;
}

.arch::after {
  content: "";
  position: absolute;
  inset: 12px 12px 0;
  border: 1.5px solid rgba(246, 234, 214, .4);
  border-bottom: 0;
  border-radius: 999px 999px 0 0;
  pointer-events: none;
}

.logo-name {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(3rem, 8vw, 4.6rem);
  line-height: 1;
  background: linear-gradient(170deg, #f0cf8a, #c6923e 55%, #a9742a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: glint 1.6s ease-out both;
}

.logo-sub {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: clamp(.9rem, 2.2vw, 1.1rem);
  letter-spacing: .12em;
  color: var(--gold);
}

.leaf {
  width: 30px;
  height: 18px;
  fill: var(--gold);
}

.leaf.r {
  transform: scaleX(-1);
}

/* Animasi kilau pada tulisan logo */
/* Animasi kilau pada tulisan logo */
@keyframes glint {
  from {
    opacity: 0;
    filter: brightness(1.8);
  }
  to {
    opacity: 1;
    filter: none;
  }
}

/* ===== LAYANAN & HARGA ===== */
#layanan {
  background: var(--wood);
}

.menu {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px 56px;
}

.menu h3 {
  font-size: 1.45rem;
  margin: 22px 0 6px;
  color: var(--gold-text);
}

.row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.row small {
  display: block;
  color: var(--muted);
  font-size: .9rem;
}

.row .p {
  white-space: nowrap;
  font-weight: 600;
}

/* ===== TENTANG KAMI ===== */
.about {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}

.facts {
  display: grid;
  gap: 18px;
}

.fact {
  border-left: 3px solid var(--gold);
  padding-left: 16px;
}

.fact b {
  display: block;
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 1.3rem;
}

.fact span {
  color: var(--muted);
}

/* ===== TESTIMONI ===== */
#testimoni {
  background: var(--olive);
  color: var(--on-olive);
}

.testi-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.testi-head h2 {
  margin: 0;
}

.score {
  display: flex;
  align-items: center;
  gap: 16px;
}

.score b {
  font-family: "DM Serif Display", Georgia, serif;
  font-weight: 400;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold);
}

.stars {
  color: var(--gold);
  letter-spacing: .14em;
  font-size: 1.15rem;
}

.score small {
  display: block;
  opacity: .85;
  font-size: .92rem;
}

.t-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 64px;
}

.t-grid figure {
  margin: 0;
}

.t-main {
  position: relative;
  padding-top: 60px;
}

.t-main::before {
  content: "\201C";
  position: absolute;
  top: -6px;
  left: -4px;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 8rem;
  line-height: 1;
  color: var(--gold);
}

blockquote {
  margin: 0;
  font-family: "DM Serif Display", Georgia, serif;
  line-height: 1.4;
  font-size: 1.2rem;
}

.t-main blockquote {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  line-height: 1.3;
}

.t-side {
  display: grid;
  align-content: center;
}

.t-side figure {
  padding: 26px 0;
  border-top: 1px solid rgba(246, 234, 214, .3);
}

.t-side figure:first-child {
  border-top: 0;
  padding-top: 0;
}

.who {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
}

.who .t-av {
  opacity: 1;
  font-size: 1rem;
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--gold);
  color: #3a4b35;
  display: grid;
  place-items: center;
  font-weight: 600;
}

.who b {
  display: block;
  font-weight: 600;
}

.who span {
  display: block;
  font-size: .92rem;
  opacity: .85;
}

/* Testimoni: jadi satu kolom di layar kecil */
@media (max-width: 780px) {
  .t-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .t-main {
    padding-top: 52px;
  }
  .t-side figure:first-child {
    border-top: 1px solid rgba(246, 234, 214, .3);
    padding-top: 26px;
  }
}

/* ===== KONTAK & JAM BUKA ===== */
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

dl {
  margin: 0;
}

dt {
  font-weight: 600;
  margin-top: 18px;
}

dd {
  margin: 2px 0 0;
  color: var(--muted);
}

.hours {
  width: 100%;
  border-collapse: collapse;
}

.hours td {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.hours td:last-child {
  text-align: right;
  font-weight: 600;
}

/* ===== FOOTER ===== */
footer.end {
  padding: 28px 0 40px;
  color: var(--muted);
  font-size: .95rem;
  border-top: 1px solid var(--line);
}

/* ===== TAMPILAN HP & TABLET (bagian lainnya) ===== */
@media (max-width: 780px) {
  section {
    padding: 56px 0;
  }
  .hero,
  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .hero .copy {
    padding-bottom: 0;
  }
  .arch {
    margin: 0 auto;
  }
}

/* ===== MATIKAN ANIMASI JIKA PENGGUNA MEMINTA ===== */
@media (prefers-reduced-motion: reduce) {
  .logo-name {
    animation: none;
  }
  html {
    scroll-behavior: auto;
  }
}
