/* =========================================================
   Saptaweb Directory — Modern Soft UI (Brand Switchable)
   Default theme: Blue. Switch to Orange via [data-theme="orange"]
   - Solid color (no gradient) for CTA & headings
   - Header full brand color
   - Hero background: softer brand-50
   - Cards hover soft-floating
========================================================= */

/* =============== THEME TOKENS =============== */
/* Default: BLUE */
:root{
  /* Brand (blue) */
  --brand:       #2563eb;
  --brand-700:   #1e40af;
  --brand-50:    #f0f7ff;
  --brand-rgb:   37,99,235; /* for rgba() overlays */

  /* Neutrals */
  --bg:          #ffffff;
  --ink:         #0b1220;
  --muted:       #667085;

  /* Surfaces & borders */
  --card:        #ffffff;
  --border:      #e6eef7;

  /* Elevation */
  --shadow-1:    0 10px 26px rgba(2,6,23,.06);
  --shadow-2:    0 16px 42px rgba(2,6,23,.10);

  /* Focus ring (uses brand) */
  --ring:        rgba(37,99,235,.30);
}

/* Theme: ORANGE (opt-in) */
:root[data-theme="orange"],
body[data-theme="orange"]{
  --brand:       #f97316;
  --brand-700:   #c2410c;
  --brand-50:    #fff7ed;
  --brand-rgb:   249,115,22;

  /* Border a bit warmer for orange */
  --border:      #ffe7d3;
  --ring:        rgba(249,115,22,.30);
}

/* =============== BASE =============== */
html,body{
  background:var(--bg);
  color:var(--ink);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,'Helvetica Neue',Arial;
  scroll-behavior:smooth;
}
.container-narrow{ max-width:1100px; padding-inline:12px; }
img{ max-width:100%; display:block; }
a{ color:var(--brand); text-decoration:none; }
a:hover{ filter:brightness(.95); }
.muted{ color:var(--muted); }
h1,h2,h3,h4{ letter-spacing:-.2px; }

/* =============== NAVBAR (full brand bar) =============== */
.navbar{
  position:sticky; top:0; z-index:1020;
  background: var(--brand);
  color:#fff;
  border-bottom:1px solid rgba(255,255,255,.12);
  box-shadow: 0 4px 16px rgba(0,0,0,.08);
}
.navbar .navbar-brand,
.navbar .nav-link{ color:#fff; }
.navbar .nav-link:hover{ color:#eaf2ff; }

/* =============== HERO SECTION =============== */
.lp-hero{
  padding:56px 0 12px;
  background:
    radial-gradient(900px 320px at -10% -20%, rgba(var(--brand-rgb), .06), transparent 60%),
    var(--brand-50);
  border-bottom: 1px solid var(--border);
}
.lp-h1{
  font-weight:900;
  font-size: clamp(2.2rem, 2.2vw + 1.2rem, 3rem);
  line-height:1.14;
  margin:8px 0 6px;
}
.lp-accent{ color:var(--brand); } /* solid brand, no gradient */
.lp-strong{ color:#0f172a; }
.lp-sub{
  font-size: clamp(1rem,.45vw + 1rem,1.125rem);
  color:var(--muted);
  max-width:58ch;
}
.lp-pillbar{ display:flex; flex-wrap:wrap; gap:10px; margin-bottom:6px; }
.lp-pill{
  background:#fff; border:1px solid var(--border);
  padding:8px 12px; border-radius:9999px;
  font-weight:700; color:#0b1220;
  box-shadow: 0 2px 0 rgba(2,6,23,.04);
}

/* Hero visual mock */
.lp-hero-visual{ position:relative; min-height:320px; }
.lp-card{
  border:1px solid #dfe6f5;
  border-radius:18px; padding:16px;
  background:#fff; box-shadow: var(--shadow-1);
  transform: translateZ(0); transition: transform .2s ease;
}
.lp-card-bar{ height:18px; border-radius:10px; background:#eef2f7; }
.lp-card-lines{ display:flex; gap:8px; margin-top:10px; }
.lp-card-lines span{ height:10px; width:22%; border-radius:9999px; background:#eef2f7; border:1px solid #e3eaf3; }
.lp-card-block{ height:76px; border-radius:14px; margin-top:10px; background:#fff; border:1px solid var(--border); }

/* =============== SECTIONS =============== */
.lp-section{
  padding:36px 0;
  opacity:0; transform:translateY(10px);
  transition: all .5s ease;
  background:#fff;
}
.lp-section.in{ opacity:1; transform:none; }
.lp-head h2{ font-weight:900; margin:0; }
.lp-head p{ color:var(--muted); margin:6px 0 0; }
.center{ text-align:center; }

/* =============== BUTTONS (solid) =============== */
.btn{
  border-radius:9999px;
  padding:10px 18px;
  transition: transform .08s ease, filter .12s ease, background-color .12s ease, border-color .12s ease;
}
.btn:hover{ transform: translateY(-1px); }

.btn-brand{
  background: var(--brand);
  color:#fff;
  border:1px solid var(--brand);
  font-weight:800;
  box-shadow: 0 10px 26px rgba(var(--brand-rgb), .18);
}
.btn-brand:hover{
  background: var(--brand-700);
  border-color: var(--brand-700);
}

.btn-brand-sm{
  background: var(--brand);
  color:#fff;
  border:1px solid var(--brand);
  padding:8px 14px;
  font-weight:700;
}
.btn-brand-sm:hover{ background: var(--brand-700); border-color: var(--brand-700); }

.btn-outline-brand{
  background:#fff; color:var(--brand);
  border:1px solid var(--brand);
  font-weight:800;
}
.btn-outline-brand:hover{ background:var(--brand); color:#fff; }

.btn-outline-brand-sm{
  background:#fff; color:var(--brand);
  border:1px solid var(--brand);
  padding:8px 14px; font-weight:700;
}
.btn-outline-brand-sm:hover{ background:var(--brand); color:#fff; }

/* Focus ring */
.lp-focus:focus{ box-shadow:0 0 0 6px var(--ring); border-color:transparent; }

/* =============== SEARCH CARD =============== */
.lp-search{
  border:1px solid var(--border);
  border-radius:18px;
  padding:16px;
  background:#fff;
  box-shadow: var(--shadow-1);
}
.form-control{ border-radius:12px; }

/* =============== FEATURE CARDS =============== */
.lp-feature{
  border:1px solid var(--border);
  border-radius:18px;
  background:#fff;
  padding:18px;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.lp-feature:hover{ transform: translateY(-3px); box-shadow: var(--shadow-2); }
.lp-ico{
  width:46px; height:46px; border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(var(--brand-rgb), .08);
  border:1px solid rgba(var(--brand-rgb), .18);
  margin-bottom:10px;
}
.lp-ico svg{ width:22px; height:22px; stroke: var(--brand); }

/* =============== LISTING (with photo + excerpt) =============== */
.biz{
  border:1px solid var(--border);
  border-radius:16px;
  background:#fff; overflow:hidden;
  box-shadow: var(--shadow-1);
  transition: transform .18s ease, box-shadow .18s ease;
}
.biz:hover{ transform: translateY(-3px); box-shadow: var(--shadow-2); }
.biz .thumb{ display:block; position:relative; overflow:hidden; background:#f5f7fb; }
.biz .thumb img{ width:100%; height:180px; object-fit:cover; }
.biz-body{ padding:14px 14px 16px; }
.biz .title{ display:block; font-weight:800; color:inherit; text-decoration:none; margin-bottom:2px; }
.excerpt{ color:#475467; line-height:1.45; margin:0; }
.phone{
  border:1px solid var(--border);
  background:#f8fbff;
  border-radius:9999px; padding:6px 10px;
}

/* =============== ALERT / QUOTE / CTA =============== */
.lp-alert{
  border:1px solid var(--border);
  border-radius:16px; padding:14px;
  background:#fff;
}
.lp-quote{
  border:1px solid var(--border);
  border-radius:18px; padding:18px;
  background:#fff; box-shadow: var(--shadow-1);
}
.lp-cta{
  text-align:center;
  border:1px solid var(--border);
  border-radius:22px;
  padding:28px;
  margin: 18px auto 44px;
  background:#fff;
  box-shadow: var(--shadow-1);
}

/* =============== TRUST CUE (optional) =============== */
.lp-trust{ display:flex; align-items:center; gap:10px; margin-top:14px; color:#0b3f44; font-weight:600 }
.lp-dot{ width:8px; height:8px; border-radius:9999px; background:#22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.15) }

/* =============== UTILITIES =============== */
.hide{ display:none !important; }

/* =============== RESPONSIVE =============== */
@media (max-width:576px){
  .lp-hero{ padding-top:32px; }
  .lp-pillbar{ justify-content:center; }
  .btn-brand, .btn-outline-brand{ width:100%; }
  .lp-hero-visual{ min-height:240px; margin-top:6px; }
}

/* ===== NAVBAR FIX: paksa full biru + teks putih ===== */
.navbar,
.navbar.navbar,
.navbar.bg-white,
.navbar.bg-light,
.navbar.navbar-light{
  background-color: var(--brand) !important;
  color:#fff !important;
  border-bottom:1px solid rgba(255,255,255,.14);
  box-shadow:0 4px 16px rgba(0,0,0,.08);
  position:sticky; top:0; z-index:1040;
}

/* Teks & link putih */
.navbar .navbar-brand,
.navbar .nav-link{
  color:#fff !important;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar .nav-link.active{ color:#eaf2ff !important; opacity:1 }

/* Tombol di header (mis. Keluar / Daftar) */
.navbar .btn-outline-brand,
.navbar .btn{
  border-color:#fff !important;
  color:#fff !important;
  background:transparent !important;
}
.navbar .btn-outline-brand:hover,
.navbar .btn:hover{
  background:#fff !important;
  color:var(--brand) !important;
}

/* Pastikan wrapper hero tidak menimpa header */
.lp-hero{ margin-top:0; }

/* Jika ada .shadow / .bg-white khusus header di HTML lain, ini tetap menang */

/* === Full-bleed hero (latar full kanan–kiri, mepet header) === */
.lp-hero.full-bleed{
  /* latar biru muda + sedikit aksen */
  background:
    radial-gradient(900px 320px at -10% -20%, rgba(var(--brand-rgb), .06), transparent 40%),
    var(--brand-50);
  border-bottom:1px solid var(--border);

  /* buat full-bleed tanpa ubah struktur container */
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  width: 100vw;

  /* nempel ke header */
  padding-top: 60px;         /* biar pas setelah navbar */
  padding-bottom: 40px;
}

/* tata letak hero */
.lp-hero-text{ z-index:2; }
.lp-hero-img{ position:relative; z-index:1; text-align:right; }

/* gambar hero */
.hero-illustration{
  max-width:100%;
  width:480px;
  height:auto;
  transform: translateY(6px);
  filter: drop-shadow(0 8px 30px rgba(var(--brand-rgb), .20));
  animation: heroFloat 7s ease-in-out infinite;
}

@keyframes heroFloat{
  0%,100%{ transform: translateY(6px); }
  50%{ transform: translateY(-8px); }
}

/* responsif */
@media (max-width: 992px){
  .lp-hero.full-bleed{ padding-bottom: 28px; }
  .lp-hero-text{ text-align:center; margin-bottom:18px; }
  .lp-hero-img{ text-align:center; }
  .hero-illustration{ width:360px; margin:0 auto; }
}
@media (max-width: 576px){
  .hero-illustration{ width:300px; }
}

/* === HERO CENTERING === */
.lp-hero {
  display: flex;
  align-items: center;     /* vertikal tengah */
  justify-content: center; /* horizontal tengah */
  min-height: 90vh;        /* tinggi hero hampir 1 layar */
  padding-top: 0;          /* biar nempel ke header */
  padding-bottom: 0;
}

.lp-hero .container-narrow {
  display: flex;
  align-items: center;     /* teks & gambar sejajar tengah */
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

/* Hero teks lebih lega */
.lp-hero-text {
  max-width: 520px;
  flex: 1 1 400px;
}

.lp-hero-img {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration {
  max-width: 100%;
  width: 420px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 15px 40px rgba(0, 0, 0, .08);
}

/* Responsif: stack di bawah teks */
