/* ==========================================================================
   BUDDY PRIVATE TOUR - SINGLE TOUR DETAIL STYLESHEET (tour-detail.css)
   Inspired by Airbnb & GetYourGuide Luxury Experience
   ========================================================================== */

/* Breadcrumbs Section */
.site-breadcrumb-wrap {
  padding: 1.25rem 0 0.5rem;
}

.site-breadcrumb-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted, #64748b);
  flex-wrap: wrap;
}

.crumb-link {
  color: var(--text-muted, #64748b);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.crumb-link:hover {
  color: var(--primary-color, #0284c7);
}

.crumb-separator {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.crumb-current {
  color: var(--dark-800, #1e293b);
  font-weight: 700;
}

.crumb-category {
  color: var(--primary-color, #0284c7);
}

/* Tour Header Title & Rating Bar */
.tour-detail-header-wrap {
  margin-bottom: 1.75rem;
}

.tour-detail-main-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-900, #0f172a);
  line-height: 1.25;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.tour-detail-sub-meta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.9rem;
  color: var(--text-muted, #64748b);
}

.tour-detail-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-weight: 700;
  color: var(--dark-800, #1e293b);
}

.tour-detail-rating i {
  color: #fbbf24;
}

.tour-detail-loc {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--primary-color, #0284c7);
  font-weight: 600;
}

.tour-detail-badge-pill {
  background: #e0f2fe;
  color: #0369a1;
  padding: 0.2rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 700;
}

/* ==========================================================================
   MOSAIC IMAGE GALLERY (1 Large + 4 Small Grid)
   ========================================================================== */
.tour-mosaic-gallery {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  grid-template-rows: 210px 210px;
  gap: 0.75rem;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 2.5rem;
  position: relative;
}

.mosaic-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #f1f5f9;
}

.mosaic-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}

.mosaic-item:hover img {
  transform: scale(1.05);
}

.mosaic-main {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
}

.mosaic-view-all-btn {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
  z-index: 10;
}

.mosaic-view-all-btn:hover {
  background: #ffffff;
  transform: scale(1.03);
}

/* ==========================================================================
   2-COLUMN MAIN LAYOUT (65% Content / 35% Sticky Booking Box)
   ========================================================================== */
.bpt-tour-detail-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4rem;
}

/* LEFT COLUMN CONTENT */
.tour-main-content-col {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

/* Quick Summary Bar with 5 Icon Badges */
.tour-quick-info-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
}

.quick-info-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.quick-info-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #e0f2fe;
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.quick-info-text {
  display: flex;
  flex-direction: column;
}

.quick-info-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #64748b;
  letter-spacing: 0.3px;
}

.quick-info-val {
  font-size: 0.88rem;
  font-weight: 800;
  color: #0f172a;
}

/* Highlights Box */
.tour-highlights-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.04);
}

.tour-highlights-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tour-highlights-title i {
  color: #f97316;
}

.tour-highlights-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.tour-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
}

.tour-highlight-item i {
  color: #0284c7;
  font-size: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

/* Day-by-Day Timeline Accordion */
.tour-timeline-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tour-section-heading {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.tour-timeline-container {
  position: relative;
  padding-left: 2rem;
}

.tour-timeline-container::before {
  content: '';
  position: absolute;
  top: 15px;
  bottom: 20px;
  left: 11px;
  width: 2px;
  background: #e2e8f0;
}

.timeline-day-card {
  position: relative;
  margin-bottom: 1.25rem;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.timeline-day-card.active {
  border-color: #0284c7;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08);
}

.timeline-node {
  position: absolute;
  top: 16px;
  left: -2rem;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.4);
  z-index: 2;
}

.timeline-day-header {
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
  background: #ffffff;
  transition: background 0.2s ease;
}

.timeline-day-header:hover {
  background: #f8fafc;
}

.timeline-day-title {
  font-size: 1rem;
  font-weight: 800;
  color: #0f172a;
}

.timeline-day-toggle {
  color: #64748b;
  font-size: 0.85rem;
  transition: transform 0.25s ease;
}

.timeline-day-card.active .timeline-day-toggle {
  transform: rotate(180deg);
  color: #0284c7;
}

.timeline-day-body {
  padding: 0 1.25rem 1.25rem;
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  display: none;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.timeline-day-card.active .timeline-day-body {
  display: block;
}

/* Inclusions & Exclusions 2-Column Section */
.tour-inclusions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.inclusions-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 1.5rem;
}

.inclusions-card.included {
  border-color: #bbf7d0;
  background: #f0fdf4;
}

.inclusions-card.excluded {
  border-color: #fecaca;
  background: #fef2f2;
}

.inclusions-card-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inclusions-card.included .inclusions-card-title {
  color: #15803d;
}

.inclusions-card.excluded .inclusions-card-title {
  color: #b91c1c;
}

.inclusions-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.inclusions-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.5;
}

.inclusions-list li i {
  font-size: 0.95rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.inclusions-card.included li i {
  color: #16a34a;
}

.inclusions-card.excluded li i {
  color: #ef4444;
}

/* Description Typography */
.bpt-tour-rich-description {
  font-size: 1.05rem;
  color: #334155;
  line-height: 1.85;
}

.bpt-tour-rich-description h2,
.bpt-tour-rich-description h3,
.bpt-tour-rich-description h4 {
  font-weight: 800;
  color: #0f172a;
  margin: 1.75rem 0 0.75rem 0;
}

.bpt-tour-rich-description p {
  margin-bottom: 1.25rem;
}

.bpt-tour-rich-description img {
  max-width: 100%;
  border-radius: 14px;
  margin: 1.5rem auto;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   RIGHT COLUMN: STICKY BOOKING BOX (Airbnb / Klook Style)
   ========================================================================== */
.tour-sidebar-col {
  position: sticky;
  top: 90px;
}

.sticky-booking-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.1);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.booking-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1rem;
}

.booking-price-wrap {
  display: flex;
  flex-direction: column;
}

.booking-price-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
}

.booking-price-value {
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
}

.booking-price-unit {
  font-size: 0.85rem;
  color: #64748b;
  font-weight: normal;
}

/* Form Selection Controls */
.booking-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.booking-input-label {
  font-size: 0.8rem;
  font-weight: 800;
  color: #0f172a;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.booking-input-label i {
  color: #0284c7;
}

.booking-input-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  background: #ffffff;
  outline: none;
  transition: border-color 0.2s ease;
}

.booking-input-control:focus {
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Guest Counter Stepper */
.booking-guest-stepper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 0.4rem 0.6rem;
}

.guest-stepper-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.guest-stepper-btn:hover {
  background: #0284c7;
  color: #ffffff;
  border-color: #0284c7;
}

.guest-stepper-input {
  width: 60px;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-weight: 800;
  text-align: center;
  color: #0f172a;
  outline: none;
}

/* Price Calculation Summary */
.booking-calc-summary {
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.booking-calc-row {
  display: flex;
  justify-content: space-between;
  color: #64748b;
}

.booking-calc-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 800;
  color: #0f172a;
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.6rem;
  margin-top: 0.2rem;
}

.booking-calc-total .val {
  color: #f97316;
}

/* Booking Action Buttons */
.booking-cta-add-cart {
  width: 100%;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  cursor: pointer;
  box-shadow: 0 8px 20px -2px rgba(249, 115, 22, 0.4);
  transition: all 0.25s ease;
}

.booking-cta-add-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(249, 115, 22, 0.55);
}

.booking-trust-guarantees {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: #64748b;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.booking-trust-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.booking-trust-item i {
  color: #10b981;
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS
   ========================================================================== */
@media (max-width: 991px) {
  .tour-mosaic-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: 320px;
  }
  
  .mosaic-item:not(.mosaic-main) {
    display: none;
  }

  .bpt-tour-detail-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .tour-highlights-list {
    grid-template-columns: 1fr;
  }

  .tour-inclusions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .tour-detail-main-title {
    font-size: 1.5rem;
  }

  .tour-mosaic-gallery {
    grid-template-rows: 240px;
    border-radius: 12px;
  }

  .tour-quick-info-bar {
    grid-template-columns: 1fr 1fr;
  }
}
