/* ============================================================
 * RodaMas Rental - Landing page styles
 * Tema: "botanical gold" terang premium - warm paper, deep
 * botanical green, aksen antique gold. Mobile-first.
 * ============================================================ */

:root {
  --bg: #faf6ed;
  --bg-soft: #f2ecdd;
  --bg-card: #ffffff;
  --border: rgba(29, 42, 35, 0.1);
  --text: #1e2b24;
  --text-muted: #617163;
  --amber: #be9433;
  --amber-dark: #a37c28;
  --amber-deep: #7a5c1e;
  --amber-soft: rgba(190, 148, 51, 0.12);
  --green: #1e7f4f;
  --green-dark: #166b43;
  --green-deep: #13402e;
  --green-ink: #0e3325;
  --cream: #faf6ed;
  --cream-dim: rgba(250, 246, 237, 0.78);
  --gold-light: #d9b955;
  --red: #b3402e;
  --red-dark: #96351f;
  --radius: 20px;
  --shadow: 0 20px 45px -18px rgba(29, 42, 35, 0.18);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 72px 0;
}

/* ---------- Tipografi ---------- */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber-deep);
  background: var(--amber-soft);
  border: 1px solid rgba(190, 148, 51, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

h1, h2, h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 10px;
}

.section-sub {
  color: var(--text-muted);
  max-width: 640px;
  margin-bottom: 36px;
  font-size: 1.02rem;
}

/* ---------- Tombol ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 28px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  font-family: var(--font);
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.btn-primary {
  background: var(--green-deep);
  color: var(--cream);
  box-shadow: 0 10px 26px -10px rgba(19, 64, 46, 0.55);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--green-ink);
  box-shadow: 0 16px 32px -10px rgba(19, 64, 46, 0.6);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid rgba(29, 42, 35, 0.22);
}

.btn-outline:hover {
  border-color: var(--amber-dark);
  color: var(--amber-deep);
  transform: translateY(-2px);
}

.btn-wa {
  background: var(--green);
  color: #fff;
  box-shadow: 0 10px 26px -10px rgba(30, 127, 79, 0.55);
}

.btn-wa:hover {
  transform: translateY(-2px);
  background: var(--green-dark);
}

.btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none !important;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(14, 51, 37, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(250, 246, 237, 0.12);
  transition: box-shadow 0.25s ease;
  color: var(--cream);
}

.navbar.scrolled {
  box-shadow: 0 8px 30px rgba(14, 30, 22, 0.35);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--cream);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(190, 148, 51, 0.16);
  border: 1px solid rgba(190, 148, 51, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.logo-mark svg {
  width: 22px;
  height: 22px;
}

.logo span.accent {
  color: var(--gold-light);
}

.nav-links {
  display: none;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--cream-dim);
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--gold-light);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  display: flex;
  background: none;
  border: 1px solid rgba(250, 246, 237, 0.22);
  border-radius: 10px;
  color: var(--cream);
  padding: 9px;
  cursor: pointer;
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 20px 20px;
  border-top: 1px solid rgba(250, 246, 237, 0.12);
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 8px;
  font-weight: 600;
  color: var(--cream-dim);
  border-radius: 10px;
}

.mobile-menu a:hover {
  color: var(--gold-light);
  background: rgba(190, 148, 51, 0.1);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 84px 0 72px;
  overflow: hidden;
  color: var(--cream);
  background:
    radial-gradient(640px 340px at 12% 8%, rgba(190, 148, 51, 0.2), transparent 60%),
    radial-gradient(720px 400px at 88% 92%, rgba(190, 148, 51, 0.1), transparent 60%),
    var(--green-ink);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(250, 246, 237, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(250, 246, 237, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 40%, transparent 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.1rem, 6vw, 3.6rem);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--cream);
}

.hero h1 .hl {
  background: linear-gradient(120deg, #e7c876, var(--amber));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  color: var(--cream-dim);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 28px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.trust-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(190, 148, 51, 0.16);
  border: 1px solid rgba(190, 148, 51, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
}

.trust-icon svg {
  width: 20px;
  height: 20px;
}

.trust-item strong {
  display: block;
  font-size: 1.05rem;
  color: var(--cream);
}

.trust-item small {
  color: var(--cream-dim);
  font-size: 0.82rem;
}

.hero-visual {
  position: relative;
}

.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
}

.hero-card img {
  border-radius: 14px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  width: 100%;
}

.hero-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 16px;
}

.hero-card-meta .price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--amber-dark);
}

.hero-card-meta .price small {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.float-badge {
  position: absolute;
  top: -16px;
  right: 12px;
  background: var(--amber);
  color: var(--green-ink);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 24px -6px rgba(190, 148, 51, 0.5);
}

/* ---------- Keunggulan ---------- */
.features {
  background: var(--bg);
}

.features-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: rgba(190, 148, 51, 0.5);
  box-shadow: 0 18px 40px -16px rgba(122, 92, 30, 0.28);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(190, 148, 51, 0.18), rgba(190, 148, 51, 0.04));
  border: 1px solid rgba(190, 148, 51, 0.4);
  color: var(--amber-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 26px;
  height: 26px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- Armada ---------- */
.fleet {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
}

.filter-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.filter-btn svg {
  width: 17px;
  height: 17px;
}

.filter-btn:hover {
  border-color: var(--amber-dark);
  color: var(--amber-deep);
}

.filter-btn.active {
  background: var(--green-deep);
  color: var(--cream);
  border-color: transparent;
}

.fleet-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
}

.vehicle-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  display: flex;
  flex-direction: column;
}

.vehicle-card:hover {
  transform: translateY(-8px);
  border-color: rgba(190, 148, 51, 0.55);
  box-shadow: 0 24px 50px -18px rgba(29, 42, 35, 0.28), 0 0 0 1px rgba(190, 148, 51, 0.2);
}

.vehicle-img {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.vehicle-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-img img {
  transform: scale(1.06);
}

.badge-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(14, 51, 37, 0.88);
  backdrop-filter: blur(8px);
  color: #f3e9cf;
  border: 1px solid rgba(190, 148, 51, 0.5);
  padding: 6px 12px;
  border-radius: 999px;
}

.badge-status {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-status .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.badge-status.ok {
  background: rgba(30, 127, 79, 0.12);
  color: var(--green-dark);
  border: 1px solid rgba(30, 127, 79, 0.4);
}

.badge-status.busy {
  background: rgba(179, 64, 46, 0.1);
  color: var(--red-dark);
  border: 1px solid rgba(179, 64, 46, 0.4);
}

.vehicle-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.vehicle-body h3 {
  font-size: 1.2rem;
}

.vehicle-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  flex: 1;
}

.vehicle-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 4px 0 8px;
}

.vehicle-price strong {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--amber-dark);
}

.vehicle-price span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.vehicle-card .btn {
  width: 100%;
  padding: 13px;
  font-size: 0.94rem;
}

/* ---------- Cara sewa ---------- */
.steps-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.step-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.step-num {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, var(--amber), var(--amber-dark));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.9;
  margin-bottom: 12px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- Testimoni ---------- */
.testimonials {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 100%);
}

.testi-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.testi-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.stars {
  display: flex;
  gap: 4px;
  color: var(--amber);
}

.stars svg {
  width: 18px;
  height: 18px;
}

.testi-card blockquote {
  color: #43514a;
  font-size: 0.96rem;
  font-style: italic;
  flex: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--cream);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.testi-author strong {
  display: block;
  font-size: 0.96rem;
}

.testi-author small {
  color: var(--text-muted);
  font-size: 0.82rem;
}

/* ---------- FAQ ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item.open {
  border-color: rgba(190, 148, 51, 0.5);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: none;
  border: none;
  color: var(--text);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  text-align: left;
  padding: 20px 22px;
  cursor: pointer;
}

.faq-q .chev {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--amber-soft);
  color: var(--amber-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-q .chev svg {
  width: 18px;
  height: 18px;
}

.faq-item.open .faq-q .chev {
  transform: rotate(180deg);
}

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-a p {
  padding: 0 22px 22px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ---------- Booking ---------- */
.booking {
  background: var(--bg-soft);
}

.booking-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 32px 26px;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto;
}

.form-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 24px 0;
}

.form-field label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #3e4a43;
}

.form-field input,
.form-field select {
  width: 100%;
  font-family: var(--font);
  font-size: 1rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(29, 42, 35, 0.16);
  border-radius: 12px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s ease;
  color-scheme: light;
}

.form-field input:focus,
.form-field select:focus {
  border-color: var(--amber-dark);
}

.booking-note {
  font-size: 0.86rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-align: center;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background:
    radial-gradient(500px 240px at 85% 15%, rgba(190, 148, 51, 0.22), transparent 60%),
    linear-gradient(135deg, #13402e 0%, #0e3325 100%);
  border-radius: 28px;
  padding: 52px 32px;
  text-align: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(400px 200px at 20% 0%, rgba(250, 246, 237, 0.14), transparent 60%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 4vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 10px;
  position: relative;
  color: var(--cream);
}

.cta-banner p {
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 26px;
  position: relative;
  color: var(--cream-dim);
}

.cta-banner .btn-wa {
  position: relative;
}

/* ---------- Kontak ---------- */
.contact-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--amber-soft);
  border: 1px solid rgba(190, 148, 51, 0.35);
  color: var(--amber-deep);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.contact-card a:hover {
  color: var(--amber-deep);
}

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid rgba(250, 246, 237, 0.12);
  background: var(--green-ink);
  padding: 48px 0 28px;
  color: var(--cream-dim);
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  margin-bottom: 36px;
}

.footer-brand p {
  color: var(--cream-dim);
  font-size: 0.92rem;
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.95rem;
  margin-bottom: 14px;
  color: var(--cream);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--cream-dim);
  font-size: 0.92rem;
}

.footer-col a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 237, 0.12);
  padding-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--cream-dim);
}

/* ---------- Responsif ---------- */
@media (min-width: 640px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .fleet-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .testi-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .hero-inner { grid-template-columns: 1.05fr 0.95fr; }
  .steps-grid { grid-template-columns: repeat(4, 1fr); }
  .testi-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 1024px) {
  .fleet-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
