/* =========================================================
   BROMO HAPPY · Biolink — Design Tokens
   Konsep: "Sunrise Horizon" — gradasi jingga-emas ala matahari
   terbit Bromo di atas biru malam pegunungan, dengan siluet
   gunung diam di latar dan kabut partikel yang melayang pelan.
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root{
  --bg: #081526;
  --bg-elev: #0e2136;
  --surface: rgba(255,255,255,0.045);
  --surface-strong: rgba(255,255,255,0.075);
  --border: rgba(255,255,255,0.10);
  --border-soft: rgba(255,255,255,0.06);

  --amber: #f2aa31;
  --amber-dim: rgba(242,170,49,0.16);
  --gold: #f5c82d;
  --sky: #1e99d4;
  --sky-dim: rgba(30,153,212,0.18);

  --text: #f1f4f7;
  --muted: #97a8b9;
  --muted-dim: #5f7183;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

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

  --shell-max: 460px;
  --nav-h: 78px;
}

*, *::before, *::after{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ -webkit-tap-highlight-color: transparent; }

body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a{ color: inherit; text-decoration: none; }
button{ font-family: inherit; }
::selection{ background: var(--amber-dim); color: var(--amber); }

/* ============ AMBIENT BACKGROUND ============ */
#bg-canvas{
  position: fixed;
  inset: 0;
  z-index: 0;
  opacity: .65;
  pointer-events: none;
}
.bg-glow{
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px 360px at 50% -8%, rgba(255,157,77,0.22), transparent 60%),
    radial-gradient(480px 380px at 100% 10%, rgba(95,184,221,0.14), transparent 60%),
    radial-gradient(600px 460px at 0% 115%, rgba(255,200,87,0.08), transparent 60%);
}
.bg-mountain{
  position: fixed;
  left: 0; right: 0; bottom: 0;
  height: 42vh;
  z-index: 0;
  pointer-events: none;
  opacity: .5;
}

/* ============ SHELL / LAYOUT ============ */
.shell{
  position: relative;
  z-index: 1;
  max-width: var(--shell-max);
  margin: 0 auto;
  min-height: 100vh;
  padding: 22px 18px calc(var(--nav-h) + 34px);
}

.page{ animation: page-in .48s cubic-bezier(.2,.8,.2,1) both; }
@keyframes page-in{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}
body.leaving .page{ animation: page-out .22s ease both; }
@keyframes page-out{ to{ opacity: 0; transform: translateY(-8px); } }

/* ============ EYEBROW ============ */
.eyebrow{
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .12em; text-transform: uppercase;
  color: var(--amber);
  margin: 0 0 12px 2px;
}
.eyebrow::before{ content:''; width: 14px; height: 1px; background: linear-gradient(90deg, var(--amber), transparent); }

/* ============ SUNRISE CARD (signature element) ============ */
.card{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px;
  overflow: hidden;
  backdrop-filter: blur(14px);
}
.card::before{
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 18%, var(--gold) 32%, transparent 48%);
  background-size: 220% 100%;
  animation: sunrise-sweep 5.5s linear infinite;
  opacity: .9;
}
@keyframes sunrise-sweep{
  0%{ background-position: 120% 0; }
  100%{ background-position: -120% 0; }
}
.card--tight{ padding: 16px 18px; }

/* ============ HERO ============ */
.hero{ text-align: center; padding-top: 0; margin-bottom: 22px; }

.hero-cover{
  position: relative;
  height: 158px;
  border-radius: var(--radius-lg);
  margin-bottom: 62px;
}
.hero-cover .cover-clip{
  position: absolute; inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-soft);
}
.hero-cover img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-cover .cover-clip::after{
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,21,38,0) 45%, rgba(8,21,38,.65) 100%);
}

.avatar-wrap{
  position: absolute;
  left: 50%; bottom: -46px;
  transform: translateX(-50%);
  width: 132px; height: 132px;
  z-index: 2;
}
.avatar-wrap::before{
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  background: var(--bg-elev);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 16px 34px rgba(0,0,0,.5);
}
.avatar{
  position: relative;
  z-index: 1;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.avatar svg{ width: 52px; height: 52px; }
.avatar img{ width: 86%; height: 86%; object-fit: contain; }

.status-pill{
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 13px; border-radius: 999px;
  background: var(--amber-dim);
  border: 1px solid rgba(255,157,77,0.35);
  font-family: var(--font-mono); font-size: 11.5px; color: var(--amber);
  margin-bottom: 14px;
}
.status-dot{
  width: 7px; height: 7px; border-radius: 50%; background: var(--amber);
  animation: pulse-dot 1.8s ease-out infinite;
}
@keyframes pulse-dot{
  0%{ box-shadow: 0 0 0 0 rgba(255,157,77,.55); }
  70%{ box-shadow: 0 0 0 7px rgba(255,157,77,0); }
  100%{ box-shadow: 0 0 0 0 rgba(255,157,77,0); }
}

.hero h1{ font-family: var(--font-display); font-size: 25px; font-weight: 700; margin: 0 0 4px; letter-spacing: -0.01em; }
.hero .role{ color: var(--muted); font-size: 13.5px; margin: 0 0 16px; }
.hero .bio{ font-size: 13.5px; color: var(--muted); max-width: 340px; margin: 0 auto; }

/* ============ SERVICE HIGHLIGHT ROW (pengganti stats) ============ */
.highlight-row{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 22px; }
.highlight{
  text-align: center; padding: 14px 6px;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border-soft);
}
.highlight svg{ width: 20px; height: 20px; color: var(--amber); margin-bottom: 6px; }
.highlight span{ display:block; font-size: 10.5px; color: var(--muted); }

/* ============ CTA BUTTONS ============ */
.cta-row{ display: flex; gap: 10px; margin-bottom: 26px; }
.btn{
  position: relative; flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px; border-radius: var(--radius-md);
  font-weight: 600; font-size: 13.5px;
  border: 1px solid var(--border);
  overflow: hidden; cursor: pointer;
  transition: transform .18s ease, border-color .18s ease;
}
.btn:active{ transform: scale(.97); }
.btn svg{ width: 16px; height: 16px; flex-shrink: 0; }
.btn--primary{ background: linear-gradient(135deg, var(--amber), #e8863a); color: #1b0f04; border: none; }
.btn--ghost{ background: var(--surface); color: var(--text); }
.btn--ghost:hover{ border-color: rgba(255,157,77,.4); }

.ripple{
  position: absolute; border-radius: 50%; background: rgba(255,255,255,.35);
  transform: scale(0); animation: ripple-anim .55s ease-out forwards; pointer-events: none;
}
@keyframes ripple-anim{ to{ transform: scale(2.6); opacity: 0; } }

.section-title{ font-family: var(--font-display); font-size: 18px; font-weight: 700; margin: 6px 0 14px; }

/* ============ SERVICE CARDS (Layanan) ============ */
.service-card{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-bottom: 16px;
  overflow: hidden;
}
.service-card::before{
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--amber) 18%, var(--gold) 32%, transparent 48%);
  background-size: 220% 100%;
  animation: sunrise-sweep 6s linear infinite;
  opacity: .8;
}
.service-head{ display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.service-icon{
  width: 44px; height: 44px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  background: var(--amber-dim); color: var(--amber); flex-shrink: 0;
}
.service-icon.sky{ background: var(--sky-dim); color: var(--sky); }
.service-icon svg{ width: 22px; height: 22px; }
.service-head h3{ margin: 0 0 2px; font-size: 15.5px; font-weight: 700; font-family: var(--font-display); }
.service-head p{ margin: 0; font-size: 12px; color: var(--muted); }
.service-numbers{ display: flex; gap: 8px; }
.wa-btn{
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 8px; border-radius: 11px;
  background: var(--surface-strong);
  border: 1px solid var(--border-soft);
  font-family: var(--font-mono); font-size: 12px; color: var(--text);
  transition: border-color .18s ease, transform .18s ease;
}
.wa-btn:active{ transform: scale(.97); }
.wa-btn:hover{ border-color: rgba(255,157,77,.4); color: var(--amber); }
.wa-btn svg{ width: 14px; height: 14px; color: #25d366; flex-shrink: 0; }

/* ============ LINK LIST (sosial) ============ */
.link-group{ margin-bottom: 26px; }
.link-card{
  display: flex; align-items: center; gap: 14px;
  padding: 15px 16px; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border-soft);
  margin-bottom: 10px; position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .2s ease, background .2s ease;
}
.link-card:active{ transform: scale(.98); }
.link-card:hover{ border-color: rgba(255,157,77,.3); background: var(--surface-strong); }
.link-icon{
  width: 42px; height: 42px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--amber-dim); color: var(--amber);
}
.link-icon svg{ width: 20px; height: 20px; }
.link-icon.sky{ background: var(--sky-dim); color: var(--sky); }
.link-body{ flex: 1; min-width: 0; }
.link-body h3{ margin: 0 0 2px; font-size: 14.5px; font-weight: 600; }
.link-body p{ margin: 0; font-size: 12px; color: var(--muted); font-family: var(--font-mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.link-arrow{ color: var(--muted-dim); flex-shrink: 0; transition: transform .18s ease, color .18s ease; }
.link-card:hover .link-arrow{ transform: translateX(3px); color: var(--amber); }

/* ============ WISATA / DESTINASI GRID ============ */
.dest-card{
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  margin-bottom: 16px;
}
.dest-shot{
  height: 120px; position: relative;
  background: linear-gradient(160deg, #12283f 0%, #0e2136 55%, #081526 100%);
  display: flex; align-items: flex-end; justify-content: center;
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden;
}
.dest-shot svg{ width: 100%; height: 74px; }
.dest-body{ padding: 15px 18px 18px; }
.dest-body h3{ margin: 0 0 6px; font-size: 15px; font-weight: 700; font-family: var(--font-display); }
.dest-body p{ margin: 0; font-size: 12.5px; color: var(--muted); }

/* ============ CONTACT ============ */
.contact-form{ display: flex; flex-direction: column; gap: 12px; margin-bottom: 22px; }
.field{ display: flex; flex-direction: column; gap: 6px; }
.field label{ font-family: var(--font-mono); font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.field input, .field textarea{
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius-sm);
  padding: 12px 13px; color: var(--text); font-family: var(--font-body); font-size: 13.5px;
  resize: none; transition: border-color .18s ease, box-shadow .18s ease;
}
.field input:focus, .field textarea:focus{ outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px var(--amber-dim); }
.field textarea{ min-height: 90px; }

.contact-methods{ display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }

.socials{ display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 6px; }
.social-btn{
  width: 46px; height: 46px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface); border: 1px solid var(--border-soft); color: var(--muted);
  transition: transform .2s ease, color .2s ease, border-color .2s ease;
}
.social-btn:hover{ color: var(--amber); border-color: rgba(255,157,77,.35); transform: translateY(-3px); }
.social-btn svg{ width: 19px; height: 19px; }

.toast{
  position: fixed; left: 50%; bottom: calc(var(--nav-h) + 20px); transform: translateX(-50%) translateY(10px);
  background: var(--bg-elev); border: 1px solid rgba(255,157,77,.4); color: var(--amber);
  font-size: 12.5px; font-family: var(--font-mono); padding: 11px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .25s ease, transform .25s ease; z-index: 60; white-space: nowrap;
}
.toast.show{ opacity: 1; transform: translateX(-50%) translateY(0); }

.reveal{ opacity: 0; transform: translateY(16px); transition: opacity .55s ease, transform .55s ease; }
.reveal.in{ opacity: 1; transform: translateY(0); }

/* ============ BOTTOM NAV ============ */
.bottom-nav{
  position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
  width: calc(100% - 28px); max-width: calc(var(--shell-max) - 28px); height: var(--nav-h);
  background: rgba(18,38,54,0.85);
  border: 1px solid var(--border);
  border-radius: 24px;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: space-around;
  z-index: 50; box-shadow: 0 12px 40px rgba(0,0,0,.45);
}
.nav-pill{
  position: absolute; top: 8px; left: 8px;
  width: calc((100% - 16px) / 4); height: calc(var(--nav-h) - 16px);
  border-radius: 18px;
  background: linear-gradient(160deg, var(--amber-dim), var(--sky-dim));
  border: 1px solid rgba(255,157,77,.3);
  transition: transform .38s cubic-bezier(.2,.9,.25,1);
  z-index: 0;
}
.nav-item{
  position: relative; z-index: 1; flex: 1; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  color: var(--muted-dim); transition: color .2s ease;
}
.nav-item svg{ width: 20px; height: 20px; transition: transform .25s ease; }
.nav-item span{ font-size: 10px; font-family: var(--font-mono); letter-spacing: .02em; }
.nav-item.active{ color: var(--amber); }
.nav-item.active svg{ transform: translateY(-1px); }
.nav-item:active svg{ transform: scale(.88); }

.foot-mark{ text-align: center; margin-top: 8px; font-family: var(--font-mono); font-size: 10.5px; color: var(--muted-dim); letter-spacing: .04em; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

@media (min-width: 500px){
  body{ background: radial-gradient(circle at 50% 0%, #0e2136, #04090f 70%); }
}
