/**
 * Legacy content skin.
 *
 * ~138 pages carry hand-built HTML from the previous dark navy/gold theme
 * (.bat-section, .service-summary-text, inline var(--navy-800) …) baked
 * directly into their database content. Rewriting that HTML risks the
 * wording it was built to hold, so instead it renders untouched inside a
 * `.bat-legacy` canvas that supplies the classes and custom properties it
 * expects — a scoped copy of the relevant rules from the live
 * bali-airport-transfer theme's assets/css/main.min.v6.css, so the content
 * looks the way it already does on the live site rather than unstyled.
 *
 * Every selector here is scoped under .bat-legacy on purpose: these tokens
 * and class names (--white, .container, .lead, .btn …) are common enough
 * that leaving them unscoped would leak into the rest of this theme, which
 * has its own paper/ink design system.
 */

.bat-legacy {
  --navy-950: #0a0e1a;
  --navy-900: #0d1326;
  --navy-800: #121a36;
  --navy-700: #1a2548;
  --navy-600: #243362;
  --navy-500: #2f4480;

  --gold-400: #a08a4e;
  --gold-300: #b8a265;
  --gold-200: #cdb87e;
  --gold-100: #e4d8b8;

  --white: #ffffff;
  --white-90: rgba(255, 255, 255, 0.9);
  --white-70: rgba(255, 255, 255, 0.7);
  --white-50: rgba(255, 255, 255, 0.5);
  --white-20: rgba(255, 255, 255, 0.2);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);

  --success: #075c27;
  --success-hover: #054718;
  --text-body: #c8cdd8;

  --font-heading: 'Cormorant Garamond', 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Source Sans 3', 'Helvetica Neue', 'Segoe UI', system-ui, sans-serif;

  --section-pad: clamp(56px, 8vw, 100px);
  --container: min(1200px, 100%);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  background: var(--navy-950);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.7;
}

.bat-legacy-content { padding-block: var(--section-pad); }

.bat-legacy img, .bat-legacy picture, .bat-legacy video, .bat-legacy svg {
  display: block; max-width: 100%; height: auto;
}
.bat-legacy a { color: var(--gold-400); text-decoration: none; transition: color 0.3s ease; }
.bat-legacy a:hover { color: var(--gold-200); }
.bat-legacy ul, .bat-legacy ol { list-style: none; margin: 0; padding: 0; }
.bat-legacy h1, .bat-legacy h2, .bat-legacy h3, .bat-legacy h4, .bat-legacy h5, .bat-legacy h6 {
  font-family: var(--font-heading); color: var(--white); line-height: 1.2; font-weight: 400;
}
.bat-legacy h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
.bat-legacy h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
.bat-legacy h3 { font-size: clamp(1.3rem, 2.5vw, 1.6rem); }
.bat-legacy h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }
.bat-legacy p { margin: 0 0 1rem; }
.bat-legacy strong { color: var(--white); }
.bat-legacy table { width: 100%; border-collapse: collapse; }

.bat-legacy .container, .bat-legacy .container-new {
  width: var(--container); max-width: 1200px; margin-inline: auto; padding-inline: 1.25rem; box-sizing: border-box;
}

/* ── Labels / titles ─────────────────────────────────────────────── */
.bat-legacy .section-label {
  display: inline-block; font-family: var(--font-heading); font-size: 1rem; font-weight: 400;
  font-style: italic; letter-spacing: 1px; color: var(--gold-400); margin-bottom: 0.75rem;
}
.bat-legacy .section-title { font-family: var(--font-heading); color: var(--white); margin-bottom: 1rem; text-align: center; }
.bat-legacy .section-subtitle { color: var(--white-70); text-align: center; max-width: 640px; margin-inline: auto; margin-bottom: 3rem; font-size: 1.05rem; }
.bat-legacy .gold { color: var(--gold-400); }

/* ── Buttons ──────────────────────────────────────────────────────── */
.bat-legacy .btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: 0.02em; text-decoration: none;
  cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap;
}
.bat-legacy .btn:hover { transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,0.18); }
.bat-legacy .btn-lg { padding: 16px 34px; font-size: 16px; }
.bat-legacy .btn-primary, .bat-legacy .btn-accent { background: #D4A24C; color: #0A2540; border-color: #D4A24C; }
.bat-legacy .btn-primary:hover, .bat-legacy .btn-accent:hover { background: #e8b760; color: #0A2540; }
.bat-legacy .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.45); }
.bat-legacy .btn-outline:hover { border-color: #D4A24C; color: #D4A24C; }
.bat-legacy a.btn-whatsapp, .bat-legacy .btn-whatsapp {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.9rem 2rem; font-size: 0.95rem;
  font-weight: 700; color: #fff; background: #075e54; border: none; border-radius: 6px; cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease;
  text-transform: uppercase; letter-spacing: 1px;
}
.bat-legacy a.btn-whatsapp:hover, .bat-legacy .btn-whatsapp:hover { transform: translateY(-2px); background: #075e54; box-shadow: 0 8px 30px rgba(12,138,62,0.3); color: #fff; }
.bat-legacy .hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 2rem; }
.bat-legacy .badge {
  display: inline-block; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase;
  color: #D4A24C; background: rgba(212,162,76,0.10); border: 1px solid rgba(212,162,76,0.45);
  padding: 7px 16px; border-radius: 100px; margin-bottom: 1.4rem;
}
.bat-legacy .lead {
  font-size: clamp(17px, 1.8vw, 21px); line-height: 1.55; color: rgba(255,255,255,0.92);
  max-width: 640px; margin: 0 0 2rem; font-weight: 400;
}

/* ── Answer-first / AEO callouts ──────────────────────────────────── */
.bat-legacy .service-summary-text, .bat-legacy .aeo-block, .bat-legacy .x-aeo {
  font-size: 18px; line-height: 1.7; color: #fff; background: rgba(212,175,55,0.08);
  border-left: 3px solid var(--gold-400); padding: 18px 20px; border-radius: 0 8px 8px 0; margin: 0 0 26px;
}
.bat-legacy .service-summary { padding: var(--section-pad) 0; background: var(--navy-950); }
.bat-legacy .service-summary-inner { max-width: 800px; margin-inline: auto; text-align: center; }
.bat-legacy .service-summary p { font-size: 1.1rem; line-height: 1.8; color: var(--white-70); }
.bat-legacy .key-takeaways, .bat-legacy .post-faq {
  background: rgba(255,255,255,0.03); border: 1px solid var(--white-10); border-radius: 12px; padding: 1.5rem 1.75rem;
}

/* ── Sections / bands ─────────────────────────────────────────────── */
.bat-legacy .bat-section { padding: clamp(56px, 8vw, 100px) 0; position: relative; }
.bat-legacy .bat-section h2 {
  font-family: var(--font-heading); font-size: clamp(28px, 4vw, 42px); font-weight: 400; color: #fff;
  margin: 0 0 2.5rem; text-align: center; letter-spacing: -0.005em; max-width: 22ch; margin-inline: auto;
}

/* ── Hero ─────────────────────────────────────────────────────────── */
.bat-legacy .bat-hero {
  position: relative; padding: clamp(80px, 12vw, 120px) 0 clamp(40px, 6vw, 80px);
  display: flex; align-items: flex-start; overflow: hidden;
}
.bat-legacy .bat-hero-overlay { position: absolute; inset: 0; pointer-events: none; }
.bat-legacy .bat-hero-content { position: relative; z-index: 2; width: 100%; max-width: 540px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 32px); }
.bat-legacy .bat-hero h1 { font-family: var(--font-heading); font-size: clamp(30px, 5vw, 46px); font-weight: 400; color: #fff; margin: 0 auto 20px; line-height: 1.2; }
.bat-legacy .bat-hero h2 { font-family: var(--font-heading); font-size: clamp(36px, 7vw, 56px); font-weight: 500; color: #fff; margin: 1rem 0 1.2rem; line-height: 1.05; letter-spacing: -0.01em; }
.bat-legacy .bat-hero .lead { color: rgba(255,255,255,0.92); font-size: clamp(15px, 1.7vw, 18px); line-height: 1.6; margin: 0 0 1.4rem; max-width: 480px; }
.bat-legacy .bat-hero .lead strong { color: #D4A24C; font-weight: 600; }
/* Heroes whose only child is an <h1> (route/hotel/about pages) collapse to a single readable column instead of the flex layout meant for the homepage's form. */
.bat-legacy .bat-hero:has(> h1) { display: block; min-height: auto; padding: 76px 0 40px; }
.bat-legacy .bat-hero:has(> h1) > * { max-width: 900px; margin-inline: auto; padding-inline: 22px; box-sizing: border-box; }
.bat-legacy .bat-hero:has(> h1) ul.bat-route { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 10px; margin: 0 auto 22px; }
.bat-legacy .bat-hero:has(> h1) ul.bat-route li { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 8px; padding: 12px 14px; color: rgba(255,255,255,0.92); font-size: 15px; }

/* ── Trust strip ──────────────────────────────────────────────────── */
.bat-legacy .bat-trust-strip { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 14px; color: rgba(255,255,255,0.75); margin-bottom: 1.8rem; padding-bottom: 1.4rem; border-bottom: 1px solid rgba(212,162,76,0.18); }
.bat-legacy .bat-trust-strip span:first-child { color: #D4A24C; font-weight: 700; font-size: 15px; }
.bat-legacy .trust-bar { background: var(--navy-900); padding: 2rem 0; border-top: 1px solid var(--white-05); border-bottom: 1px solid var(--white-05); }
.bat-legacy .trust-items { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 2rem 3rem; }
.bat-legacy .trust-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.9rem; color: var(--white-70); font-weight: 600; }

/* ── Grids / cards ────────────────────────────────────────────────── */
.bat-legacy .bat-grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.bat-legacy .bat-grid-3, .bat-legacy .bat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.bat-legacy .bat-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.bat-legacy .bat-card-mini, .bat-legacy .bat-card {
  background: rgba(255,255,255,0.04); border: 1px solid rgba(212,162,76,0.18); border-radius: 14px;
  padding: 22px 20px; transition: border-color .25s, transform .25s;
}
.bat-legacy .bat-card-mini:hover, .bat-legacy .bat-card:hover { border-color: rgba(212,162,76,0.5); transform: translateY(-3px); }
.bat-legacy .bat-icon { font-size: 28px; margin-bottom: 12px; }
.bat-legacy .bat-card-mini h3, .bat-legacy .bat-card-mini h4 { margin: 0 0 6px; font-size: 16px; color: #fff; font-weight: 600; font-family: var(--font-body); }
.bat-legacy .bat-card-mini p { margin: 0; font-size: 14px; color: rgba(255,255,255,0.7); line-height: 1.5; }

/* ── Steps (how it works) ─────────────────────────────────────────── */
.bat-legacy .bat-step { text-align: center; padding: 28px 22px; background: rgba(212,162,76,0.04); border: 1px solid rgba(212,162,76,0.18); border-radius: 16px; position: relative; }
.bat-legacy .bat-step-num {
  display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50%;
  background: #D4A24C; color: #0A2540; font-family: var(--font-heading); font-size: 22px; font-weight: 600; margin-bottom: 1rem;
}
.bat-legacy .bat-step h3, .bat-legacy .bat-step h4 { font-size: 18px; color: #fff; margin: 0 0 0.6rem; font-family: var(--font-heading); font-weight: 500; }
.bat-legacy .bat-step p { color: rgba(255,255,255,0.78); font-size: 14.5px; margin: 0; line-height: 1.55; }

/* ── Vehicle cards ────────────────────────────────────────────────── */
.bat-legacy .bat-vehicle-card {
  display: block; background: rgba(255,255,255,0.03); border: 1px solid rgba(212,162,76,0.18); border-radius: 16px;
  overflow: hidden; text-decoration: none; color: inherit; transition: border-color .25s, transform .25s, box-shadow .25s;
}
.bat-legacy .bat-vehicle-card:hover { border-color: rgba(212,162,76,0.55); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3); }
.bat-legacy .bat-vehicle-img, .bat-legacy img.bat-vehicle-img { height: 180px; width: 100%; object-fit: cover; background-color: #1a3050; background-size: cover; background-position: center; }
.bat-legacy .bat-vehicle-body { padding: 18px 20px 22px; }
.bat-legacy .bat-vehicle-tier { font-size: 11px; letter-spacing: 0.12em; font-weight: 700; color: #D4A24C; margin-bottom: 6px; }
.bat-legacy .bat-vehicle-tier.bat-most-loved { background: #D4A24C; color: #0A2540; display: inline-block; padding: 3px 10px; border-radius: 4px; letter-spacing: 0.06em; }
.bat-legacy .bat-vehicle-body h3, .bat-legacy .bat-vehicle-body h4 { font-family: var(--font-heading); font-size: 19px; color: #fff; margin: 0 0 6px; font-weight: 500; }
.bat-legacy .bat-vehicle-body p { color: rgba(255,255,255,0.7); margin: 0; font-size: 14px; }

/* ── Route pills ──────────────────────────────────────────────────── */
.bat-legacy .bat-route-grid, .bat-legacy .bat-nearby-routes { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.bat-legacy .bat-route-pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,162,76,0.25); border-radius: 999px; color: #fff; text-decoration: none; font-size: 14px;
  transition: background .15s, border-color .15s;
}
.bat-legacy .bat-route-pill em { font-style: normal; color: #D4A24C; font-weight: 600; }
.bat-legacy .bat-route-pill:hover { background: rgba(212,162,76,0.12); border-color: rgba(212,162,76,0.6); color: #fff; }

/* ── FAQ accordion (legacy contract — see assets/js/legacy-faq.js) ───── */
.bat-legacy .faq-list { max-width: 800px; margin-inline: auto; margin-top: 2rem; }
.bat-legacy .faq-item, .bat-legacy .bat-faq-item { border-bottom: 1px solid var(--white-10); }
.bat-legacy .faq-question {
  display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 1.25rem 0;
  font-size: 1.05rem; font-weight: 600; color: var(--white-90); background: none; border: none; text-align: left;
  cursor: pointer; transition: color 0.3s ease; gap: 1rem; font-family: var(--font-body);
}
.bat-legacy .faq-question:hover, .bat-legacy .faq-question[aria-expanded="true"] { color: var(--gold-400); }
.bat-legacy .faq-icon { flex-shrink: 0; width: 24px; height: 24px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--gold-400); transition: transform 0.3s ease; }
.bat-legacy .faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.bat-legacy .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out), padding 0.3s ease; }
.bat-legacy .faq-answer-inner { padding-bottom: 1.25rem; font-size: 0.95rem; color: var(--white-50); line-height: 1.7; }
.bat-legacy details summary { cursor: pointer; font-family: var(--font-heading); font-size: 1.2rem; color: var(--white); list-style: none; }
.bat-legacy details > p { margin-top: 14px; color: var(--text-body); line-height: 1.85; }

/* ── CTA banner ───────────────────────────────────────────────────── */
.bat-legacy .cta-banner { padding: var(--section-pad) 0; background: var(--navy-950); }
.bat-legacy .cta-inner, .bat-legacy .cta-banner-card {
  position: relative; background: linear-gradient(135deg, var(--navy-700), var(--navy-800)); border-radius: 20px;
  padding: 4rem 3rem; text-align: center; overflow: hidden; border: 1px solid var(--white-10);
}
.bat-legacy .cta-banner-card h2, .bat-legacy .cta-inner h2 { margin-bottom: 1rem; }
.bat-legacy .cta-banner-card p, .bat-legacy .cta-inner p { color: var(--white-70); max-width: 560px; margin-inline: auto; margin-bottom: 2rem; font-size: 1.1rem; }
.bat-legacy .cta-banner-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }

/* ── Breadcrumb (legacy pages that carry their own) ───────────────── */
.bat-legacy .bat-breadcrumb, .bat-legacy .breadcrumb { font-size: 13px; color: var(--white-50); }
.bat-legacy .bat-breadcrumb a, .bat-legacy .breadcrumb a { color: var(--gold-400); }
.bat-legacy .bat-breadcrumb-sep { margin: 0 8px; }

/* ── Tables (price tables etc.) ───────────────────────────────────── */
.bat-legacy table th { color: #fff; text-align: left; padding: 12px 14px; }
.bat-legacy table td { padding: 12px 14px; border-bottom: 1px solid var(--white-10); }

@media (max-width: 820px) {
  .bat-legacy .bat-hero:has(> h1) { padding: 68px 0 32px; }
  .bat-legacy .bat-hero:has(> h1) ul.bat-route { grid-template-columns: 1fr; }
  .bat-legacy .cta-banner-card, .bat-legacy .cta-inner { padding: 2.5rem 1.5rem; }
}
