/* ==========================================================================
   MUDATAMA TOUR DETAIL - ACTION BUTTONS & EXTENSIONS
   Scoped strictly to detail page actions.
   Zero interference with global header, navigation, branding, or footer.
   ========================================================================== */

.tour-action-buttons-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  margin-top: 24px;
}

.btn-detail-wa {
  background-color: #25D366 !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.btn-detail-wa:hover {
  background-color: #1EBE5D !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.4) !important;
  color: #ffffff !important;
}

.btn-detail-pdf {
  background-color: #0C083A !important;
  color: #ffffff !important;
  border-radius: 8px !important;
  font-weight: 700 !important;
  padding: 12px 24px !important;
  font-size: 15px !important;
  box-shadow: 0 4px 14px rgba(12, 8, 58, 0.2) !important;
  transition: all 0.25s ease !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.btn-detail-pdf:hover {
  background-color: #FF7400 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(255, 116, 0, 0.35) !important;
  color: #ffffff !important;
}

@media (max-width: 600px) {
  .tour-action-buttons-wrap {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .btn-detail-wa,
  .btn-detail-pdf {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* ==========================================================================
   ENHANCED TOUR DETAIL - GALLERY, HIGHLIGHTS & ITINERARY
   ========================================================================== */

.tour-detail-page {
  font-family: inherit;
  color: #2d3748;
}

.tour-detail-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 16px;
}

.tour-header-block {
  text-align: center;
  margin-bottom: 28px;
  padding-top: 10px;
}

.tour-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF3E0;
  color: #E65100;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 116, 0, 0.2);
}

.tour-main-title {
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  color: #0C083A;
  line-height: 1.25;
  margin: 0 0 10px 0;
}

.tour-sub-desc {
  font-size: 16px;
  color: #64748b;
  max-width: 820px;
  margin: 0 auto 16px auto;
  line-height: 1.6;
}

.tour-price-badge-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 8px 18px;
  border-radius: 10px;
}

.tour-price-label {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.tour-price-value {
  font-size: 20px;
  font-weight: 800;
  color: #FF7400;
}

/* Gallery Showcase: Image 1 (Poster), Image 2 & 3 (Photos) */
.tour-gallery-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  align-items: stretch;
  margin: 28px 0 32px 0;
}

.tour-poster-box {
  background: #ffffff;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(12, 8, 58, 0.08);
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.tour-poster-box img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.tour-poster-box:hover img {
  transform: scale(1.01);
}

.tour-gallery-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tour-side-photo-card {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(12, 8, 58, 0.07);
  border: 1px solid #e2e8f0;
  flex: 1;
  background: #0C083A;
  min-height: 220px;
}

.tour-side-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tour-side-photo-card:hover img {
  transform: scale(1.05);
}

.tour-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 14px 16px;
  background: linear-gradient(to top, rgba(12, 8, 58, 0.9) 0%, rgba(12, 8, 58, 0.5) 70%, transparent 100%);
  color: #ffffff;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.tour-caption-tag {
  font-size: 11px;
  font-weight: 700;
  background: #FF7400;
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  flex-shrink: 0;
}

.tour-caption-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

/* Quick Specifications Strip */
.tour-spec-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin: 32px 0;
}

.tour-spec-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.03);
  transition: transform 0.2s ease;
}

.tour-spec-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.tour-spec-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #EEF2FF;
  color: #0C083A;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tour-spec-card:nth-child(2) .tour-spec-icon {
  background: #FFF7ED;
  color: #FF7400;
}

.tour-spec-card:nth-child(3) .tour-spec-icon {
  background: #ECFDF5;
  color: #10B981;
}

.tour-spec-card:nth-child(4) .tour-spec-icon {
  background: #FEF2F2;
  color: #EF4444;
}

.tour-spec-meta {
  display: flex;
  flex-direction: column;
}

.tour-spec-label {
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
}

.tour-spec-title {
  font-size: 14px;
  font-weight: 700;
  color: #0C083A;
  margin-top: 2px;
}

/* Content Grid: Itinerary & Inclusions */
.tour-grid-details {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  margin: 36px 0;
}

.tour-card-block {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.tour-block-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.tour-block-header h3 {
  font-size: 19px;
  font-weight: 800;
  color: #0C083A;
  margin: 0;
}

/* Itinerary Timeline */
.tour-itinerary-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tour-itinerary-item {
  display: flex;
  gap: 16px;
  position: relative;
  padding-bottom: 18px;
}

.tour-itinerary-item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 21px;
  top: 42px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}

.tour-day-badge {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0C083A;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(12, 8, 58, 0.2);
  z-index: 1;
}

.tour-itinerary-item:nth-child(even) .tour-day-badge {
  background: #FF7400;
  box-shadow: 0 4px 10px rgba(255, 116, 0, 0.25);
}

.tour-itinerary-content {
  flex: 1;
}

.tour-itinerary-title {
  font-size: 15px;
  font-weight: 700;
  color: #0C083A;
  margin: 2px 0 6px 0;
}

.tour-itinerary-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

/* Include / Exclude Lists */
.tour-facilities-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tour-facility-box {
  border-radius: 12px;
  padding: 18px;
}

.tour-facility-box.included {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
}

.tour-facility-box.excluded {
  background: #FEF2F2;
  border: 1px solid #FECACA;
}

.tour-facility-heading {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 12px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tour-facility-box.included .tour-facility-heading {
  color: #166534;
}

.tour-facility-box.excluded .tour-facility-heading {
  color: #991B1B;
}

.tour-facility-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.tour-facility-list li {
  font-size: 13.5px;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.45;
}

.tour-facility-box.included .tour-facility-list li {
  color: #15803d;
}

.tour-facility-box.excluded .tour-facility-list li {
  color: #b91c1c;
}

.tour-facility-icon {
  flex-shrink: 0;
  margin-top: 2px;
}

/* Destination tags */
.tour-dest-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.tour-dest-tag {
  background: #F1F5F9;
  color: #334155;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

/* Bottom CTA Banner */
.tour-bottom-cta {
  background: linear-gradient(135deg, #0C083A 0%, #1a1654 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 32px 28px;
  margin: 40px 0 20px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(12, 8, 58, 0.15);
}

.tour-bottom-cta h3 {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 10px 0;
}

.tour-bottom-cta p {
  color: #cbd5e1;
  font-size: 15px;
  max-width: 650px;
  margin: 0 auto 24px auto;
  line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .tour-gallery-showcase {
    grid-template-columns: 1fr;
  }
  .tour-spec-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .tour-grid-details {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .tour-spec-strip {
    grid-template-columns: 1fr;
  }
  .tour-main-title {
    font-size: 24px;
  }
  .tour-card-block {
    padding: 18px;
  }
  .tour-bottom-cta {
    padding: 24px 18px;
  }
}
