/* Rezki Berkat — light, direct, local-business style (not a SaaS template).
   Brand black + gold from the logo; WhatsApp green used for WA buttons because
   that's the color everyone already recognizes, not because it matches the palette. */
:root {
  --black: #141414;
  --white: #ffffff;
  --cream: #f6f2e7;
  --line: #e4ded0;
  --line-dark: #333;
  --gold: #e8b53c;
  --gold-text: #8a5f10;
  --muted: #6b6b6b;
  --muted-dark: #b7b2a4;
  --wa: #25d366;
  --wa-dark: #128c7e;
  --wrap: 1100px;
  --font-serif: "Fraunces", Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 64px; }
body {
  margin: 0; background: var(--white); color: var(--black);
  font: 16px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
[hidden] { display: none !important; }

.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 12px; font-weight: 800; }
h1, h2 { font-family: var(--font-serif); font-weight: 600; letter-spacing: -0.01em; }
h1 { font-size: 36px; }
h2 { font-size: 28px; }
p { margin: 0 0 14px; color: var(--muted); }

/* Doc Mo-style accent word inside a serif headline */
.accent { color: var(--gold-text); font-weight: 700; }

section { padding: 52px 0; }
.alt-band { background: var(--cream); }
/* faint dot-grid texture on the FAQ band only — Rates stays plain so the price table reads clean */
#faq { background-image: radial-gradient(rgba(20,20,20,.06) 1px, transparent 1px); background-size: 20px 20px; }
.section-head { max-width: 560px; margin-bottom: 26px; }
.eyebrow { display: inline-block; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-text); font-weight: 700; margin-bottom: 6px; }

/* plain content cards — About / Why Choose Us */
.cards { display: grid; gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 6px; padding: 22px; background: #fff; }
.card .kicker { display: block; font-size: 13px; font-weight: 800; color: var(--gold-text); margin-bottom: 8px; }
.card h3 { font-size: 17px; margin-bottom: 6px; }
.card p { font-size: 14.5px; margin-bottom: 0; }

/* buttons — flat, plain, not pills; WA buttons use the WhatsApp brand color */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  border: 2px solid transparent; cursor: pointer; font-family: inherit;
  transition: box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn svg { width: 17px; height: 17px; fill: currentColor; }
.btn-lg { padding: 14px 26px; font-size: 15.5px; }
.btn-block { width: 100%; }
.btn-wa { background: var(--wa); color: #fff; box-shadow: 0 2px 16px rgba(37,211,102,.28); }
.btn-wa:hover { background: var(--wa-dark); box-shadow: 0 4px 22px rgba(37,211,102,.4); }
.btn-outline { border-color: var(--black); color: var(--black); }
.btn-outline:hover { background: var(--black); color: #fff; box-shadow: 0 4px 22px rgba(20,20,20,.22); }

/* top bar */
.topbar { background: var(--black); color: var(--muted-dark); font-size: 13px; padding: 7px 0; }
.topbar-row { display: flex; flex-wrap: wrap; gap: 4px 16px; justify-content: space-between; align-items: center; }
.topbar-row > span:first-child { color: #fff; }

/* language selector — EN / BM / 中文 */
.lang-switch { display: flex; gap: 2px; background: rgba(255,255,255,.08); border-radius: 999px; padding: 2px; }
.lang-switch button {
  border: 0; background: transparent; color: var(--muted-dark); font: inherit; font-size: 11.5px; font-weight: 700;
  padding: 4px 10px; border-radius: 999px; cursor: pointer; letter-spacing: .02em;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--black); }

/* header */
header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; gap: 16px; padding: 10px 0; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; margin-right: auto; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.brand small { display: block; font-size: 10px; letter-spacing: .1em; color: var(--gold-text); font-weight: 700; text-transform: uppercase; }
.nav-links { display: none; gap: 22px; font-size: 14.5px; font-weight: 600; }
.nav-links a:hover { color: var(--gold-text); }
.nav .btn { padding: 9px 16px; font-size: 13.5px; }

/* promo banner */
.promo { background: var(--gold); }
.promo p { margin: 0; padding: 9px 0; color: var(--black); font-weight: 700; font-size: 14px; text-align: center; }
.promo b { text-decoration: underline; }

/* hero — the photo spans the hero AND the enquiry form behind it, fading to
   solid cream by the bottom so the form doesn't sit on a hard, imageless cut */
.hero-band {
  background: linear-gradient(rgba(255,250,240,.88), rgba(255,250,240,.88) 60%, #fffaf0 100%), url('assets/hero-bg.jpg') top center/cover;
}
.hero {
  padding: 44px 0 32px; text-align: center;
}
.hero-inner { max-width: 640px; margin-inline: auto; }
.hero .lead { font-size: 16.5px; max-width: 46ch; margin-inline: auto; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 18px 0 14px; }

/* Doc Mo-style urgency pill above the headline */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px; border-radius: 999px;
  background: rgba(20,20,20,.05); border: 1px solid rgba(20,20,20,.12);
  font-size: 12.5px; font-weight: 700; letter-spacing: .01em;
  color: var(--black); margin-bottom: 16px;
}
.hero-badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--wa); flex: none; }

/* Doc Mo-style checklist row under the hero CTAs */
.hero-checks {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 6px 18px; margin: 4px 0 0; padding: 0; font-size: 12.5px; color: #8a8478;
}
.hero-checks li { display: flex; align-items: center; gap: 6px; }
.hero-checks li::before { content: "\2713"; color: var(--gold-text); font-weight: 800; }

/* enquiry form — plain box, not a floating product card */
.enquiry-wrap { padding: 0 0 40px; }
.enquiry { background: var(--white); border: 1px solid var(--line); border-radius: 6px; padding: 20px; max-width: 640px; margin-inline: auto; }
.enquiry-head h3 { font-size: 16px; margin-bottom: 2px; }
.enquiry-head p { font-size: 13px; margin-bottom: 16px; }
.fields { display: grid; gap: 12px; margin-bottom: 14px; }
.field label { display: block; font-size: 12.5px; font-weight: 700; margin-bottom: 5px; }
.field input, .field select {
  width: 100%; padding: 10px 12px; border-radius: 4px; font: inherit; font-size: 15px;
  background: #fff; border: 1px solid #ccc; color: var(--black);
}
.field input:focus, .field select:focus { outline: 2px solid var(--gold); outline-offset: 1px; }

/* trust band — thin black strip between white sections */
.trust-band { background: var(--black); padding: 16px 0; }
.trust-line { display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 13.5px; color: var(--muted-dark); margin: 0; justify-content: center; text-align: center; }
.trust-line span:not(:last-child)::after { content: "\00b7"; color: var(--gold); margin: 0 12px; }

/* about */
.about-text { max-width: 640px; }

/* achievements — same black-band language as trust-band, bigger numbers */
.stats-band { background: var(--black); padding: 30px 0; }
.stats { display: grid; gap: 20px; grid-template-columns: repeat(2, 1fr); text-align: center; margin-bottom: 14px; }
.stat b { display: block; font-size: 28px; font-weight: 800; color: var(--gold); }
.stat span { font-size: 12.5px; color: var(--muted-dark); }
.stat.pending b { color: #55503f; font-weight: 700; } /* dimmer than the confirmed stats — reads as "not filled in yet", not broken */
.stats-band .placeholder-note { color: #9a9484; max-width: 560px; margin: 0 auto; text-align: center; border: 0; padding: 0; }

/* fleet */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.chip { padding: 7px 16px; border-radius: 999px; border: 1px solid #ccc; background: transparent; color: var(--muted); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.chip[aria-pressed="true"] { background: var(--black); border-color: var(--black); color: #fff; }

.fleet-grid { display: grid; gap: 18px; }
.car { border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: #fff; }
.car .photo {
  position: relative; aspect-ratio: 16 / 10; background: #eee;
  display: grid; place-items: center; border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.car .photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-note { color: #999; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; position: relative; z-index: 1; }
.ribbon {
  position: absolute; top: 0; left: 0; background: var(--black); color: var(--gold);
  font-weight: 800; font-size: 15px; padding: 6px 12px 6px 10px;
}
.ribbon small { font-weight: 600; font-size: 10.5px; color: var(--muted-dark); }
.tag-popular {
  position: absolute; top: 8px; right: 8px; background: #d63031; color: #fff;
  font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 3px; text-transform: uppercase;
}
.car .body { padding: 14px; }
.car h3 { font-size: 17px; margin-bottom: 3px; }
.car .spec { font-size: 13px; margin-bottom: 12px; }

.placeholder-note { margin-top: 18px; font-size: 13px; color: #8a8478; border-left: 3px solid var(--gold); padding: 8px 0 8px 12px; }

/* rates */
.table-wrap { overflow-x: auto; margin-bottom: 18px; }
table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 420px; background: #fff; }
th, td { padding: 11px 14px; text-align: left; border-bottom: 1px solid var(--line); }
th { background: var(--black); color: var(--gold); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; }
td:first-child { font-weight: 700; }
.terms-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.terms-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.terms-list b { color: var(--black); }

/* reviews */
.rating { font-size: 14px; font-weight: 700; color: var(--gold-text); }
.review-list .review { position: relative; border-top: 1px solid var(--line); padding: 16px 0; }
.review-list .review:first-child { border-top: 0; padding-top: 0; }
/* large translucent serif quote mark behind each review — decoration, not content */
.review-list .review::before {
  content: "\201C"; position: absolute; top: -2px; right: 2px;
  font-family: var(--font-serif); font-weight: 700; font-size: 64px; line-height: 1;
  color: var(--gold); opacity: .3; z-index: 0; pointer-events: none;
}
.stars, .review p, .review .who { position: relative; z-index: 1; }
.stars { color: var(--gold-text); letter-spacing: 2px; margin-bottom: 6px; font-size: 13px; }
.review p { color: #333; font-size: 14.5px; margin-bottom: 4px; }
.review .who { font-size: 12.5px; color: #999; margin: 0; }

/* faq — plain Q&A, no accordion */
.qa-list .qa { border-top: 1px solid var(--line); padding: 16px 0; }
.qa-list .qa:first-child { border-top: 0; padding-top: 0; }
.qa h3 { font-size: 15.5px; margin-bottom: 5px; }
.qa p { font-size: 14px; margin: 0; }

/* contact + footer bookend the page in black, like the top bar */
.contact {
  background: linear-gradient(rgba(15,15,15,.86), rgba(15,15,15,.86)), url('assets/contact-bg.jpg') center/cover;
  color: #fff;
}
.contact .eyebrow { color: var(--gold); }
.contact h2 { color: #fff; }
.contact .accent { color: var(--gold); }
.contact-grid { display: grid; gap: 26px; }
.contact-list { list-style: none; padding: 0; margin: 0 0 18px; }
.contact-list li { display: flex; gap: 10px; margin-bottom: 10px; font-size: 14.5px; }
.contact-list span { color: var(--muted-dark); }
.map { border-radius: 6px; border: 1px dashed #444; background: #1e1e1e; min-height: 200px; display: grid; place-items: center; color: #777; font-size: 13px; text-align: center; padding: 16px; }

footer { background: var(--black); border-top: 1px solid #2a2a2a; padding: 20px 0 84px; font-size: 12.5px; color: #8a8478; }
.foot-grid { display: grid; gap: 12px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 14px; }
.foot-links a:hover { color: var(--gold); }
footer a[href*="sysniaga"] { color: var(--muted-dark); }

/* floating WhatsApp bubble — the thing every real Malaysian SME site has */
.wa-bubble {
  position: fixed; right: 16px; bottom: 16px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%; background: var(--wa);
  display: grid; place-items: center; box-shadow: 0 4px 14px rgba(0,0,0,.3);
}
.wa-bubble svg { width: 28px; height: 28px; fill: #fff; }

@media (min-width: 640px) {
  .fields { grid-template-columns: 1fr 1fr; }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 780px) {
  h1 { font-size: 50px; }
  h2 { font-size: 32px; }
  footer { padding-bottom: 20px; }
}
@media (min-width: 980px) {
  .nav-links { display: flex; }
  .fleet-grid { grid-template-columns: repeat(3, 1fr); }
  .cards { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr 1fr; align-items: center; }
  .foot-grid { grid-template-columns: 1fr auto; align-items: center; }
}
/* Scroll reveal — a subtle fade + rise as sections enter view, not full agency-site
   spectacle. Content is visible by default; script.js adds .js-reveal to <html> only
   once it can actually reveal things again, so nothing stays hidden if JS fails. */
.reveal { transition: opacity .6s cubic-bezier(.16,.7,.3,1), transform .6s cubic-bezier(.16,.7,.3,1); transition-delay: calc(var(--i, 0) * 80ms); }
.js-reveal .reveal { opacity: 0; transform: translateY(26px) scale(.97); }
.js-reveal .reveal.is-visible { opacity: 1; transform: translateY(0) scale(1); }

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