/**
 * Destination Taxonomy & Package Archive Stylesheet
 * Theme: JupiterX Child / Inca Trail Peru
 */

/* ==========================================================================
   1. Destination Hero Banner
   ========================================================================== */
.stp-dest-hero {
  position: relative;
  background-color: #0d1b2a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 10.5rem 0 5.5rem;
  min-height: 560px;
  overflow: hidden;
}

.stp-dest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 27, 42, 0.72) 0%, rgba(13, 27, 42, 0.92) 100%),
              radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.6) 100%);
  z-index: 1;
}

.stp-dest-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.stp-dest-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(120, 192, 68, 0.15);
  color: #78c044;
  border: 1px solid rgba(120, 192, 68, 0.35);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.stp-dest-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 1rem;
}

.stp-dest-subtitle {
  font-size: 1.15rem;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.stp-dest-meta-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.stp-dest-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #f8fafc;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stp-dest-chip i {
  color: #ffc107;
}

/* ==========================================================================
   2. Trust Highlights Bar
   ========================================================================== */
.stp-dest-trust-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 1.25rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  position: relative;
  z-index: 3;
}

.stp-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
}

.stp-trust-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #78c044;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.stp-trust-item:hover .stp-trust-icon {
  background: #78c044;
  color: #ffffff;
  transform: translateY(-2px);
}

.stp-trust-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #0f172a;
  margin-bottom: 2px;
}

.stp-trust-sub {
  font-size: 0.8rem;
  color: #64748b;
  margin-bottom: 0;
}

/* ==========================================================================
   3. Filter Bar & Breadcrumb
   ========================================================================== */
.stp-dest-subbar {
  padding: 1.5rem 0;
}

.stp-dest-breadcrumb {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0;
}

.stp-dest-breadcrumb a {
  color: #0284c7;
  text-decoration: none;
}

.stp-dest-breadcrumb a:hover {
  text-decoration: underline;
}

.stp-dest-counter-pill {
  background: #e0f2fe;
  color: #0369a1;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
}

/* ==========================================================================
   4. Tour Packages Grid
   ========================================================================== */
.stp-dest-tours-section {
  padding: 1rem 0 4rem;
}

.stp-dest-tour-col {
  display: flex;
}

.stp-dest-tour-col .example-2.card-tour {
  width: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stp-dest-tour-col .example-2.card-tour:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1) !important;
}

/* ==========================================================================
   5. Destination In-Depth Guide & Quick Facts
   ========================================================================== */
.stp-dest-guide-section {
  background: #f8fafc;
  padding: 4.5rem 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}

.stp-dest-guide-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.stp-dest-guide-title {
  font-size: 1.85rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 12px;
}

.stp-dest-guide-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: #78c044;
  border-radius: 2px;
}

.stp-dest-guide-body {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.75;
}

.stp-dest-guide-body p {
  margin-bottom: 1.25rem;
}

.stp-dest-guide-body h2,
.stp-dest-guide-body h3 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

/* Quick Facts Sidebar Card */
.stp-dest-facts-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 100px;
}

.stp-facts-header {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 1.25rem;
  padding-bottom: 10px;
  border-bottom: 2px solid #f1f5f9;
}

.stp-fact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.stp-fact-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.stp-fact-icon {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: #f0fdf4;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.stp-fact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748b;
  font-weight: 600;
  margin-bottom: 2px;
}

.stp-fact-value {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0;
}

/* ==========================================================================
   6. Concierge WhatsApp & Custom Trip CTA
   ========================================================================== */
.stp-dest-cta-section {
  background: linear-gradient(135deg, #0d1b2a 0%, #1b263b 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.stp-dest-cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(120, 192, 68, 0.15) 0%, rgba(120, 192, 68, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.stp-dest-cta-card {
  position: relative;
  z-index: 2;
}

.stp-dest-cta-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.stp-dest-cta-text {
  font-size: 1.1rem;
  color: #94a3b8;
  max-width: 650px;
  margin: 0 auto 2rem;
  line-height: 1.65;
}

.btn-whatsapp-cta {
  background: #25d366;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.3s ease;
}

.btn-whatsapp-cta:hover {
  background: #20ba5a;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(37, 211, 102, 0.45);
}

.btn-contact-alt {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 12px 28px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-contact-alt:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

/* ==========================================================================
   7. Other Destinations Explorer
   ========================================================================== */
.stp-dest-other-section {
  padding: 4rem 0;
  background: #ffffff;
}

.stp-dest-mini-card {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 220px;
  display: block;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
}

.stp-dest-mini-card:hover {
  transform: translateY(-4px);
}

.stp-dest-mini-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stp-dest-mini-card:hover img {
  transform: scale(1.05);
}

.stp-dest-mini-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.75) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: #ffffff;
}

.stp-dest-mini-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.stp-dest-mini-count {
  font-size: 0.8rem;
  color: #f1f5f9;
  opacity: 0.9;
}

/* ==========================================================================
   8. Responsive Adaptations
   ========================================================================== */
@media (max-width: 991.98px) {
  .stp-dest-hero {
    padding: 8.5rem 0 4.5rem;
    min-height: 480px;
  }
  .stp-dest-title {
    font-size: 2.3rem;
  }
  .stp-dest-facts-card {
    margin-top: 2rem;
    position: static;
  }
}

@media (max-width: 767.98px) {
  .stp-dest-hero {
    padding: 7.5rem 0 4rem;
    min-height: 420px;
  }
  .stp-dest-title {
    font-size: 1.85rem;
  }
  .stp-dest-subtitle {
    font-size: 0.95rem;
  }
  .stp-dest-guide-card {
    padding: 1.5rem;
  }
  .stp-dest-cta-title {
    font-size: 1.65rem;
  }
}
