/* =========================================================
   NGOENDANG TAMOE — STYLE (V2)
   ========================================================= */

:root {
  --cream: #f2ebdd;
  --white: #fbf8f2;
  --black: #211a16;
  --brown-deep: #4e3324;
  --brown-mid: #8c6a46;
  --brown-light: #c9b091;
  --brown-soft: rgba(140, 106, 70, 0.16);

  --font: "Montserrat", "Segoe UI", sans-serif;
  --radius: 2px;
  --max-width: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--black);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--brown-mid);
  margin: 0 0 10px;
}

h1, h2, h3 {
  font-family: var(--font);
  font-weight: 700;
  color: var(--brown-deep);
  margin: 0;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  line-height: 1.25;
}

.section-head {
  max-width: 620px;
  margin-bottom: 42px;
}

.section-head p {
  color: var(--black);
  opacity: 0.75;
  margin: 12px 0 0;
  max-width: 46ch;
}

section {
  padding: 88px 0;
}

.section-alt {
  background: var(--white);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  transition: transform 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.btn:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brown-deep);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--brown-deep);
  color: var(--white);
}

.btn-primary:hover {
  transform: translateY(-1px);
  background: #3c271b;
}

.btn-outline {
  background: transparent;
  color: var(--brown-deep);
  border: 1.5px solid var(--brown-deep);
}

.btn-outline:hover {
  background: var(--brown-deep);
  color: var(--white);
}

.btn-wa {
  background: var(--black);
  color: var(--cream);
}

.btn-wa:hover {
  transform: translateY(-1px);
  background: var(--brown-deep);
}

.btn-wa svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.btn-block {
  width: 100%;
  justify-content: center;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(242, 235, 221, 0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--brown-light);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  padding-bottom: 18px;
}

.logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brown-deep);
  letter-spacing: 0.01em;
}

.logo span {
  color: var(--brown-mid);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--black);
  opacity: 0.8;
}

.nav-links a:hover {
  opacity: 1;
}

.nav-toggle {
  display: none;
  padding: 6px;
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 22px;
  height: 2px;
  background: var(--brown-deep);
  margin: 5px 0;
}

/* ---------- hero ---------- */

.hero {
  padding: 96px 0 104px;
  text-align: center;
}

.hero-copy {
  max-width: 760px;
  margin: 0 auto;
}

.hero-copy h1 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.15;
}

.hero-copy p {
  margin: 20px auto 30px;
  max-width: 52ch;
  opacity: 0.78;
}

.hero-copy p.eyebrow {
  margin: 0 0 10px;
  opacity: 1;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ---------- alasan / why us ---------- */

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.reason {
  position: relative;
  padding: 26px 22px;
  border: 1px solid var(--brown-light);
}

.reason .num {
  font-weight: 800;
  color: var(--brown-light);
  font-size: 1.6rem;
  display: block;
  margin-bottom: 10px;
}

.reason h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.reason p {
  margin: 0;
  font-size: 0.92rem;
  opacity: 0.75;
}

/* ---------- fitur ---------- */

.features-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.features-grid li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px 18px;
  border: 1px solid var(--brown-light);
  background: var(--white);
  font-size: 0.94rem;
  font-weight: 500;
}

.features-grid li::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  margin-top: 8px;
  background: var(--brown-mid);
  transform: rotate(45deg);
}

/* ---------- tema tabs ---------- */

.tabs-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--brown-light);
  margin-bottom: 30px;
}

.tab-btn {
  padding: 12px 18px;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--black);
  opacity: 0.6;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-btn[aria-selected="true"] {
  opacity: 1;
  color: var(--brown-deep);
  border-bottom-color: var(--brown-deep);
}

.theme-list {
  display: grid;
  gap: 14px;
}

.theme-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  border: 1px solid var(--brown-light);
  background: var(--white);
}

.theme-row-info {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.theme-thumb {
  width: 52px;
  height: 52px;
  flex: none;
  object-fit: cover;
  border: 1px solid var(--brown-light);
}

.theme-name {
  font-weight: 700;
  color: var(--brown-deep);
  font-size: 1rem;
}

.theme-meta {
  font-size: 0.82rem;
  opacity: 0.65;
  margin-top: 2px;
}

.theme-thumb-empty {
  background: var(--brown-soft);
}

/* ---------- CTA penutup ---------- */

.cta-final {
  text-align: center;
}

.cta-final .container {
  max-width: 640px;
}

.cta-final h2 {
  margin-bottom: 14px;
}

.cta-final p {
  opacity: 0.75;
  margin: 0 0 28px;
}

.cta-final .hero-actions {
  justify-content: center;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--brown-deep);
  color: var(--cream);
  padding: 46px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(242, 235, 221, 0.25);
}

.footer-brand {
  font-size: 1.2rem;
  font-weight: 800;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-links a {
  opacity: 0.85;
}

.footer-links a:hover {
  opacity: 1;
}

.footer-bottom {
  padding-top: 20px;
  font-size: 0.82rem;
  opacity: 0.7;
}

/* ---------- modal ---------- */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 26, 22, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 100;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-box {
  background: var(--white);
  max-width: 440px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  border: 1.5px solid var(--brown-deep);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  color: var(--brown-deep);
  background: var(--white);
  border: 1px solid var(--brown-light);
  z-index: 2;
}

.modal-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-bottom: 1px solid var(--brown-light);
}

.modal-body {
  padding: 24px 26px 28px;
}

.modal-package-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  background: var(--brown-soft);
  color: var(--brown-deep);
  margin-bottom: 10px;
}

.modal-body h3 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 20px;
}

.modal-price-normal {
  opacity: 0.55;
  text-decoration: line-through;
  font-size: 0.95rem;
}

.modal-price-final {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--brown-deep);
}

/* ---------- floating whatsapp ---------- */

.wa-float {
  position: fixed;
  bottom: 22px;
  right: 22px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--black);
  color: var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
  box-shadow: 0 4px 14px rgba(0,0,0,.25);
}

.wa-float svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* ---------- responsive ---------- */

@media (max-width: 860px) {
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid var(--brown-light);
    flex-direction: column;
    padding: 18px 24px;
    display: none;
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-toggle {
    display: block;
  }
  section {
    padding: 60px 0;
  }
  .hero {
    padding: 64px 0 72px;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .theme-row {
    flex-direction: column;
    align-items: stretch;
  }
  .theme-row .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
