﻿/* ============================================================
   package-detail.css — Package detail page overrides
   Extends blog-post.css for the pkg-hero-page body class
   ============================================================ */

/* ── Hero price pill ────────────────────────────────────── */
.pkg-hero-price {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 24px;
  background: rgba(0,0,0,.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,.15);
  padding: 12px 24px;
  border-radius: 100px;
}

.pkg-hero-price strong {
  font-family: var(--sans);
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
  letter-spacing: -.5px;
}

.pkg-hero-price small {
  font-family: var(--display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── Base body layout styles (previously from blog-post.css) ── */
.bp-back {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 48px 0;
}
.bp-back a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  background: var(--orange);
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 100px;
  transition: background .3s, transform .3s;
  width: fit-content;
  align-self: flex-start;
}
.bp-back a:hover { background: var(--orange-glow); transform: translateY(-2px); }

.bp-prose { min-width: 0; }
.bp-prose .bp-lead {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 300;
  color: rgba(17,17,17,.75);
  line-height: 1.8;
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(17,17,17,.08);
}
.bp-prose h2 { font-family: var(--serif); font-size: clamp(1.4rem,3vw,2rem); font-weight: 300; color: #111; line-height: 1.2; margin: 48px 0 20px; }
.bp-prose h2 em { font-style: italic; color: var(--orange); }
.bp-prose h3 { font-family: var(--display); font-size: 1rem; font-weight: 700; color: #111; letter-spacing: .5px; margin: 32px 0 12px; }
.bp-prose p { font-size: 1rem; color: rgba(17,17,17,.7); line-height: 1.9; margin-bottom: 20px; }
.bp-prose ul, .bp-prose ol { margin: 0 0 24px; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.bp-prose ul li, .bp-prose ol li { font-size: .95rem; color: rgba(17,17,17,.7); line-height: 1.7; padding-left: 24px; position: relative; }
.bp-prose ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; }
.bp-prose blockquote { margin: 40px 0; padding: 28px 32px; background: #F7F5F2; border-left: 3px solid var(--orange); border-radius: 0 12px 12px 0; }
.bp-prose blockquote p { font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: rgba(17,17,17,.75); margin: 0; line-height: 1.7; }

/* ── Package hero — uses sp-hero from service-page.css ──────── */
/* sp-hero already has height:100vh, position:relative, background:#111 */
/* Just add the background-image div support */
#pkHeroBg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #111;
}

/* Override sp-hero title size — package titles are longer */
.sp-hero .sp-hero__title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 16px;
}

/* Override sp-hero left max-width — give more room */
.sp-hero .sp-hero__left {
  max-width: 560px;
}

/* Override sp-hero stats — package-specific compact panel */
.sp-hero .sp-hero__stats {
  background: rgba(15,15,15,.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  min-width: 150px;
  flex-direction: column;
  gap: 0;
}
.sp-hero .sp-hero__stat {
  padding: 16px 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  border-right: none;
  text-align: center;
}
.sp-hero .sp-hero__stat:last-child { border-bottom: none; }
.sp-hero .sp-hero__stat span {
  display: block;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1;
}
.sp-hero .sp-hero__stat p {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.4);
  margin-top: 4px;
}

/* Price display in hero — overrides the duplicate above */

/* Keep nav links white over the dark hero */
body.pkg-hero-page .nav:not(.scrolled) { background: transparent; box-shadow: none; }
body.pkg-hero-page .nav:not(.scrolled) .nav__links a { color: rgba(255,255,255,.85); }
body.pkg-hero-page .nav:not(.scrolled) .nav__links a:hover { color: #fff; }
body.pkg-hero-page .nav:not(.scrolled) .nav__hamburger-icon span { background: #fff; }
body.pkg-hero-page .nav:not(.scrolled) .nav__logo img { filter: brightness(0) invert(1); }

/* ── Body layout ─────────────────────────────────────────── */
.bp-body {
  max-width: 1280px;
  margin: 0 auto;
  padding: 72px 48px 110px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 80px;
  align-items: start;
}

/* Sidebar column — sticky */
.bp-body > div:last-child {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* ── Inline images — override blog animation ─────────────── */
.bp-prose .bp-img {
  margin: 40px 0;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-2);
  animation: none !important;
}

.bp-prose .bp-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  opacity: 1 !important;
  transform: none !important;
  transition: transform .6s var(--ease);
}

.bp-prose .bp-img:hover img {
  transform: scale(1.03) !important;
}

.bp-prose .bp-img::before { display: none; }

.bp-prose .bp-img figcaption {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(17,17,17,.35);
  padding: 12px 0 0;
  opacity: 1 !important;
  transform: none !important;
}

/* ── Day highlight pills ─────────────────────────────────── */
.pkg-day-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 36px;
}

.pkg-day-highlights span {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-dim);
  border: 1px solid rgba(232,98,10,.15);
  padding: 6px 14px;
  border-radius: 100px;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.pkg-day-highlights span:hover {
  background: var(--orange);
  color: #fff;
}

/* ── Inclusions / Exclusions tabs ───────────────────────── */
.pkg-tabs { margin-top: 64px; }

.pkg-tabs__card {
  border: 1px solid rgba(17,17,17,.09);
  border-radius: 16px;
  overflow: hidden;
  max-width: 560px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

.pkg-tabs__nav {
  display: flex;
  background: var(--bg-2);
}

.pkg-tabs__btn {
  flex: 1;
  font-family: var(--display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-45);
  background: transparent;
  border: none;
  border-right: 1px solid rgba(17,17,17,.08);
  padding: 18px 24px;
  cursor: none;
  text-align: left;
  transition: color .25s var(--ease), background .25s var(--ease);
}
.pkg-tabs__btn:last-child { border-right: none; }
.pkg-tabs__btn:hover:not(.active) {
  color: var(--ink);
  background: rgba(17,17,17,.04);
}
.pkg-tabs__btn.active {
  color: #fff;
  background: var(--orange);
}

.pkg-tabs__panel { display: none; }
.pkg-tabs__panel.active { display: block; }

.pkg-tabs__body {
  padding: 28px 28px 24px;
  background: #fff;
}

.pkg-tabs__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.pkg-tabs__list li {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-70);
  line-height: 1.5;
  padding: 11px 0 11px 24px;
  position: relative;
  border-bottom: 1px solid rgba(17,17,17,.05);
}
.pkg-tabs__list li:last-child { border-bottom: none; }

/* Inclusion — orange dot */
.pkg-tabs__panel--inc .pkg-tabs__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}

/* Exclusion — muted dot + dimmed text */
.pkg-tabs__panel--exc .pkg-tabs__list li { color: var(--ink-45); }
.pkg-tabs__panel--exc .pkg-tabs__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  background: rgba(17,17,17,.2);
  border-radius: 50%;
}

/* ── Trip at a glance ────────────────────────────────────── */
.pkg-glance {
  display: flex;
  flex-direction: column;
}

.pkg-glance__item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(17,17,17,.06);
  transition: background .2s;
}
.pkg-glance__item:last-child { border-bottom: none; }

.pkg-glance__icon {
  width: 40px;
  height: 40px;
  background: var(--orange-dim);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.pkg-glance__item:hover .pkg-glance__icon {
  background: var(--orange);
  color: #fff;
}

.pkg-glance__item div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pkg-glance__item strong {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ink-45);
}

.pkg-glance__item span {
  font-family: var(--display);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* ── Glance card wrapper ─────────────────────────────────── */
.pkg-glance-card {
  background: var(--bg-2);
  border: 1px solid rgba(17,17,17,.07);
  border-radius: 16px;
  overflow: hidden;
}

.pkg-glance-card .pkg-glance__item {
  padding: 12px 18px;
  border-bottom: 1px solid rgba(17,17,17,.06);
}
.pkg-glance-card .pkg-glance__item:last-child { border-bottom: none; }
.pkg-glance-card .pkg-glance__item:hover { background: rgba(232,98,10,.04); }

/* ── Sidebar TOC ─────────────────────────────────────────── */
.bp-toc {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bp-toc a {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-45);
  line-height: 1.5;
  padding: 8px 12px;
  border-left: 2px solid transparent;
  border-radius: 0 8px 8px 0;
  transition: color .2s var(--ease), border-color .2s var(--ease),
              background .2s var(--ease), padding-left .2s var(--ease);
  display: block;
}
.bp-toc a:hover,
.bp-toc a.active {
  color: var(--orange);
  border-left-color: var(--orange);
  background: var(--orange-dim);
  padding-left: 16px;
}

/* ── Sidebar blocks ──────────────────────────────────────── */
.bp-sidebar__heading {
  font-family: var(--display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink-45);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bp-sidebar__heading::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 1px;
  background: var(--orange);
  flex-shrink: 0;
}

.bp-sidebar__block {
  padding: 24px 0;
  border-bottom: 1px solid rgba(17,17,17,.07);
}
.bp-sidebar__block:last-child { border-bottom: none; }

/* ── Quote / enquiry form ────────────────────────────────── */
.pkg-quote-form {
  background: #111 !important;
  border-radius: 20px;
  padding: 28px !important;
  border-bottom: none !important;
}

.pkg-quote-form p {
  font-family: var(--serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,.75);
  line-height: 1.65;
  margin-bottom: 22px;
}

.pkg-form-field { margin-bottom: 10px; }

.pkg-form-field input,
.pkg-form-field textarea {
  width: 100%;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-family: var(--sans);
  font-size: 13px;
  outline: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
  resize: vertical;
}
.pkg-form-field input::placeholder,
.pkg-form-field textarea::placeholder { color: rgba(255,255,255,.35); }
.pkg-form-field input:focus,
.pkg-form-field textarea:focus {
  border-color: var(--orange);
  background: rgba(255,255,255,.12);
}
.pkg-form-field input[type="date"] { color-scheme: dark; }

.pkg-form-success {
  text-align: center;
  font-size: 12px;
  font-style: italic;
  margin-top: 12px;
  min-height: 18px;
}

/* ── Country autocomplete dropdown ──────────────────────── */
.pkg-country-wrap { position: relative; }

.pkg-country-dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 10px;
  max-height: 180px;
  overflow-y: auto;
  z-index: 200;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.15) transparent;
  display: none;
}
.pkg-country-dropdown.open { display: block; }

.pkg-country-dropdown li {
  font-family: var(--sans);
  font-size: 13px;
  color: rgba(255,255,255,.75);
  padding: 10px 14px;
  cursor: none;
  list-style: none;
  transition: background .15s, color .15s;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.pkg-country-dropdown li:last-child { border-bottom: none; }
.pkg-country-dropdown li:hover,
.pkg-country-dropdown li.highlighted {
  background: var(--orange);
  color: #fff;
}
.pkg-country-dropdown li mark {
  background: none;
  color: #fff;
  font-weight: 700;
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .pkg-hero-page .bp-hero__content { padding: 0 28px 48px; }
  .pkg-hero-page .bp-back { padding: 20px 28px 0; }
  .bp-body {
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 56px 28px 80px;
  }
  .bp-body > div:last-child { position: static; }
}

@media (max-width: 640px) {
  .pkg-hero-page .bp-hero__content { padding: 0 20px 40px; }
  .pkg-hero-page .bp-back { padding: 16px 20px 0; }
  .bp-body { padding: 40px 20px 64px; }
  .pkg-hero-price strong { font-size: 1.5rem; }
  .pkg-day-highlights span { font-size: 9px; padding: 5px 11px; }
  .pkg-tabs__card { max-width: 100%; border-radius: 12px; }
  .pkg-tabs__btn {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 16px 10px;
    text-align: center;
  }
  .pkg-tabs__body { padding: 20px 16px; }
  .pkg-tabs__list li { font-size: 13px; padding: 12px 0 12px 22px; }
}
