/* ============================================================
   OurKampung — Modern-luxe party planning
   Warm neutrals, sage + terracotta accents, editorial serif display
   ============================================================ */

:root {
  /* Surfaces — warm ivory / linen */
  --bg:            #F6F2EA;
  --surface:       #FBF8F1;
  --surface-alt:   #EFE8DB;
  --border:        #E1D8C7;
  --border-soft:   #ECE4D5;

  /* Ink */
  --ink:           #2C2A24;
  --ink-soft:      #55514733;
  --muted:         #7C766A;
  --faint:         #A8A090;

  /* Accents */
  --sage:          #7E8A6E;   /* primary botanical */
  --sage-deep:     #5F6B50;
  --terra:         #B0663F;   /* warm terracotta CTA */
  --terra-deep:    #97522F;
  --gold:          #B79A5B;   /* refined gold detail */
  --blush:         #D8B7A6;

  /* Type */
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body:    'Satoshi', -apple-system, BlinkMacSystemFont, sans-serif;

  --text-hero:  clamp(2.9rem, 6.5vw, 5.6rem);
  --text-2xl:   clamp(2.1rem, 4.2vw, 3.4rem);
  --text-xl:    clamp(1.5rem, 2.6vw, 2.1rem);
  --text-lg:    1.25rem;
  --text-base:  1.0625rem;
  --text-sm:    0.9375rem;
  --text-xs:    0.8125rem;

  /* Space */
  --sp-section: clamp(4.5rem, 9vw, 8.5rem);
  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;

  --shadow-sm: 0 1px 3px rgba(44,42,36,.06), 0 6px 20px rgba(44,42,36,.05);
  --shadow-md: 0 10px 40px rgba(44,42,36,.10);
  --shadow-lg: 0 24px 70px rgba(44,42,36,.14);

  --ease: cubic-bezier(.16,1,.3,1);
  --maxw: 1200px;
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--text-base);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 500; line-height: 1.08; letter-spacing: -0.01em; }
::selection { background: var(--sage); color: #fff; }

.wrap { width: min(100% - 2.5rem, var(--maxw)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 780px); margin-inline: auto; }

/* ---------- Kicker / eyebrow ---------- */
.kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  display: inline-flex; align-items: center; gap: .6rem;
}
.kicker::before { content:""; width: 26px; height: 1px; background: var(--gold); display:inline-block; }
.kicker.center::after { content:""; width: 26px; height: 1px; background: var(--gold); display:inline-block; }
.kicker.center { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600;
  padding: .95rem 1.6rem; border-radius: 100px; cursor: pointer;
  border: 1px solid transparent; transition: all .35s var(--ease); white-space: nowrap;
}
.btn-primary { background: var(--terra); color: #fff; }
.btn-primary:hover { background: var(--terra-deep); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(151,82,47,.28); }
.btn-dark { background: var(--ink); color: var(--surface); }
.btn-dark:hover { background: #423f36; transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(44,42,36,.03); }
.btn-wa { background: #128C7E; color:#fff; }
.btn-wa:hover { background:#0e6b60; transform: translateY(-2px); box-shadow:0 12px 26px rgba(18,140,126,.28); }
.btn svg { width: 18px; height: 18px; }
.btn-lg { padding: 1.1rem 2rem; font-size: var(--text-base); }

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(246,242,234,.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.header.scrolled { border-color: var(--border-soft); background: rgba(246,242,234,.94); }
.nav { display:flex; align-items:center; justify-content:space-between; height: 76px; }
.brand { display:flex; align-items:center; gap:.6rem; }
.brand .logo-mark { width: 34px; height: 34px; color: var(--sage-deep); }
.brand .logo-txt { font-family: var(--font-display); font-size: 1.4rem; font-weight: 600; letter-spacing: -.02em; }
.brand .logo-txt em { font-style: italic; color: var(--terra); }

.nav-links { display:flex; align-items:center; gap: 2rem; list-style:none; }
.nav-links a { font-size: var(--text-sm); font-weight: 500; color: var(--ink); position: relative; transition: color .25s; }
.nav-links a::after { content:""; position:absolute; left:0; bottom:-5px; width:0; height:1.5px; background: var(--terra); transition: width .3s var(--ease); }
.nav-links a:hover { color: var(--terra); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--terra); }
.nav-cta { display:flex; align-items:center; gap:.75rem; }

.burger { display:none; background:none; border:none; cursor:pointer; width:44px; height:44px; flex-direction:column; justify-content:center; gap:5px; }
.burger span { width:24px; height:2px; background: var(--ink); border-radius:2px; transition: .3s var(--ease); }
.burger.open span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity:0; }
.burger.open span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: 76px 0 auto 0; background: var(--surface);
  border-bottom: 1px solid var(--border); padding: 1.5rem 1.25rem 2rem;
  transform: translateY(-120%); transition: transform .4s var(--ease); z-index: 99;
  display:none; flex-direction:column; gap:.25rem;
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu a { padding: .85rem .5rem; font-size: 1.1rem; font-weight: 500; border-bottom: 1px solid var(--border-soft); }
.mobile-menu .btn { margin-top: 1rem; }

/* ============================================================
   HERO
   ============================================================ */
.hero { padding: clamp(3rem,6vw,5.5rem) 0 clamp(3.5rem,7vw,6rem); }
.hero-grid { display:grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem,5vw,4.5rem); align-items:center; }
.hero-copy .kicker { margin-bottom: 1.4rem; }
.hero h1 { font-size: var(--text-hero); font-weight: 500; margin-bottom: 1.4rem; }
.hero h1 em { font-style: italic; color: var(--terra); }
.hero-lede { font-size: var(--text-lg); color: var(--muted); max-width: 30ch; margin-bottom: 2.2rem; }
.hero-actions { display:flex; gap: .9rem; flex-wrap: wrap; }
.hero-trust { margin-top: 2.6rem; display:flex; align-items:center; gap: 1.5rem; flex-wrap:wrap; }
.hero-trust .stars { color: var(--gold); font-size: 1rem; letter-spacing:2px; }
.hero-trust small { font-size: var(--text-xs); color: var(--muted); }
.hero-visual { position: relative; }
.hero-visual img { width:100%; height: clamp(400px, 52vw, 620px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position:absolute; bottom: -22px; left: -22px; background: var(--surface);
  border-radius: var(--radius); padding: 1rem 1.25rem; box-shadow: var(--shadow-md);
  display:flex; align-items:center; gap:.85rem; border: 1px solid var(--border-soft);
}
.hero-badge .hb-icon { width: 42px; height:42px; border-radius: 50%; background: var(--surface-alt); display:grid; place-items:center; color: var(--sage-deep); }
.hero-badge .hb-icon svg { width: 22px; height:22px; }
.hero-badge strong { display:block; font-family: var(--font-display); font-size: 1.15rem; }
.hero-badge span { font-size: var(--text-xs); color: var(--muted); }

/* Logo marquee */
.marquee-band { border-block: 1px solid var(--border-soft); padding: 1.6rem 0; }
.marquee-band p { text-align:center; font-size: var(--text-xs); letter-spacing:.18em; text-transform:uppercase; color: var(--faint); }
.marquee-row { display:flex; justify-content:center; gap: clamp(1.5rem,4vw,3.5rem); flex-wrap:wrap; margin-top: 1rem; }
.marquee-row span { font-family: var(--font-display); font-style: italic; font-size: 1.15rem; color: var(--muted); }

/* ============================================================
   SECTIONS — generic
   ============================================================ */
section { position: relative; }
.section { padding: var(--sp-section) 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head.center { margin-inline:auto; text-align:center; }
.section-head .kicker { margin-bottom: 1rem; }
.section-head h2 { font-size: var(--text-2xl); margin-bottom: 1rem; }
.section-head h2 em { font-style: italic; color: var(--terra); }
.section-head p { color: var(--muted); font-size: var(--text-lg); }

/* ---------- Value / convenience cards ---------- */
.value-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 1.25rem; }
.value-card { background: var(--surface); border:1px solid var(--border-soft); border-radius: var(--radius); padding: 2rem 1.75rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.value-card .v-icon { width:52px; height:52px; border-radius: 14px; background: var(--surface-alt); display:grid; place-items:center; color: var(--sage-deep); margin-bottom: 1.4rem; }
.value-card .v-icon svg { width: 26px; height:26px; }
.value-card h3 { font-size: var(--text-xl); margin-bottom: .6rem; }
.value-card p { color: var(--muted); font-size: var(--text-sm); }

/* ---------- Services grid ---------- */
.svc-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.svc-card { border-radius: var(--radius); overflow:hidden; background: var(--surface); border:1px solid var(--border-soft); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.svc-card .svc-img { position:relative; aspect-ratio: 4/3; overflow:hidden; }
.svc-card .svc-img img { width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-img img { transform: scale(1.05); }
.svc-body { padding: 1.5rem 1.5rem 1.75rem; }
.svc-body h3 { font-size: var(--text-xl); margin-bottom: .5rem; }
.svc-body p { color: var(--muted); font-size: var(--text-sm); margin-bottom: 1rem; }
.svc-tags { display:flex; flex-wrap:wrap; gap:.4rem; }
.tag { font-size: var(--text-xs); padding: .3rem .7rem; border-radius: 100px; background: var(--surface-alt); color: var(--ink); border:1px solid var(--border-soft); }

/* ---------- Split feature ---------- */
.split { display:grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4.5rem); align-items:center; }
.split.rev .split-media { order: 2; }
.split-media img { width:100%; height: clamp(340px,42vw,520px); object-fit: cover; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.split-copy h2 { font-size: var(--text-2xl); margin-bottom: 1.2rem; }
.split-copy h2 em { font-style: italic; color: var(--terra); }
.split-copy > p { color: var(--muted); margin-bottom: 1.6rem; }
.feature-list { list-style:none; display:flex; flex-direction:column; gap: 1rem; margin-bottom: 2rem; }
.feature-list li { display:flex; gap: .9rem; align-items:flex-start; }
.feature-list .fl-check { flex-shrink:0; width:26px; height:26px; border-radius:50%; background: var(--sage); color:#fff; display:grid; place-items:center; margin-top:1px; }
.feature-list .fl-check svg { width:15px; height:15px; }
.feature-list strong { display:block; font-family: var(--font-display); font-size: var(--text-lg); font-weight:500; }
.feature-list span { color: var(--muted); font-size: var(--text-sm); }

/* ---------- Steps (How it works) ---------- */
.steps { display:grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; counter-reset: step; }
.step { background: var(--surface); border:1px solid var(--border-soft); border-radius: var(--radius); padding: 2rem 1.5rem; position:relative; }
.step .step-num { font-family: var(--font-display); font-size: 2.6rem; color: var(--blush); line-height:1; margin-bottom: 1rem; }
.step h3 { font-size: var(--text-lg); margin-bottom: .5rem; }
.step p { color: var(--muted); font-size: var(--text-sm); }

/* ---------- Themes ---------- */
.theme-grid { display:grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; }
.theme-card { position:relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow:hidden; box-shadow: var(--shadow-sm); }
.theme-card img { width:100%; height:100%; object-fit:cover; transition: transform .7s var(--ease); }
.theme-card:hover img { transform: scale(1.06); }
.theme-card::after { content:""; position:absolute; inset:0; background: linear-gradient(to top, rgba(28,26,20,.72) 0%, rgba(28,26,20,.1) 45%, transparent 70%); }
.theme-card .tc-label { position:absolute; left:1.1rem; bottom:1.1rem; z-index:2; color:#fff; }
.theme-card .tc-label strong { font-family: var(--font-display); font-size: 1.35rem; font-weight:500; display:block; }
.theme-card .tc-label span { font-size: var(--text-xs); opacity:.85; }

/* ---------- Events pills ---------- */
.event-grid { display:grid; grid-template-columns: repeat(3,1fr); gap:1rem; }
.event-item { background: var(--surface); border:1px solid var(--border-soft); border-radius: var(--radius-sm); padding: 1.5rem; display:flex; gap:1rem; align-items:flex-start; transition: border-color .3s, transform .3s var(--ease); }
.event-item:hover { border-color: var(--sage); transform: translateY(-3px); }
.event-item .e-icon { flex-shrink:0; width:44px;height:44px;border-radius:12px;background:var(--surface-alt);display:grid;place-items:center;color:var(--sage-deep); }
.event-item .e-icon svg { width:22px;height:22px; }
.event-item h3 { font-size: var(--text-lg); margin-bottom:.25rem; }
.event-item p { font-size: var(--text-sm); color: var(--muted); }

/* ---------- Testimonials ---------- */
.testi-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 1.4rem; }
.testi-card { background: var(--surface); border:1px solid var(--border-soft); border-radius: var(--radius); padding: 2rem 1.75rem; }
.testi-card .stars { color: var(--gold); letter-spacing:2px; margin-bottom: 1rem; font-size:.95rem; }
.testi-card blockquote { font-family: var(--font-display); font-size: 1.2rem; line-height:1.4; margin-bottom: 1.4rem; }
.testi-card .who { display:flex; align-items:center; gap:.75rem; }
.testi-card .who .av { width:40px;height:40px;border-radius:50%;background:var(--surface-alt);display:grid;place-items:center;font-family:var(--font-display);color:var(--sage-deep);font-size:1rem; }
.testi-card .who strong { font-size: var(--text-sm); display:block; font-family:var(--font-body); font-weight:600; }
.testi-card .who span { font-size: var(--text-xs); color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--surface); border-radius: var(--radius-lg); padding: clamp(3rem,6vw,5rem) clamp(1.5rem,5vw,4.5rem); text-align:center; position:relative; overflow:hidden; }
.cta-band::before { content:""; position:absolute; width:420px;height:420px; border-radius:50%; background: radial-gradient(circle, rgba(176,102,63,.28), transparent 70%); top:-160px; right:-100px; }
.cta-band::after { content:""; position:absolute; width:360px;height:360px; border-radius:50%; background: radial-gradient(circle, rgba(126,138,110,.28), transparent 70%); bottom:-160px; left:-80px; }
.cta-band .kicker { color: var(--gold); position:relative; }
.cta-band h2 { font-size: var(--text-2xl); margin: 1rem 0 1.2rem; position:relative; }
.cta-band h2 em { font-style:italic; color: var(--blush); }
.cta-band p { color: rgba(251,248,241,.72); max-width: 46ch; margin: 0 auto 2rem; position:relative; }
.cta-actions { display:flex; gap:.9rem; justify-content:center; flex-wrap:wrap; position:relative; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--surface); border-top:1px solid var(--border); padding: clamp(3rem,6vw,5rem) 0 2rem; margin-top: var(--sp-section); }
.footer-grid { display:grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.footer .brand { margin-bottom: 1rem; }
.footer-about p { color: var(--muted); font-size: var(--text-sm); max-width: 34ch; margin-bottom: 1.2rem; }
.footer h4 { font-family: var(--font-body); font-size: var(--text-xs); letter-spacing:.14em; text-transform:uppercase; color: var(--faint); margin-bottom: 1.1rem; }
.footer ul { list-style:none; display:flex; flex-direction:column; gap:.7rem; }
.footer ul a { font-size: var(--text-sm); color: var(--muted); transition: color .25s; }
.footer ul a:hover { color: var(--terra); }
.footer-bottom { border-top:1px solid var(--border-soft); padding-top: 1.5rem; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; }
.footer-bottom p { font-size: var(--text-xs); color: var(--faint); }
.social { display:flex; gap:.6rem; }
.social a { width:36px;height:36px;border-radius:50%;border:1px solid var(--border);display:grid;place-items:center;color:var(--muted);transition:.3s var(--ease); }
.social a:hover { border-color:var(--terra); color:var(--terra); transform:translateY(-2px); }
.social svg { width:17px;height:17px; }

/* ============================================================
   PAGE HEADER (interior)
   ============================================================ */
.page-hero { padding: clamp(3.5rem,7vw,6rem) 0 clamp(2.5rem,5vw,4rem); text-align:center; }
.page-hero .kicker { margin-bottom: 1.2rem; }
.page-hero h1 { font-size: var(--text-2xl); max-width: 18ch; margin: 0 auto 1.2rem; }
.page-hero h1 em { font-style:italic; color: var(--terra); }
.page-hero p { color: var(--muted); font-size: var(--text-lg); max-width: 56ch; margin: 0 auto; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float { position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height:58px; border-radius:50%; background:#25D366; display:grid; place-items:center; box-shadow: 0 8px 26px rgba(37,211,102,.4); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height:30px; color:#fff; }

/* ============================================================
   INTERIOR PAGE COMPONENTS
   ============================================================ */
.narrow { width: min(100% - 2.5rem, 820px); margin-inline: auto; }

/* steps flow (how it works) */
.steps-flow { max-width: 860px; margin-inline:auto; display:flex; flex-direction:column; gap: clamp(1.4rem,3vw,2.2rem); }
.step-row { display:grid; grid-template-columns: auto 1fr; gap: clamp(1.4rem,3vw,2.4rem); align-items:start; padding: clamp(1.6rem,3vw,2.2rem); background: var(--surface); border:1px solid var(--surface-alt); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.step-row .step-num { font-family: var(--font-display); font-size: clamp(2.4rem,5vw,3.4rem); color: var(--blush); line-height:.9; }
.step-content h3 { font-size: var(--text-xl); margin-bottom:.5rem; }
.step-content p { color: var(--muted); line-height:1.7; }

/* faq */
.faq { display:flex; flex-direction:column; gap:.9rem; margin-top: 2rem; }
.faq details { background: var(--surface); border:1px solid var(--surface-alt); border-radius: var(--radius); padding: 1.15rem 1.4rem; transition: box-shadow .3s var(--ease); }
.faq details[open] { box-shadow: var(--shadow-sm); }
.faq summary { font-family: var(--font-display); font-weight:500; font-size: var(--text-lg); cursor:pointer; list-style:none; display:flex; justify-content:space-between; align-items:center; gap:1rem; color: var(--ink); }
.faq summary::-webkit-details-marker { display:none; }
.faq summary::after { content:'+'; font-size:1.6rem; color: var(--terra); font-family: var(--font-body); line-height:1; transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); line-height:1.7; margin-top:.9rem; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity:0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity:1; transform:none; }
.reveal.d1{transition-delay:.08s}.reveal.d2{transition-delay:.16s}.reveal.d3{transition-delay:.24s}.reveal.d4{transition-delay:.32s}

@media (prefers-reduced-motion: reduce){
  .reveal{opacity:1;transform:none;transition:none}
  html{scroll-behavior:auto}
  *{animation:none!important}
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px){
  .hero-grid{grid-template-columns:1fr; gap:2.5rem}
  .hero-visual img{height:clamp(340px,60vw,460px)}
  .value-grid,.svc-grid,.testi-grid,.event-grid{grid-template-columns:repeat(2,1fr)}
  .steps,.theme-grid{grid-template-columns:repeat(2,1fr)}
  .footer-grid{grid-template-columns:1fr 1fr; gap:2rem}
}
@media (max-width: 720px){
  .nav-links{display:none}
  .nav-cta{display:none}
  .burger{display:flex}
  .mobile-menu{display:flex}
  .hero-actions .btn{flex:1}
  .value-grid,.svc-grid,.testi-grid,.event-grid,.steps,.theme-grid{grid-template-columns:1fr}
  .split,.split.rev{grid-template-columns:1fr}
  .split.rev .split-media{order:0}
  .footer-grid{grid-template-columns:1fr 1fr}
  .hero-badge{left:0}
  .step-row{grid-template-columns:1fr; gap:.6rem}
}
@media (max-width:460px){
  .footer-grid{grid-template-columns:1fr}
  .theme-grid{grid-template-columns:1fr 1fr}
}
