/* =====================================================================
   home.css — Home-page section refinements
   Loaded after style.css.
   Aligns all home-page sections with the Arsha sky-blue design language.
   ===================================================================== */

/* ─── Local design tokens (Arsha sky-blue palette) ──────────────── */
:root {
  --hm-b1:   #f5f6f8;
  --hm-b2:   #d0e8f5;
  --hm-b3:   #90c8e8;
  --hm-b4:   #6bbde8;
  --hm-b7:   #47b2e4;
  --hm-b8:   #2e9fd4;
  --hm-b9:   #37517e;
  --hm-muted: #6b7ba4;
  --hm-radius: 14px;
  --hm-shadow-sm: 0 2px 8px rgba(71, 178, 228, .07);
  --hm-shadow-md: 0 4px 18px rgba(71, 178, 228, .11);
  --hm-shadow-lg: 0 10px 40px rgba(71, 178, 228, .15);
  --hm-ease: cubic-bezier(.4, 0, .2, 1);
  --hm-dur:  0.26s;
}

/* ─── Section alternating bg — use account page's light-blue tint ── */
.section-bg {
  background: var(--hm-b1) !important;
}

/* ─── Hero: dark blue Arsha background ───────────────────────────── */
.booking-homepage-section {
  background: linear-gradient(135deg, #1e3a5f 0%, #37517e 55%, #2e7db8 100%) !important;
  padding: 100px 0 60px;
}

/* White text on dark hero */
.booking-homepage-section .booking-hero-intro .display-4 {
  color: #ffffff;
}
.booking-homepage-section .booking-hero-intro .lead {
  color: rgba(255, 255, 255, .80);
}
.booking-homepage-section .booking-eyebrow {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .25);
  color: #ffffff;
}
.booking-homepage-section .booking-hero-badges span {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .25);
  color: #ffffff;
}
.booking-homepage-section .booking-metric {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .18);
}
.booking-homepage-section .booking-metric strong {
  color: #ffffff;
}
.booking-homepage-section .booking-metric span {
  color: rgba(255, 255, 255, .75);
}

/* Hide aside (car mockup, phone cards) */
.booking-homepage-section .booking-visual-stage {
  display: none;
}

/* Form fills full width of its Bootstrap column — aside is hidden */
.booking-homepage-section .booking-hero-layout {
  display: block;
}

/* Form and results cards on dark hero: prominent shadow */
.booking-homepage-section .form-section.booking-form-stage,
.booking-homepage-section #route-results.form-section {
  box-shadow: 0 24px 64px rgba(0, 0, 0, .30);
}

/* ─── Section headings ──────────────────────────────────────────── */
.section-title h2 {
  font-weight: 700;
}

.section-title p {
  color: var(--hm-muted);
  font-size: 0.98rem;
  line-height: 1.72;
  max-width: 62ch;
  margin-left: auto;
  margin-right: auto;
}

/* ─── Clients logo strip ────────────────────────────────────────── */
.clients {
  background: var(--hm-b1) !important;
  border-top: 1px solid var(--hm-b2);
  border-bottom: 1px solid var(--hm-b2);
}

/* ─── About section ─────────────────────────────────────────────── */
.about .row.content > [class*="col"] p {
  color: var(--hm-muted);
  font-size: 0.98rem;
  line-height: 1.75;
}

.about .content ul li {
  color: var(--hm-b9);
  font-weight: 500;
}

.about .content ul i {
  color: var(--hm-b7);
}

/* ─── Why Us ─────────────────────────────────────────────────────── */
.why-us .content h3 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.025em;
}

.why-us .content h3 strong {
  color: var(--hm-b7);
}

.why-us .content > p {
  color: var(--hm-muted);
  line-height: 1.72;
}

.why-us .img {
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow-lg);
  min-height: 340px;
}

/* ─── Accordion (Why Us FAQ) ─────────────────────────────────────── */
.accordion-list a {
  font-weight: 600;
  color: var(--hm-b9);
  transition: color var(--hm-dur) var(--hm-ease);
}

.accordion-list a:not(.collapsed) {
  color: var(--hm-b7);
}

.accordion-list a:hover {
  color: var(--hm-b7);
}

.accordion-list a span {
  color: var(--hm-b7);
}

/* ─── Services cards ─────────────────────────────────────────────── */
/* Matches account page form-panel card: same border, radius, shadow */
.services .icon-box {
  background: #fff;
  border: 1.5px solid var(--hm-b2);
  border-radius: var(--hm-radius);
  box-shadow: var(--hm-shadow-sm);
  transition:
    transform var(--hm-dur) var(--hm-ease),
    box-shadow var(--hm-dur) var(--hm-ease),
    border-color var(--hm-dur) var(--hm-ease);
}

.services .icon-box:hover {
  transform: translateY(-6px);
  box-shadow: var(--hm-shadow-lg);
  border-color: var(--hm-b4);
}

.services .icon-box h4 a {
  color: var(--hm-b9);
  font-weight: 700;
  font-size: 1.05rem;
}

.services .icon-box:hover h4 a {
  color: var(--hm-b7);
}

.services .icon-box p {
  color: var(--hm-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* ─── Booking CTA panel ──────────────────────────────────────────── */
/* Full dark-brand-panel treatment matching account page left panel   */
.booking-cta {
  padding: 56px 0;
  background: var(--hm-b1);
  border-top: 1px solid var(--hm-b2);
}

.booking-cta .cta-panel {
  background: linear-gradient(155deg, #37517e 0%, #2e7db8 38%, #47b2e4 100%);
  border-radius: 22px;
  padding: 44px 52px;
  box-shadow: 0 12px 48px rgba(71, 178, 228, .25);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* decorative circle (mirrors .account-brand::before) */
.booking-cta .cta-panel::before {
  content: '';
  position: absolute;
  top: -90px;
  right: -70px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .06);
  pointer-events: none;
}

.booking-cta .cta-panel::after {
  content: '';
  position: absolute;
  bottom: -80px;
  left: -60px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .05);
  pointer-events: none;
}

.booking-cta .cta-panel h3 {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.03em;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 10px;
}

.booking-cta .cta-panel p {
  color: var(--hm-b2);
  font-size: 0.97rem;
  line-height: 1.65;
  margin: 0;
}

/* Shared button base */
.cta-btn-primary,
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.97rem;
  text-decoration: none;
  transition:
    transform var(--hm-dur) var(--hm-ease),
    box-shadow var(--hm-dur) var(--hm-ease),
    background var(--hm-dur) var(--hm-ease),
    border-color var(--hm-dur) var(--hm-ease);
}

/* White filled button (primary) */
.cta-btn-primary {
  padding: 13px 30px;
  background: #fff;
  color: var(--hm-b9);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .18);
  margin-right: 12px;
}

.cta-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .26);
  color: var(--hm-b8);
  text-decoration: none;
}

/* Ghost outlined button (secondary) */
.cta-btn-secondary {
  padding: 12px 26px;
  border: 1.5px solid rgba(255, 255, 255, .45);
  color: #fff;
  background: transparent;
}

.cta-btn-secondary:hover {
  border-color: rgba(255, 255, 255, .85);
  background: rgba(255, 255, 255, .12);
  color: #fff;
  text-decoration: none;
}

/* ─── Mobile tweaks ──────────────────────────────────────────────── */
@media (max-width: 767px) {
  .booking-cta .cta-panel {
    padding: 32px 24px;
    text-align: center;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    display: block;
    width: 100%;
    text-align: center;
    margin: 8px 0;
    justify-content: center;
  }

  .cta-btn-primary {
    margin-right: 0;
  }
}
