:root {
  --navy: #0f172a;
  --blue: #1d4ed8;
  --orange: #f97316;
  --orange-soft: #fff4e8;
  --light: #f5f7fb;
  --white: #ffffff;
  --muted: #64748b;
  --line: rgba(15, 23, 42, 0.1);
  --shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background: var(--light);
  color: var(--navy);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.announcement-bar {
  display: flex;
  justify-content: center;
  gap: 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.9rem;
  padding: 10px 16px;
  text-align: center;
}

.announcement-bar strong {
  color: #fed7aa;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
}

.header-inner,
main,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 14px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--navy);
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.logo span {
  color: var(--orange);
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 22px;
  color: #334155;
  font-size: 0.94rem;
  font-weight: 800;
}

.desktop-nav a,
.mobile-nav a,
.footer a {
  transition: color 180ms ease;
}

.desktop-nav a:hover,
.mobile-nav a:hover,
.footer a:hover {
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 230px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  padding: 9px 13px;
}

.header-search span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 900;
}

.header-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--navy);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 21px;
  font-weight: 900;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-primary,
.btn-book {
  background: var(--orange);
  color: var(--white);
}

.btn-secondary,
.btn-reset {
  border-color: var(--line);
  background: var(--white);
  color: var(--navy);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.hamburger {
  display: none;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
}

.hamburger span {
  width: 20px;
  height: 2px;
  border-radius: 8px;
  background: var(--navy);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 0 0 16px;
}

.mobile-nav.is-open {
  display: grid;
  gap: 10px;
}

.mobile-nav a,
.mobile-nav .btn {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  padding: 13px 16px;
  text-align: left;
}

.mobile-nav .btn {
  justify-content: center;
  background: var(--orange);
  color: var(--white);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.84fr);
  gap: 52px;
  align-items: center;
  min-height: 700px;
  padding: 70px 0 54px;
}

.eyebrow,
.section-heading span {
  color: var(--orange);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(3.1rem, 6vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-buttons,
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-buttons {
  margin-top: 30px;
}

.hero-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-rating span {
  color: #f59e0b;
  letter-spacing: 0.06em;
}

.hero-rating strong {
  color: #334155;
}

.hero-stats {
  margin-top: 34px;
}

.hero-stats div {
  min-width: 136px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.hero-stats strong,
.hero-stats span {
  display: block;
}

.hero-stats strong {
  font-size: 1.28rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.87rem;
}

.hero-visual {
  display: grid;
  place-items: center;
}

.sunset-card {
  position: relative;
  width: min(100%, 520px);
  min-height: 545px;
  overflow: hidden;
  border: 10px solid var(--white);
  border-radius: 34px;
  background: var(--navy);
  box-shadow: var(--shadow);
}

.malioboro-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sunset-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.04), rgba(15, 23, 42, 0.78));
  pointer-events: none;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: grid;
  gap: 2px;
  min-width: 150px;
  border-radius: 16px;
  background: var(--white);
  padding: 14px 16px;
  box-shadow: 0 18px 35px rgba(15, 23, 42, 0.18);
}

.floating-card.top {
  top: 28px;
  left: -10px;
}

.floating-card.bottom {
  right: -10px;
  bottom: 120px;
}

.floating-card strong {
  font-size: 1rem;
}

.floating-card span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.visual-info {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--navy);
  padding: 18px;
}

.visual-info span,
.visual-info strong {
  display: block;
}

.visual-info span {
  color: var(--orange);
  font-size: 0.86rem;
  font-weight: 900;
}

.visual-info strong {
  margin-top: 4px;
  font-size: 1.2rem;
}

.trust-section,
.category-grid,
.vehicle-grid,
.package-grid,
.testimonial-grid,
.footer {
  display: grid;
  gap: 18px;
}

.trust-section {
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 0 74px;
}

.trust-card,
.category-card,
.vehicle-card,
.package-card,
.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.trust-card {
  padding: 24px;
}

.trust-card span {
  color: var(--orange);
  font-weight: 950;
}

.trust-card h2 {
  margin-top: 12px;
  font-size: 1.14rem;
}

.trust-card p,
.package-card p,
.package-card span,
.testimonial-card p,
.footer p {
  color: var(--muted);
}

.section-heading {
  display: grid;
  gap: 8px;
  margin-bottom: 24px;
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.heading-row {
  grid-template-columns: 1fr minmax(260px, 0.58fr);
  align-items: end;
}

.heading-row p {
  color: var(--muted);
}

.category-section,
.vehicles-section,
.package-section,
.steps-section,
.testimonials-section {
  padding: 30px 0 78px;
}

.category-grid {
  grid-template-columns: repeat(6, 1fr);
}

.category-card {
  min-height: 148px;
  padding: 18px;
  text-align: left;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.category-card:hover {
  transform: translateY(-5px);
  border-color: rgba(249, 115, 22, 0.45);
  background: var(--orange-soft);
}

.category-icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  font-size: 0.86rem;
  font-weight: 950;
}

.category-card h3 {
  font-size: 1rem;
}

.category-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.86rem;
}

.vehicle-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--white);
  padding: 14px;
  box-shadow: var(--shadow-soft);
}

.vehicle-toolbar label {
  display: grid;
  flex: 1 1 190px;
  gap: 7px;
}

.vehicle-toolbar label span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.vehicle-toolbar input,
.vehicle-toolbar select {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #f8fafc;
  color: var(--navy);
  outline: 0;
  padding: 0 15px;
}

.vehicle-toolbar input:focus,
.vehicle-toolbar select:focus,
.header-search:focus-within {
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.14);
}

.result-count {
  margin: 0 0 16px;
  color: var(--muted);
  font-weight: 800;
}

.vehicle-grid {
  grid-template-columns: repeat(3, 1fr);
}

.vehicle-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.vehicle-card:hover {
  transform: translateY(-6px);
  border-color: rgba(249, 115, 22, 0.42);
  box-shadow: var(--shadow);
}

.vehicle-media {
  position: relative;
  display: grid;
  min-height: 215px;
  place-items: center;
  overflow: hidden;
  background: var(--vehicle-bg);
}

.vehicle-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0.22));
  pointer-events: none;
}

.vehicle-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.vehicle-card:hover .vehicle-photo {
  transform: scale(1.045);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 950;
  padding: 7px 11px;
}

.favorite-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.favorite-btn:hover {
  transform: scale(1.06);
}

.favorite-btn.is-active {
  background: var(--orange);
  color: var(--white);
}

.vehicle-body {
  display: grid;
  gap: 11px;
  padding: 20px;
}

.booking-label {
  width: max-content;
  border-radius: 999px;
  background: var(--orange-soft);
  color: var(--orange);
  font-size: 0.76rem;
  font-weight: 950;
  padding: 7px 11px;
}

.vehicle-topline,
.price-row,
.card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.vehicle-topline {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.vehicle-topline strong {
  color: var(--orange);
}

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

.vehicle-body p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 8px;
  list-style: none;
  color: #334155;
  font-size: 0.94rem;
}

.feature-list li {
  position: relative;
  padding-left: 22px;
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.price-row {
  justify-content: flex-start;
  align-items: baseline;
  margin-top: 4px;
}

.price-row strong {
  font-size: 1.55rem;
}

.price-row span {
  color: var(--muted);
  font-size: 0.9rem;
}

.card-actions .btn {
  flex: 1;
  min-height: 42px;
  padding: 0 14px;
}

.empty-state {
  grid-column: 1 / -1;
  border: 1px dashed rgba(15, 23, 42, 0.28);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 34px;
  text-align: center;
}

.package-grid {
  grid-template-columns: repeat(3, 1fr);
}

.package-card {
  padding: 30px;
}

.package-card.featured {
  background: var(--navy);
  color: var(--white);
}

.package-card.featured p,
.package-card.featured span {
  color: #cbd5e1;
}

.package-card h3 {
  font-size: 1.42rem;
}

.package-card p {
  margin: 10px 0 14px;
  font-weight: 900;
}

.package-card span {
  display: block;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.timeline article {
  position: relative;
  padding: 26px;
}

.timeline article:not(:last-child) {
  border-right: 1px solid var(--line);
}

.timeline span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  font-weight: 950;
}

.timeline h3 {
  margin-bottom: 8px;
}

.timeline p {
  color: var(--muted);
}

.testimonial-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card {
  padding: 26px;
}

.testimonial-card p {
  min-height: 96px;
  font-size: 1.02rem;
}

.testimonial-card strong {
  display: block;
  margin-top: 18px;
}

.cta-section {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  margin: 20px 0 82px;
  overflow: hidden;
  border-radius: 28px;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.76)),
    url("assets/malioboro/malioboro-street.jpg") center / cover;
  color: var(--white);
  padding: 40px;
  box-shadow: var(--shadow);
}

.cta-section h2 {
  margin-top: 8px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.05;
}

.cta-section p {
  margin-top: 12px;
  color: #dbe4ef;
}

.footer {
  grid-template-columns: 1.4fr 1fr 1fr;
  border-top: 1px solid var(--line);
  padding: 42px 0;
}

.footer > div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer h3 {
  font-size: 1rem;
}

.footer a,
.footer p {
  font-size: 0.94rem;
}

.footer-logo {
  margin-bottom: 6px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  max-width: min(380px, calc(100% - 36px));
  transform: translateY(16px);
  border-radius: 18px;
  background: var(--navy);
  color: var(--white);
  opacity: 0;
  pointer-events: none;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, opacity 180ms ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 1120px) {
  .desktop-nav,
  .header-booking {
    display: none;
  }

  .header-inner {
    grid-template-columns: auto 1fr;
  }

  .header-actions {
    justify-content: end;
  }

  .hamburger {
    display: flex;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .sunset-card {
    min-height: 470px;
  }

  .trust-section {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .vehicle-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline article:nth-child(2) {
    border-right: 0;
  }

  .timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 760px) {
  .announcement-bar {
    display: grid;
    gap: 4px;
    font-size: 0.78rem;
  }

  .header-inner,
  main,
  .footer,
  .mobile-nav {
    width: min(100% - 22px, 1180px);
  }

  .header-inner {
    gap: 10px;
  }

  .logo {
    font-size: 1rem;
  }

  .header-search {
    order: 3;
    grid-column: 1 / -1;
    width: 100%;
  }

  .hero {
    gap: 30px;
    padding: 44px 0 38px;
  }

  .hero h1 {
    font-size: clamp(2.7rem, 13vw, 4.2rem);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .hero-stats div {
    min-width: 0;
  }

  .sunset-card {
    min-height: 390px;
    border-width: 7px;
    border-radius: 26px;
  }

  .floating-card {
    min-width: 130px;
    padding: 12px;
  }

  .floating-card.top {
    left: 12px;
  }

  .floating-card.bottom {
    right: 12px;
    bottom: 110px;
  }

  .trust-section,
  .vehicle-grid,
  .package-grid,
  .testimonial-grid,
  .footer,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .heading-row {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .vehicle-toolbar {
    border-radius: 18px;
  }

  .btn-reset {
    width: 100%;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .timeline article,
  .timeline article:nth-child(2) {
    border-right: 0;
  }

  .timeline article:not(:last-child),
  .timeline article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .testimonial-card p {
    min-height: auto;
  }

  .cta-section {
    padding: 28px;
    border-radius: 24px;
  }
}

@media (max-width: 420px) {
  .hero-stats {
    grid-template-columns: 1fr;
  }

  .card-actions {
    display: grid;
  }
}
