/* BusWisata Nusantara — style.css */
/* Primary: #b71c1c | Accent: #ffeb3b | Bold & Energik */

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

:root {
  --red: #b71c1c;
  --red-dark: #7f0000;
  --red-light: #e53935;
  --yellow: #ffeb3b;
  --yellow-dark: #f9a825;
  --white: #ffffff;
  --gray-50: #fafafa;
  --gray-100: #f5f5f5;
  --gray-200: #eeeeee;
  --gray-600: #757575;
  --gray-800: #424242;
  --gray-900: #212121;
  --font: -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --radius: 8px;
  --shadow: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.18);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
}

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

/* ===== DEMO BAR ===== */
.demo-bar {
  background: #1a1a2e;
  color: #fff;
  text-align: center;
  padding: 8px 16px;
  font-size: 13px;
  font-family: var(--font);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.demo-bar a.catalog { color: #7dd3fc; }
.demo-bar a.pesan { color: #fbbf24; font-weight: 600; }

/* ===== HEADER / NAV ===== */
header {
  background: var(--red);
  color: var(--white);
  position: sticky;
  top: 36px;
  z-index: 900;
  box-shadow: 0 2px 8px rgba(183,28,28,0.4);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--white);
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--yellow);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* checkbox hack nav */
#nav-toggle { display: none; }

.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  border-radius: 4px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 4px;
}

nav ul li a {
  display: block;
  padding: 8px 14px;
  border-radius: var(--radius);
  color: rgba(255,255,255,0.9);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background 0.2s, color 0.2s;
}
nav ul li a:hover,
nav ul li a.active {
  background: var(--yellow);
  color: var(--red-dark);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 50%, var(--red-light) 100%);
  color: var(--white);
  padding: 64px 16px 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 200%;
  height: 80px;
  background: var(--white);
  border-radius: 50% 50% 0 0;
}

.hero-badge {
  display: inline-block;
  background: var(--yellow);
  color: var(--red-dark);
  font-weight: 800;
  font-size: 0.78rem;
  padding: 4px 14px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.hero h1 em {
  color: var(--yellow);
  font-style: normal;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 560px;
  margin: 0 auto 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.btn-yellow {
  background: var(--yellow);
  color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); }

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

.btn-sm {
  padding: 10px 20px;
  font-size: 0.88rem;
}

/* bus SVG illustration in hero */
.hero-illustration {
  margin: 32px auto 0;
  max-width: 320px;
}

/* ===== STATS STRIP ===== */
.stats-strip {
  background: var(--yellow);
  padding: 24px 16px;
}
.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  text-align: center;
}
.stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--red-dark);
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  color: var(--red);
  font-weight: 600;
  margin-top: 4px;
}

/* ===== SECTION ===== */
.section {
  padding: 64px 16px;
}
.section-alt { background: var(--gray-50); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: clamp(1.4rem, 3.5vw, 2.2rem);
  font-weight: 900;
  color: var(--gray-900);
  margin-bottom: 10px;
}
.section-header p {
  color: var(--gray-600);
  max-width: 500px;
  margin: 0 auto;
}
.section-header .accent-line {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow));
  border-radius: 2px;
  margin: 12px auto 0;
}

.container { max-width: 1100px; margin: 0 auto; }

/* ===== FEATURE CARDS ===== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 24px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform 0.25s, box-shadow 0.25s;
  text-align: center;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--red), var(--red-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 8px;
}
.feature-card p { font-size: 0.9rem; color: var(--gray-600); }

/* ===== PAKET CARDS ===== */
.paket-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.paket-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}
.paket-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.paket-card.featured { border: 3px solid var(--yellow); }

.paket-header {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 24px;
  position: relative;
}
.paket-header.alt { background: linear-gradient(135deg, var(--red), var(--red-light)); }

.paket-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--yellow);
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.paket-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.paket-duration {
  font-size: 0.82rem;
  opacity: 0.85;
}
.paket-price {
  margin-top: 12px;
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--yellow);
}
.paket-price span {
  font-size: 0.82rem;
  opacity: 0.8;
  color: var(--white);
  font-weight: 400;
}

.paket-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.include-list {
  list-style: none;
  margin-bottom: 12px;
}
.include-list li {
  font-size: 0.88rem;
  color: var(--gray-800);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.include-list li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background: var(--red);
  border-radius: 50%;
  display: inline-block;
}
.include-list li.exclude { color: var(--gray-600); }
.include-list li.exclude::before { background: var(--gray-200); }

.paket-body .btn { margin-top: auto; width: 100%; text-align: center; }

/* ===== TESTIMONI ===== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.testi-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--yellow);
  position: relative;
}

.testi-quote {
  font-size: 3rem;
  line-height: 1;
  color: var(--yellow);
  font-weight: 900;
  margin-bottom: 8px;
}

.testi-text {
  font-size: 0.92rem;
  color: var(--gray-800);
  line-height: 1.65;
  margin-bottom: 16px;
  font-style: italic;
}

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

.testi-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
  flex-shrink: 0;
}

.testi-name { font-weight: 700; font-size: 0.9rem; }
.testi-role { font-size: 0.78rem; color: var(--gray-600); }

.stars { color: var(--yellow-dark); font-size: 0.9rem; margin-bottom: 2px; }

/* ===== CTA BAND ===== */
.cta-band {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 60px 16px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 900;
  margin-bottom: 12px;
}
.cta-band p { opacity: 0.9; margin-bottom: 28px; }
.cta-band .btn-yellow { font-size: 1.05rem; padding: 16px 36px; }

/* ===== DESTINASI ===== */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.dest-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s;
}
.dest-card:hover { transform: translateY(-4px); }

.dest-visual {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.dest-body {
  padding: 18px;
}
.dest-body h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--gray-900);
  margin-bottom: 6px;
}
.dest-body p { font-size: 0.85rem; color: var(--gray-600); margin-bottom: 10px; }

.dest-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dest-tag {
  background: var(--yellow);
  color: var(--red-dark);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
}

/* ===== GALERI ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s;
}
.gallery-item:hover { transform: scale(1.02); }

.gallery-visual {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 12px;
}

.gallery-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  background: rgba(0,0,0,0.35);
  padding: 4px 10px;
  border-radius: 20px;
}

/* ===== KONTAK ===== */
.kontak-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.form-group {
  margin-bottom: 18px;
}
.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 6px;
  color: var(--gray-800);
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--gray-900);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  background: var(--red);
  color: var(--white);
  border: none;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  width: 100%;
  transition: background 0.2s, transform 0.2s;
}
.btn-submit:hover { background: var(--red-dark); transform: translateY(-2px); }

.info-card {
  background: var(--gray-50);
  border-radius: 12px;
  padding: 28px;
}
.info-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--red);
  margin-bottom: 20px;
}

.info-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  align-items: flex-start;
}
.info-item-icon {
  width: 40px;
  height: 40px;
  background: var(--red);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-item-text strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 2px;
}
.info-item-text span { font-size: 0.85rem; color: var(--gray-600); }

.map-placeholder {
  background: linear-gradient(135deg, #e8eaf6, #c5cae9);
  border-radius: 12px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  color: #5c6bc0;
}
.map-placeholder strong { font-size: 0.88rem; font-weight: 700; }
.map-placeholder span { font-size: 0.78rem; opacity: 0.7; }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background: linear-gradient(135deg, var(--red-dark), var(--red));
  color: var(--white);
  padding: 48px 16px;
  text-align: center;
}
.page-hero h1 {
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  font-weight: 900;
  margin-bottom: 10px;
}
.page-hero p { opacity: 0.9; max-width: 500px; margin: 0 auto; }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-900);
  color: rgba(255,255,255,0.8);
  padding: 40px 16px 20px;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 {
  color: var(--yellow);
  font-size: 0.9rem;
  font-weight: 800;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.footer-col p, .footer-col a {
  font-size: 0.85rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.7);
  display: block;
}
.footer-col a:hover { color: var(--yellow); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

/* ===== WHATSAPP FAB ===== */
.wa-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25d366;
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  z-index: 800;
  transition: transform 0.2s;
}
.wa-fab:hover { transform: scale(1.1); }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-burger { display: flex; }

  nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--red-dark);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  #nav-toggle:checked ~ nav {
    max-height: 400px;
  }

  nav ul {
    flex-direction: column;
    padding: 12px 16px 20px;
    gap: 4px;
  }

  nav ul li a { padding: 10px 14px; }

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

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

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }

  .hero { padding: 48px 16px 72px; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-num { font-size: 1.4rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}
