/* =========================================================
   WILDBALKANS — tour.css  (shared by all tour & lodging detail pages)
   ========================================================= */

.tour-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
}
.tour-hero-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, #1a2e1a, #3d6b40);
}
.tour-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
}
.tour-hero-content {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(40px, 6vw, 80px);
}
.tour-hero-content h1 { color: white; max-width: 700px; }
.tour-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}
.tour-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 500;
}

/* Body layout */
.tour-body { padding: var(--section-pad) 0; }
.tour-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* Gallery */
.tour-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 320px 220px;
  gap: 10px;
  margin-bottom: 50px;
  border-radius: var(--r-lg);
  overflow: hidden;
}
.tour-gallery-main { grid-row: span 2; }
.tour-gallery .g-img {
  overflow: hidden;
  background: var(--gray);
}
.tour-gallery .g-img img { transition: transform 0.6s; }
.tour-gallery .g-img:hover img { transform: scale(1.04); }

/* Tour sections */
.tour-section { margin-bottom: 44px; }
.tour-section h2 { font-size: 1.5rem; margin-bottom: 16px; }
.tour-section p { margin-bottom: 14px; }

/* Itinerary */
.itinerary { display: flex; flex-direction: column; }
.itinerary-day {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--gray);
}
.day-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--mid);
  padding-top: 3px;
  letter-spacing: 0.04em;
}
.day-content h4 { margin-bottom: 6px; }
.day-content p { font-size: 0.88rem; }

/* Includes */
.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.include-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  padding: 10px 14px;
  background: var(--off);
  border-radius: var(--r-sm);
}
.include-item.no { opacity: 0.5; }
.include-item .check { font-size: 0.8rem; font-weight: 700; }

/* Booking sidebar */
.booking-card {
  background: var(--white);
  border: 1.5px solid var(--gray);
  border-radius: var(--r-lg);
  padding: 28px;
  position: sticky;
  top: 90px;
}
.booking-price {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1;
}
.booking-price span {
  font-size: 1rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--mid);
}
.booking-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 24px 0;
  border-top: 1px solid var(--gray);
  border-bottom: 1px solid var(--gray);
  padding: 20px 0;
}
.booking-detail {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
}
.booking-detail .key { color: var(--mid); }
.booking-detail .val { font-weight: 600; }
.booking-card .btn { width: 100%; justify-content: center; margin-bottom: 10px; }
.booking-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--mid);
  text-align: center;
  margin-top: 14px;
  justify-content: center;
}

/* Amenities grid (lodging) */
.amenities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 10px;
  background: var(--off);
  border-radius: var(--r-sm);
  font-size: 0.8rem;
  text-align: center;
}
.amenity-icon { font-size: 1.3rem; }

/* Responsive */
@media (max-width: 900px) {
  .tour-layout { grid-template-columns: 1fr; }
  .booking-card { position: static; }
}
@media (max-width: 600px) {
  .tour-gallery { grid-template-columns: 1fr; grid-template-rows: auto; }
  .tour-gallery-main { grid-row: auto; }
  .includes-grid { grid-template-columns: 1fr; }
  .amenities-grid { grid-template-columns: repeat(2, 1fr); }
}

/* =========================================================
   TOUR HIGHLIGHTS — 5 checkmark bullets above the fold
   ========================================================= */
.tour-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 44px;
  padding: 24px;
  background: var(--off);
  border-radius: var(--r-md);
}
.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--dark);
}
.hi-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--black);
  color: white;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-top: 1px;
}
@media (max-width: 600px) { .tour-highlights { grid-template-columns: 1fr; } }

/* =========================================================
   ROUTE STATS — distance, elevation, high point strip
   ========================================================= */
.route-stats {
  display: flex;
  gap: 0;
  margin-bottom: 44px;
  border: 1.5px solid var(--gray);
  border-radius: var(--r-md);
  overflow: hidden;
}
.route-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border-right: 1px solid var(--gray);
  text-align: center;
}
.route-stat:last-child { border-right: none; }
.rs-val {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
}
.rs-key {
  font-size: 0.72rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}
@media (max-width: 480px) {
  .route-stats { flex-wrap: wrap; }
  .route-stat { flex: 1 1 50%; border-right: 1px solid var(--gray); border-bottom: 1px solid var(--gray); }
}

/* =========================================================
   SEASONAL PRICING TABLE
   ========================================================= */
.season-pricing {
  border: 1.5px solid var(--gray);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 44px;
}
.sp-row {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  padding: 12px 18px;
  border-bottom: 1px solid var(--gray);
  font-size: 0.88rem;
  align-items: center;
}
.sp-row:last-child { border-bottom: none; }
.sp-row.sp-head {
  background: var(--black);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.sp-row.sp-peak { background: var(--off); }
.sp-price { font-weight: 700; color: var(--black); }

/* =========================================================
   ACCOMMODATION BLOCK (multi-day tours)
   ========================================================= */
.accom-block {
  background: var(--off);
  border-radius: var(--r-md);
  padding: 24px;
  margin-bottom: 44px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}
.accom-icon { font-size: 2rem; flex-shrink: 0; margin-top: 2px; }
.accom-body h4 { margin-bottom: 6px; font-size: 1rem; }
.accom-body p { font-size: 0.88rem; color: var(--mid); line-height: 1.6; margin: 0; }

/* =========================================================
   GETTING HERE — starting point transport guide
   ========================================================= */
.get-here-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 44px;
}
.get-here-item {
  background: var(--off);
  border-radius: var(--r-sm);
  padding: 14px 16px;
}
.gh-city {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 3px;
}
.gh-detail {
  display: block;
  font-size: 0.82rem;
  color: var(--mid);
  line-height: 1.5;
}
@media (max-width: 480px) { .get-here-grid { grid-template-columns: 1fr; } }

/* =========================================================
   DIFFICULTY DOTS — tour cards visual indicator
   ========================================================= */
.diff-dots {
  display: flex;
  gap: 4px;
  align-items: center;
}
.diff-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1.5px solid var(--black);
  background: transparent;
  flex-shrink: 0;
}
.diff-dots .dot.filled { background: var(--black); }

.tour-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 6px;
}
.tour-card-top h4 { margin: 0; flex: 1; padding-right: 8px; }
.tour-card-season {
  position: absolute;
  bottom: 10px;
  left: 12px;
  background: rgba(255,255,255,0.9);
  color: var(--black);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

/* =========================================================
   COMPATIBILITY ALIASES — handles variant class names from
   different page generators so all tours render correctly
   ========================================================= */

/* Difficulty dots: .dot-filled alias */
.diff-dots .dot-filled { background: var(--black); border-color: var(--black); }

/* Route stats: .stat / .stat-val / .stat-label aliases */
.route-stats .stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 18px 12px;
  border-right: 1px solid var(--gray);
  text-align: center;
}
.route-stats .stat:last-child { border-right: none; }
.stat-val {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  display: block;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  display: block;
}

/* Tour highlights: ul > li.hi-check variant */
.tour-highlights ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: contents;
}
.tour-highlights li.hi-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--dark);
}
.tour-highlights li.hi-check::before {
  content: "✓";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--black);
  color: white;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-top: 1px;
}

/* Season pricing: table-based variant (<table class="season-pricing">) */
table.season-pricing {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--gray);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 44px;
  display: table;
}
table.season-pricing th,
table.season-pricing td {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray);
}
table.season-pricing thead tr { background: var(--black); }
table.season-pricing thead th {
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: none;
}
table.season-pricing tbody tr:last-child td { border-bottom: none; }
table.season-pricing tr.sp-peak { background: var(--off); }
table.season-pricing td:last-child { font-weight: 700; }

/* Season pricing: wrapper div variant (<div class="season-pricing"><h2>...</h2><table>) */
div.season-pricing {
  border: none;
  overflow: visible;
  border-radius: 0;
  padding: 0;
  background: transparent;
  margin-bottom: 44px;
}
div.season-pricing > h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  margin-top: 0;
}
div.season-pricing table {
  width: 100%;
  border-collapse: collapse;
  border: 1.5px solid var(--gray);
  border-radius: var(--r-md);
  overflow: hidden;
}
div.season-pricing th,
div.season-pricing td {
  padding: 12px 18px;
  text-align: left;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--gray);
}
div.season-pricing thead tr { background: var(--black); }
div.season-pricing thead th {
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: none;
}
div.season-pricing tbody tr:last-child td { border-bottom: none; }
div.season-pricing tr.sp-peak { background: var(--off); }
div.season-pricing td:last-child { font-weight: 700; }

/* Getting here: alternate class names */
.get-here-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.get-here-grid > h2 {
  grid-column: 1 / -1;
  font-size: 1.5rem;
  margin-bottom: 8px;
  margin-top: 0;
}
.get-here-from { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.get-here-detail { display: block; font-size: 0.82rem; color: var(--mid); line-height: 1.5; }
.get-here-city { display: block; font-weight: 700; font-size: 0.9rem; margin-bottom: 3px; }
.get-here-time { display: block; font-size: 0.85rem; font-weight: 600; color: var(--black); margin-bottom: 2px; }
.get-here-note { display: block; font-size: 0.78rem; color: var(--mid); line-height: 1.4; }
@media (max-width: 480px) {
  .get-here-items { grid-template-columns: 1fr; }
}

/* FAQ: button.faq-question variant */
button.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  border-bottom: 1px solid var(--gray);
  cursor: pointer;
  padding: 20px 0;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
button.faq-question::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--mid);
  transition: transform 0.2s;
}
.faq-item.open button.faq-question::after { content: "−"; }

/* =========================================================
   STICKY MOBILE BOOKING BAR
   ========================================================= */
.tour-sticky-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--white);
  border-top: 1px solid var(--gray);
  padding: 12px var(--gutter);
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.tour-sticky-bar .sticky-price {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.1;
}
.tour-sticky-bar .sticky-price span {
  font-size: 0.8rem;
  font-weight: 400;
  font-family: var(--font-body);
  color: var(--mid);
}
.tour-sticky-bar .sticky-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .tour-sticky-bar { display: flex; }
}

/* WA float on tour pages sits above the sticky bar (handled by body.has-sticky-bar in main.css) */
