@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #009900;
  --primary-dark: #007a00;
  --primary-deeper: #005c00;
  --primary-light: #e6f9e6;
  --primary-10: rgba(0, 153, 0, 0.1);
  --primary-20: rgba(0, 153, 0, 0.2);
  --secondary: #1a1a2e;
  --accent: #f5c518;
  --accent-hover: #ddb115;
  --text-dark: #1a1a2e;
  --text-gray: #5a6270;
  --bg-color: #f7faf7;
  --white: #ffffff;
  --border-color: #e0e8e0;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 20px 40px rgba(0, 153, 0, 0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-color);
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--secondary);
  font-weight: 700;
  line-height: 1.2;
}

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ══════════════════════════════════════════
   NAVBAR
   ══════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 16px 0;
  z-index: 1000;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.06);
  padding: 10px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  transition: var(--transition);
}

/* On hero (dark bg) logo is white — needs filter for visibility on white navbar */
.navbar.scrolled .nav-logo img {
  filter: brightness(0.2);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  transition: var(--transition);
}

.navbar.scrolled .nav-links a:not(.btn-nav) {
  color: var(--text-dark);
}

.nav-links a:not(.btn-nav):hover {
  color: var(--primary) !important;
}

.nav-active {
  color: var(--primary) !important;
}

.btn-nav {
  background: var(--primary);
  color: var(--white) !important;
  padding: 10px 24px;
  border-radius: 100px;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 153, 0, 0.3);
}

.btn-nav:hover {
  transform: translateY(-2px);
  background: var(--primary-dark);
  box-shadow: 0 6px 20px rgba(0, 153, 0, 0.4);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  color: var(--white);
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.navbar.scrolled .hamburger {
  color: var(--secondary);
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--secondary);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(0, 153, 0, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(0, 153, 0, 0.1) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary-10);
  border: 1px solid var(--primary-20);
  color: #4ade80;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 28px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero h1 .highlight {
  color: #4ade80;
}

.hero p {
  font-size: 1.1rem;
  color: #a1aab5;
  margin-bottom: 40px;
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  gap: 16px;
}

.hero-img-wrap {
  position: relative;
}

.hero-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 4px 14px rgba(0, 153, 0, 0.3);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 153, 0, 0.4);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  padding: 16px 32px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.25);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
}

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
.section {
  padding: 100px 0;
}

.section-white {
  background: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
  display: block;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-gray);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════
   FEATURES
   ══════════════════════════════════════════ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  transition: var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1) rotate(-5deg);
}

.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

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

/* ══════════════════════════════════════════
   ARMADA CARDS (matching user screenshot layout)
   ══════════════════════════════════════════ */
.armada-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.armada-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.armada-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--primary);
}

.armada-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f4f0;
  overflow: hidden;
}

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

.armada-card:hover .armada-img-wrap img {
  transform: scale(1.05);
}

.armada-body {
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.armada-name {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.armada-seats {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--secondary);
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border-color);
}

.armada-seats i {
  color: var(--primary);
  font-size: 1.05rem;
}

.armada-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 8px;
  margin-bottom: 14px;
}

.price-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.price-label {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.price-amount {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--secondary);
  white-space: nowrap;
}

.btn-detail {
  background: var(--primary);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-detail:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(0, 153, 0, 0.3);
  color: var(--white);
}

.armada-note {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 0.75rem;
  color: var(--primary);
  line-height: 1.5;
  margin-top: auto;
}

.armada-note i {
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════
   CLIENT / TRUST SECTION — Auto-scroll marquee
   ══════════════════════════════════════════ */
.client-section {
  background: var(--white);
  padding: 80px 0;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.client-track-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.client-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: marquee 25s linear infinite;
}

.client-track:hover {
  animation-play-state: paused;
}

.client-track img {
  height: 45px;
  width: auto;
  flex-shrink: 0;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.client-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════
   KEBUTUHAN PERJALANAN
   ══════════════════════════════════════════ */
.needs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.need-card {
  background: var(--white);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid var(--border-color);
  cursor: default;
}

.need-card:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.need-card i {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 16px;
  display: block;
}

.need-card span {
  font-weight: 700;
  color: var(--secondary);
  font-size: 1rem;
}

/* ══════════════════════════════════════════
   AREA JANGKAUAN LAYANAN (SEO JABODETABEK)
   ══════════════════════════════════════════ */
.area-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.area-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.area-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: var(--shadow-hover);
}

.area-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.area-card-icon {
  width: 44px;
  height: 44px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.area-card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--secondary);
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.area-tag {
  background: var(--bg-color);
  color: var(--text-gray);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.area-tag:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
  border-color: var(--primary);
}

/* ══════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════ */
.cta-wrap {
  background: linear-gradient(135deg, var(--primary), var(--primary-deeper));
  border-radius: var(--radius-lg);
  padding: 80px 40px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-wrap::after {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  filter: blur(60px);
}

.cta-wrap h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.cta-wrap p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 40px;
  position: relative;
  z-index: 2;
}

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: rgba(0, 153, 0, 0.3);
}

.faq-question {
  padding: 22px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 16px;
}

.faq-question i {
  color: var(--primary);
  transition: transform 0.3s;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-gray);
  line-height: 1.8;
}

.faq-item.active {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding: 0 24px 24px;
  max-height: 300px;
}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.footer {
  background: var(--secondary);
  color: #a1aab5;
  padding: 80px 0 30px;
}

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

.footer-brand img {
  height: 45px;
  margin-bottom: 20px;
}

.footer-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-contact li {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}

.footer-contact i {
  color: var(--primary);
  font-size: 1.2rem;
  margin-top: 3px;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

/* ══════════════════════════════════════════
   FLOATING WA
   ══════════════════════════════════════════ */
.floating-wa {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25D366;
  color: white;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: var(--transition);
}

.floating-wa:hover {
  transform: scale(1.1) translateY(-5px);
  color: white;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

/* ══════════════════════════════════════════
   MAP
   ══════════════════════════════════════════ */
.map-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 450px;
  border: 1px solid var(--border-color);
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ══════════════════════════════════════════
   PAGE HEADER (for subpages)
   ══════════════════════════════════════════ */
.page-header {
  padding: 150px 0 60px;
  background: var(--secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(0, 153, 0, 0.15) 0%, transparent 60%);
}

.page-header h1 {
  color: var(--white);
  font-size: 2.8rem;
  margin-bottom: 16px;
  position: relative;
  z-index: 2;
}

.page-header p {
  color: #a1aab5;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  font-size: 1.05rem;
}

.page-header .section-tag {
  position: relative;
  z-index: 2;
}

/* ══════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════ */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }
.mt-60 { margin-top: 60px; }

/* Slider dots hidden on desktop */
.slider-dots {
  display: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .armada-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-img-wrap { display: none; }
  .hero h1 { font-size: 3rem; }
  .hero-btns { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; }
  .btn-primary, .btn-outline { width: 100%; justify-content: center; }

  .nav-links {
    position: fixed;
    top: 0; left: -100%;
    width: 85%; height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 100px 30px 30px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    align-items: flex-start;
    gap: 24px;
  }
  .nav-links a {
    color: var(--secondary) !important;
    font-size: 1.15rem;
  }
  .nav-links.active { left: 0; }
  .hamburger { display: block; }

  .section { padding: 60px 0; }
  .section-header h2 { font-size: 1.8rem; }

  /* ── Features 2 kolom di mobile ── */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .feature-card {
    padding: 24px 16px;
  }

  .feature-icon {
    width: 50px;
    height: 50px;
    font-size: 22px;
    margin-bottom: 16px;
  }

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

  .feature-card p {
    font-size: 0.85rem;
  }

  /* ── Mobile Armada: berjejer ke bawah ── */
  .armada-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .slider-dots {
    display: none !important;
  }

  /* ── Layanan Perjalanan 2 kolom di mobile ── */
  .needs-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .need-card {
    padding: 20px 12px;
  }

  .need-card i {
    font-size: 1.8rem;
    margin-bottom: 10px;
  }

  .need-card span {
    font-size: 0.85rem;
  }

  .cta-wrap { padding: 50px 20px; }
  .cta-wrap h2 { font-size: 1.8rem; }

  .footer-grid { grid-template-columns: 1fr; gap: 40px; }

  .client-track { gap: 40px; }
  .client-track img { height: 32px; }

  .page-header h1 { font-size: 2rem; }

  /* Contact page grid to single column on mobile */
  .contact-grid {
    grid-template-columns: 1fr !important;
  }

  /* Area Jangkauan Layanan mobile */
  .area-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
