/* ================================================================
   ASANTE TOURS — booking.css
   Global 4-step booking / quote request popup
   Loaded on every page. Works standalone, no framework needed.
================================================================ */

/* ── OVERLAY ─────────────────────────────────────────────── */
.bk-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 6, 14, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  align-items: center;
  justify-content: center;
  padding: 16px;
  animation: bkFadeIn 0.25s ease;
}
.bk-overlay.open {
  display: flex;
}
@keyframes bkFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ── MODAL BOX ───────────────────────────────────────────── */
.bk-modal {
  background: #fff;
  border-radius: 18px;
  width: 100%;
  max-width: 860px;
  max-height: 94vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 32px 80px rgba(10, 6, 14, 0.45);
  animation: bkSlideUp 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
@keyframes bkSlideUp {
  from { opacity: 0; transform: translateY(24px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* ── CLOSE BUTTON ────────────────────────────────────────── */
.bk-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.06);
  border: none;
  font-size: 18px;
  line-height: 1;
  color: #6b6b6b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.bk-close:hover { background: rgba(0, 0, 0, 0.12); }

/* ── TWO-COLUMN LAYOUT ───────────────────────────────────── */
.bk-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  flex: 1;
  overflow: hidden;
  min-height: 0;
}

/* ── LEFT PANEL ──────────────────────────────────────────── */
.bk-left {
  background: #3A2F3C;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
}
.bk-left::before {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.08);
}
.bk-left::after {
  content: '';
  position: absolute;
  top: -40px;
  left: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.05);
}
.bk-left__top { position: relative; z-index: 1; }
.bk-left__eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #C9A84C;
  margin-bottom: 12px;
  display: block;
}
.bk-left__heading {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 26px;
  font-weight: 300;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}
.bk-left__heading em {
  font-style: italic;
  color: #C9A84C;
}
.bk-left__desc {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.75;
}

/* How it works steps */
.bk-how {
  position: relative;
  z-index: 1;
  margin-top: 32px;
}
.bk-how-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.bk-how-item:last-child { margin-bottom: 0; }
.bk-how-num {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #C9A84C;
}
.bk-how-text strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 2px;
}
.bk-how-text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
}

/* Contact link in left panel */
.bk-left__contact {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.bk-left__contact p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 8px;
}
.bk-left__contact a {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  color: #C9A84C;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}
.bk-left__contact a:hover { color: #e0c070; }

/* ── RIGHT PANEL ─────────────────────────────────────────── */
.bk-right {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-height: 0;
}

/* Progress bar */
.bk-progress {
  padding: 24px 40px 0;
  flex-shrink: 0;
}
.bk-progress__bar {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 6px;
}
.bk-progress__step {
  display: flex;
  align-items: center;
  flex: 1;
}
.bk-progress__dot {
  width: 28px;
  height: 28px;
  min-width: 28px;
  border-radius: 50%;
  background: #f1efe8;
  border: 2px solid #d3d1c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #9a9a9a;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  position: relative;
  z-index: 1;
}
.bk-progress__step.active .bk-progress__dot {
  background: #3A2F3C;
  border-color: #3A2F3C;
  color: #C9A84C;
}
.bk-progress__step.done .bk-progress__dot {
  background: #C9A84C;
  border-color: #C9A84C;
  color: #3A2F3C;
}
.bk-progress__step.done .bk-progress__dot::after {
  content: '✓';
  font-size: 12px;
  font-weight: 700;
}
.bk-progress__step.done .bk-progress__dot span { display: none; }
.bk-progress__line {
  flex: 1;
  height: 2px;
  background: #d3d1c7;
  margin: 0 -1px;
  transition: background 0.3s;
}
.bk-progress__step.done + .bk-progress__step .bk-progress__line,
.bk-progress__line.filled {
  background: #C9A84C;
}
.bk-progress__labels {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
}
.bk-progress__label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #9a9a9a;
  transition: color 0.3s;
  text-align: center;
  flex: 1;
}
.bk-progress__label.active { color: #3A2F3C; }
.bk-progress__label.done   { color: #C9A84C; }

/* ── STEP CONTENT AREA ───────────────────────────────────── */
.bk-steps {
  flex: 1;
  overflow-y: auto;
  padding: 28px 40px 24px;
  min-height: 0;
}
.bk-steps::-webkit-scrollbar { width: 4px; }
.bk-steps::-webkit-scrollbar-track { background: transparent; }
.bk-steps::-webkit-scrollbar-thumb { background: #d3d1c7; border-radius: 2px; }

.bk-step { display: none; }
.bk-step.active { display: block; animation: stepIn 0.3s ease; }
@keyframes stepIn {
  from { opacity: 0; transform: translateX(12px); }
  to   { opacity: 1; transform: translateX(0); }
}

.bk-step__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 24px;
  font-weight: 400;
  color: #3A2F3C;
  margin-bottom: 4px;
  line-height: 1.2;
}
.bk-step__sub {
  font-size: 13px;
  color: #9a9a9a;
  margin-bottom: 28px;
}

/* ── FORM ELEMENTS ───────────────────────────────────────── */
.bk-field {
  margin-bottom: 18px;
}
.bk-label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #3A2F3C;
  margin-bottom: 8px;
}
.bk-input,
.bk-select,
.bk-textarea {
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Jost', sans-serif;
  color: #1a1a1a;
  background: #fff;
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
  -webkit-appearance: none;
}
.bk-input:focus,
.bk-select:focus,
.bk-textarea:focus {
  outline: none;
  border-color: #C9A84C;
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}
.bk-input.error { border-color: #c0392b; }
.bk-textarea { resize: vertical; min-height: 90px; }
.bk-select-wrap { position: relative; }
.bk-select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9a9a9a;
  font-size: 13px;
  pointer-events: none;
}

/* Two-col field row */
.bk-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* ── DATE DISPLAY ────────────────────────────────────────── */
.bk-date-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f8f5f0;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 12px 16px;
  cursor: pointer;
  transition: border-color 0.25s;
}
.bk-date-wrap:hover { border-color: #C9A84C; }
.bk-date-wrap svg { color: #C9A84C; flex-shrink: 0; }
.bk-date-text {
  font-size: 14px;
  color: #1a1a1a;
  flex: 1;
}
.bk-date-text.placeholder { color: #9a9a9a; }

/* Flexible dates toggle */
.bk-flex-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  cursor: pointer;
  width: fit-content;
}
.bk-flex-toggle input { display: none; }
.bk-toggle-track {
  width: 36px;
  height: 20px;
  background: #d3d1c7;
  border-radius: 10px;
  position: relative;
  transition: background 0.25s;
  flex-shrink: 0;
}
.bk-flex-toggle input:checked + .bk-toggle-track { background: #C9A84C; }
.bk-toggle-track::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.25s;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}
.bk-flex-toggle input:checked + .bk-toggle-track::after { transform: translateX(16px); }
.bk-flex-label { font-size: 13px; color: #6b6b6b; }

/* Trip length stepper */
.bk-stepper {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #f8f5f0;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 10px 16px;
}
.bk-stepper__btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  background: #fff;
  font-size: 18px;
  line-height: 1;
  color: #3A2F3C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}
.bk-stepper__btn:hover {
  background: #3A2F3C;
  border-color: #3A2F3C;
  color: #C9A84C;
}
.bk-stepper__val {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 32px;
  font-weight: 400;
  color: #3A2F3C;
  min-width: 48px;
  text-align: center;
  line-height: 1;
}
.bk-stepper__unit {
  font-size: 13px;
  color: #9a9a9a;
}

/* ── OPTION CARDS (who / destination / budget) ───────────── */
.bk-options {
  display: grid;
  gap: 10px;
}
.bk-options--2 { grid-template-columns: 1fr 1fr; }
.bk-options--3 { grid-template-columns: 1fr 1fr 1fr; }
.bk-options--4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.bk-option {
  position: relative;
}
.bk-option input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.bk-option label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 10px;
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  background: #fff;
  min-height: 90px;
}
.bk-option label:hover {
  border-color: #C9A84C;
  background: rgba(201, 168, 76, 0.04);
}
.bk-option input:checked + label {
  border-color: #C9A84C;
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.bk-option__icon {
  font-size: 22px;
  line-height: 1;
}
.bk-option__name {
  font-size: 12px;
  font-weight: 600;
  color: #3A2F3C;
  line-height: 1.3;
}
.bk-option__desc {
  font-size: 11px;
  color: #9a9a9a;
  line-height: 1.3;
}

/* Checkbox destination cards */
.bk-dest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.bk-dest {
  position: relative;
}
.bk-dest input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.bk-dest label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  background: #fff;
}
.bk-dest label:hover {
  border-color: #C9A84C;
  background: rgba(201, 168, 76, 0.04);
}
.bk-dest input:checked + label {
  border-color: #C9A84C;
  background: rgba(201, 168, 76, 0.08);
}
.bk-dest__flag {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.bk-dest__info strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #3A2F3C;
}
.bk-dest__info span {
  font-size: 11px;
  color: #9a9a9a;
}
.bk-dest__check {
  margin-left: auto;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid #d3d1c7;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.bk-dest input:checked + label .bk-dest__check {
  background: #C9A84C;
  border-color: #C9A84C;
}
.bk-dest input:checked + label .bk-dest__check::after {
  content: '✓';
  font-size: 10px;
  font-weight: 700;
  color: #3A2F3C;
}

/* Budget range */
.bk-budget-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.bk-budget {
  position: relative;
}
.bk-budget input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.bk-budget label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  border: 1.5px solid rgba(0, 0, 0, 0.10);
  border-radius: 12px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s;
  background: #fff;
  min-height: 80px;
}
.bk-budget label:hover {
  border-color: #C9A84C;
  background: rgba(201, 168, 76, 0.04);
}
.bk-budget input:checked + label {
  border-color: #C9A84C;
  background: rgba(201, 168, 76, 0.08);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.bk-budget__range {
  font-size: 13px;
  font-weight: 700;
  color: #3A2F3C;
  margin-bottom: 2px;
}
.bk-budget__label {
  font-size: 11px;
  color: #9a9a9a;
}

/* Pax counter */
.bk-pax {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
}
.bk-pax__label { font-size: 13px; color: #6b6b6b; }
.bk-pax__ctrl {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #f8f5f0;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 30px;
  padding: 6px 16px;
}
.bk-pax__btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  background: #fff;
  font-size: 16px;
  color: #3A2F3C;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}
.bk-pax__btn:hover { background: #3A2F3C; color: #C9A84C; border-color: #3A2F3C; }
.bk-pax__num {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 22px;
  font-weight: 400;
  color: #3A2F3C;
  min-width: 28px;
  text-align: center;
}

/* ── FOOTER / NAVIGATION ─────────────────────────────────── */
.bk-footer {
  padding: 16px 40px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  gap: 12px;
}
.bk-footer__back {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 25px;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: #6b6b6b;
  cursor: pointer;
  transition: all 0.2s;
}
.bk-footer__back:hover { border-color: #3A2F3C; color: #3A2F3C; }
.bk-footer__back svg { flex-shrink: 0; }

.bk-footer__next {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #C9A84C;
  border: none;
  border-radius: 25px;
  padding: 12px 28px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #3A2F3C;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-left: auto;
}
.bk-footer__next:hover {
  background: #e0c070;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
}
.bk-footer__next svg { flex-shrink: 0; }

.bk-footer__submit {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #3A2F3C;
  border: none;
  border-radius: 25px;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #C9A84C;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-left: auto;
}
.bk-footer__submit:hover {
  background: #2a2030;
  transform: translateY(-1px);
}

/* ── SUCCESS SCREEN ──────────────────────────────────────── */
.bk-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 40px;
  flex: 1;
  animation: stepIn 0.4s ease;
}
.bk-success.show { display: flex; }
.bk-success__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
  border: 2px solid rgba(201, 168, 76, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: #C9A84C;
}
.bk-success h3 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 28px;
  font-weight: 400;
  color: #3A2F3C;
  margin-bottom: 12px;
}
.bk-success p {
  font-size: 14px;
  color: #6b6b6b;
  line-height: 1.7;
  max-width: 380px;
  margin: 0 auto 28px;
}
.bk-success__ref {
  font-size: 12px;
  color: #9a9a9a;
  background: #f8f5f0;
  border-radius: 8px;
  padding: 10px 20px;
  margin-bottom: 28px;
}
.bk-success__ref strong { color: #3A2F3C; }
.bk-success__close {
  background: #C9A84C;
  border: none;
  border-radius: 25px;
  padding: 12px 32px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #3A2F3C;
  cursor: pointer;
  transition: background 0.2s;
}
.bk-success__close:hover { background: #e0c070; }

/* ── ERROR MESSAGE ───────────────────────────────────────── */
.bk-error-msg {
  display: none;
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
}
.bk-error-msg.show { display: block; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 860px) {
  .bk-inner { grid-template-columns: 1fr; }
  .bk-left { display: none; }
  .bk-steps { padding: 20px 24px 16px; }
  .bk-progress { padding: 20px 24px 0; }
  .bk-footer { padding: 14px 24px 20px; }
}
@media (max-width: 640px) {
  .bk-modal { border-radius: 14px; max-height: 96vh; }
  .bk-options--4 { grid-template-columns: 1fr 1fr; }
  .bk-options--3 { grid-template-columns: 1fr 1fr; }
  .bk-dest-grid { grid-template-columns: 1fr; }
  .bk-budget-grid { grid-template-columns: 1fr 1fr; }
  .bk-field-row { grid-template-columns: 1fr; }
  .bk-step__title { font-size: 20px; }
}
@media (max-width: 400px) {
  .bk-steps { padding: 16px 16px 12px; }
  .bk-progress { padding: 16px 16px 0; }
  .bk-footer { padding: 12px 16px 16px; }
  .bk-options--2 { grid-template-columns: 1fr; }
  .bk-budget-grid { grid-template-columns: 1fr; }
}
