/* =========================================================
   Bekasi Bandung Travel Guide — Global Stylesheet
   ========================================================= */

:root {
  --navy: #071f3a;
  --blue: #0b4f8a;
  --gold: #d9a441;
  --gold-soft: #e8c578;
  --light: #f5f7fb;
  --white: #ffffff;
  --dark: #1c2430;
  --muted: #64748b;
  --line: #e3e8f0;

  --shadow-sm: 0 1px 3px rgba(7, 31, 58, 0.06), 0 1px 2px rgba(7, 31, 58, 0.04);
  --shadow-md: 0 10px 30px rgba(7, 31, 58, 0.08);
  --shadow-lg: 0 24px 60px rgba(7, 31, 58, 0.14);

  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;

  --container: 1160px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.2;
  margin: 0 0 0.5em;
  font-weight: 600;
}

p { margin: 0 0 1rem; color: #3a4656; }

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

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 0.85rem;
}

.section { padding: 84px 0; }
.section--light { background: var(--light); }
.section__head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.section__head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.section__head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.97rem;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease),
    background 0.3s var(--ease), color 0.3s var(--ease);
  will-change: transform;
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy);
  box-shadow: 0 12px 26px rgba(217, 164, 65, 0.35);
}
.btn--gold:hover { transform: translateY(-3px); box-shadow: 0 18px 34px rgba(217, 164, 65, 0.45); }
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.18); transform: translateY(-3px); }
.btn--navy { background: var(--navy); color: var(--white); }
.btn--navy:hover { background: var(--blue); transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease), background 0.3s var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-sm); background: rgba(255, 255, 255, 0.94); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand .logo { width: 42px; height: 42px; object-fit: contain; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.04rem; }
.brand__tag { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

.nav__menu { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__menu a {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--dark);
  padding: 9px 16px;
  border-radius: 999px;
  position: relative;
  transition: color 0.25s var(--ease), background 0.25s var(--ease);
}
.nav__menu a:hover { color: var(--blue); background: var(--light); }
.nav__menu a.is-active { color: var(--navy); background: rgba(217, 164, 65, 0.14); }
.nav__menu a.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold);
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border: 1px solid var(--line);
  border-radius: 12px;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 540px;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(7, 31, 58, 0.92) 0%, rgba(7, 31, 58, 0.7) 45%, rgba(11, 79, 138, 0.55) 100%);
}
.hero__inner { max-width: 720px; padding: 96px 0; }
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 5vw, 3.3rem);
  font-weight: 700;
  margin-bottom: 1rem;
}
.hero__sub { font-size: 1.12rem; color: rgba(255, 255, 255, 0.88); max-width: 600px; margin-bottom: 2rem; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero--compact { min-height: 420px; }
.hero--compact .hero__inner { padding: 72px 0; }

.breadcrumb {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1rem;
  font-family: var(--font-display);
}
.breadcrumb a:hover { color: var(--gold-soft); }
.breadcrumb span { color: var(--gold-soft); }

/* ---------- Cards grid ---------- */
.grid { display: grid; gap: 26px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.4s var(--ease);
  height: 100%;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(217, 164, 65, 0.4); }
.card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(11, 79, 138, 0.12), rgba(217, 164, 65, 0.16));
  color: var(--blue);
  margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card h3 { font-size: 1.16rem; margin-bottom: 0.5rem; }
.card p { color: var(--muted); font-size: 0.96rem; margin: 0; }

/* glass variant */
.card--glass {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

/* ---------- Prose / content blocks ---------- */
.prose { max-width: 820px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 2.2rem; }
.prose h3 { font-size: 1.22rem; margin-top: 1.6rem; color: var(--blue); }
.prose ul { padding-left: 1.2rem; margin: 0 0 1.2rem; }
.prose li { margin-bottom: 0.5rem; color: #3a4656; }

.split { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }

/* tag list */
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tags li {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--light);
  border: 1px solid var(--line);
  color: var(--navy);
}

/* ---------- Timeline (signature element) ---------- */
.timeline { position: relative; padding-left: 8px; margin: 0; }
.timeline::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(var(--blue), var(--gold));
}
.timeline__item { position: relative; padding: 0 0 34px 58px; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__dot {
  position: absolute;
  left: 8px;
  top: 2px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--blue);
  display: grid;
  place-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--blue);
  z-index: 1;
}
.timeline__item:last-child .timeline__dot { border-color: var(--gold); color: var(--gold); }
.timeline__item h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.timeline__item p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- Comparison table ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; background: var(--white); }
table.compare th, table.compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.compare thead th {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
}
table.compare tbody tr:nth-child(even) { background: var(--light); }
table.compare tbody th { font-family: var(--font-display); font-weight: 600; color: var(--navy); white-space: nowrap; }
table.compare tbody tr:hover { background: rgba(217, 164, 65, 0.08); }

/* ---------- Checklist ---------- */
.checklist { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); list-style: none; margin: 0; padding: 0; }
.checklist li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.checklist li:hover { transform: translateY(-3px); border-color: rgba(217, 164, 65, 0.45); }
.checklist .tick {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  display: grid;
  place-items: center;
  color: var(--navy);
}
.checklist .tick svg { width: 15px; height: 15px; }
.checklist strong { font-family: var(--font-display); color: var(--navy); font-size: 0.98rem; display: block; }
.checklist span { color: var(--muted); font-size: 0.88rem; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 26px 84px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 26px;
  top: 26px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--gold);
}
.step h3 { margin-bottom: 0.35rem; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.96rem; }

/* ---------- FAQ accordion ---------- */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 14px; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; transition: box-shadow 0.3s var(--ease); }
.faq__item.is-open { box-shadow: var(--shadow-md); border-color: rgba(217, 164, 65, 0.4); }
.faq__q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.02rem;
  color: var(--navy);
  position: relative;
}
.faq__q::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.3s var(--ease);
}
.faq__item.is-open .faq__q::after { transform: translateY(-35%) rotate(-135deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease); }
.faq__a p { padding: 0 22px 20px; margin: 0; color: var(--muted); }

/* ---------- Form ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-md);
}
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-display); font-weight: 500; font-size: 0.92rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.97rem;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--light);
  color: var(--dark);
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.field input:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11, 79, 138, 0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.85rem; color: var(--muted); margin-top: 6px; }
.form-status { margin-top: 14px; font-size: 0.92rem; font-family: var(--font-display); color: var(--blue); min-height: 1.2em; }

/* contact list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ci {
  flex: none; width: 42px; height: 42px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(11,79,138,0.12), rgba(217,164,65,0.16));
  display: grid; place-items: center; color: var(--blue);
}
.contact-list .ci svg { width: 20px; height: 20px; }
.contact-list strong { display: block; font-family: var(--font-display); color: var(--navy); font-size: 0.95rem; }
.contact-list span { color: var(--muted); font-size: 0.92rem; }

/* ---------- Callout / note ---------- */
.note {
  background: linear-gradient(135deg, rgba(11, 79, 138, 0.06), rgba(217, 164, 65, 0.08));
  border: 1px solid rgba(217, 164, 65, 0.3);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.note p { margin: 0; color: #3a4656; font-size: 0.96rem; }
.note strong { color: var(--navy); }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--navy), var(--blue));
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  top: -40%;
  right: -10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(217, 164, 65, 0.3), transparent 70%);
}
.cta-band h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.2rem); position: relative; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 560px; margin: 0 auto 1.8rem; position: relative; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, 0.82); padding: 56px 0 28px; }
.footer__top { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; max-width: 560px; margin: 0 auto; }
.footer__brand { display: flex; align-items: center; gap: 10px; }
.footer__brand img { width: 34px; height: 34px; object-fit: contain; }
.footer__brand span { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.05rem; }
.footer__desc { font-size: 0.94rem; color: rgba(255, 255, 255, 0.7); }
.footer__meta { font-size: 0.9rem; color: rgba(255, 255, 255, 0.7); }
.footer__meta a { color: var(--gold-soft); }
.footer__quote { font-style: italic; color: rgba(255, 255, 255, 0.78); font-size: 0.96rem; }
.footer__divider { height: 1px; background: rgba(255, 255, 255, 0.12); margin: 32px 0 20px; }
.footer__copy { text-align: center; font-size: 0.85rem; color: rgba(255, 255, 255, 0.55); }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), background 0.3s var(--ease);
  z-index: 90;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--blue); }
.to-top svg { width: 20px; height: 20px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.08s; }
.reveal[data-delay="2"] { transition-delay: 0.16s; }
.reveal[data-delay="3"] { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 760px) {
  .nav__toggle { display: flex; }
  .nav__menu {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    background: var(--white);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0.3s var(--ease);
  }
  .nav__menu.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav__menu a { padding: 13px 16px; border-radius: 12px; }
  .nav__menu a.is-active::after { display: none; }
  .section { padding: 60px 0; }
  .checklist { grid-template-columns: 1fr; }
  .cta-band { padding: 44px 26px; }
  .form-card { padding: 26px 22px; }
  .hero__inner { padding: 72px 0; }
}

@media (max-width: 480px) {
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .brand__tag { display: none; }
}

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