/**
 * Jiya Travels - Destination Detail Page Stylesheet
 * Homogenous with front-page design system
 */

/* Breadcrumbs (Unified with Global Design System) */
.dest-breadcrumbs {
  padding: 1.15rem 0 0.45rem;
  font-size: 0.84rem;
  color: var(--paragraph, #64748b);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.dest-breadcrumbs a {
  color: var(--brand-ink, #0b2330);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.2s ease;
}

.dest-breadcrumbs a:hover {
  color: var(--brand-primary, #0056b3);
}

.dest-breadcrumbs a i.fa-house {
  font-size: 0.84rem;
  color: var(--brand-primary, #0056b3);
}

.dest-breadcrumbs i.fa-chevron-right,
.dest-breadcrumbs i.separator {
  font-size: 0.62rem;
  color: #94a3b8;
  margin: 0 0.15rem;
}

.dest-breadcrumbs span.current {
  color: var(--brand-accent, #b9935a);
  font-weight: 600;
}

/* Destination Hero */
.dest-hero-section {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  margin: 0.75rem 0 2rem;
  min-height: 380px;
  display: flex;
  align-items: flex-end;
  background-color: #0b1e2c;
  box-shadow: 0 12px 36px rgba(11, 35, 48, 0.16);
}

.dest-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.85);
}

.dest-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11, 35, 48, 0.92) 0%,
    rgba(11, 35, 48, 0.45) 55%,
    rgba(11, 35, 48, 0.15) 100%
  );
  z-index: 1;
}

.dest-hero-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem 2.25rem;
  width: 100%;
  color: #ffffff;
}

.dest-hero-region-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.dest-hero-title {
  font-family: var(--font-serif, "Merriweather", Georgia, serif);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 0.5rem;
  color: #ffffff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.dest-hero-tagline {
  font-size: clamp(0.95rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 650px;
  line-height: 1.5;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Quick Stats Strip */
.dest-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 2.5rem;
}

.dest-stat-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.15rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dest-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.dark-theme .dest-stat-card {
  background: #141f2e;
  border-color: #233147;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.dest-stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 86, 179, 0.08);
  color: #0056b3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.dark-theme .dest-stat-icon {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.dest-stat-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 0.2rem;
}

.dark-theme .dest-stat-label {
  color: #94a3b8;
}

.dest-stat-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0b2330;
  line-height: 1.35;
}

.dark-theme .dest-stat-value {
  color: #f1f5f9;
}

/* Narrative & Highlights Section */
.dest-narrative-section {
  margin-bottom: 3rem;
}

.dest-section-header {
  margin-bottom: 1.5rem;
}

.dest-section-header .eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-accent, #b9935a);
  margin-bottom: 0.35rem;
}

.dest-section-header h2 {
  font-family: var(--font-serif, "Merriweather", Georgia, serif);
  font-size: clamp(1.6rem, 3vw, 2.25rem);
  font-weight: 800;
  color: var(--brand-ink, #0b2330);
  margin: 0 0 0.5rem;
  line-height: 1.25;
}

.dark-theme .dest-section-header h2 {
  color: #f3f4f6;
}

.dest-overview-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #475569;
  background: #ffffff;
  padding: 1.75rem 2rem;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.03);
  margin-bottom: 2rem;
}

.dark-theme .dest-overview-text {
  background: #141f2e;
  border-color: #233147;
  color: #cbd5e1;
}

/* Highlights Grid */
.dest-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.dest-highlight-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.4rem;
  display: flex;
  gap: 1rem;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.dest-highlight-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.07);
}

.dark-theme .dest-highlight-card {
  background: #141f2e;
  border-color: #233147;
}

.dest-hl-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.1), rgba(185, 147, 90, 0.15));
  color: #0056b3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.dark-theme .dest-hl-icon-wrap {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.dest-hl-info h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b2330;
  margin: 0 0 0.4rem;
}

.dark-theme .dest-hl-info h3 {
  color: #f1f5f9;
}

.dest-hl-info p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748b;
  margin: 0;
}

.dark-theme .dest-hl-info p {
  color: #94a3b8;
}

/* Packages Section on Destination Page */
.dest-packages-section {
  margin-bottom: 3.5rem;
  padding-top: 1rem;
}

.dest-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
  align-items: stretch;
}

.dest-packages-grid .featured-pkg-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.dark-theme .dest-packages-grid .featured-pkg-card {
  background: #141f2e;
  border-color: #233147;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.dest-packages-grid .featured-pkg-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12);
}

.dark-theme .dest-packages-grid .featured-pkg-card:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}

.dest-packages-grid .featured-pkg-img-wrap {
  position: relative;
  width: 100%;
  min-width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0b192c;
}

.dest-packages-grid .featured-pkg-img-wrap a {
  display: block;
  width: 100%;
  height: 100%;
}

.dest-packages-grid .featured-pkg-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-packages-grid .featured-pkg-card:hover .featured-pkg-img-wrap img {
  transform: scale(1.06);
}

/* Badge top-left */
.featured-pkg-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  letter-spacing: 0.02em;
  pointer-events: none;
}

.featured-pkg-badge.badge-orange { background: #fff7ed; color: #ea580c; border: 1px solid #ffedd5; }
.featured-pkg-badge.badge-blue { background: #eff6ff; color: #2563eb; border: 1px solid #dbeafe; }
.featured-pkg-badge.badge-gold { background: #fefce8; color: #ca8a04; border: 1px solid #fef08a; }
.featured-pkg-badge.badge-purple { background: #faf5ff; color: #9333ea; border: 1px solid #f3e8ff; }

/* Co-brand watermark top-right */
.featured-pkg-cobrand {
  position: absolute;
  top: 0.85rem;
  right: 0.85rem;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
  background: rgba(11, 35, 48, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.featured-pkg-cobrand .cobrand-sub {
  font-size: 0.5rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.06em;
  line-height: 1;
}

.featured-pkg-cobrand .cobrand-name {
  font-size: 0.75rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.08em;
  line-height: 1.1;
}

/* Card Body */
.featured-pkg-body {
  padding: 1.25rem 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.featured-pkg-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}

.featured-pkg-title {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0;
  flex: 1;
  letter-spacing: -0.01em;
}

.featured-pkg-title a {
  color: var(--brand-ink, #0b2330);
  text-decoration: none;
  transition: color 0.2s ease;
}

.featured-pkg-title a:hover {
  color: var(--brand-accent, #b9935a);
}

.dark-theme .featured-pkg-title a {
  color: #f1f5f9;
}

.dark-theme .featured-pkg-title a:hover {
  color: #38bdf8;
}

.featured-pkg-duration {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--brand-accent, #b9935a);
  color: var(--brand-accent, #b9935a);
  background: rgba(185, 147, 90, 0.08);
  font-size: 0.72rem;
  font-weight: 800;
  border-radius: 6px;
  padding: 0.16rem 0.48rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.dark-theme .featured-pkg-duration {
  background: rgba(56, 189, 248, 0.12);
  border-color: #38bdf8;
  color: #38bdf8;
}

.featured-pkg-route {
  font-size: 0.8rem;
  color: #64748b;
  margin: 0 0 0.85rem;
  line-height: 1.4;
  font-weight: 500;
}

.dark-theme .featured-pkg-route {
  color: #94a3b8;
}

.featured-pkg-divider {
  border: none;
  border-top: 1px solid #f1f5f9;
  margin: 0 0 0.85rem;
}

.dark-theme .featured-pkg-divider {
  border-top-color: #233147;
}

/* Inclusions list */
.featured-pkg-inclusions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.15rem;
  flex: 1;
}

.featured-pkg-inclusions .inc-item {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  font-size: 0.8rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.35;
}

.dark-theme .featured-pkg-inclusions .inc-item {
  color: #cbd5e1;
}

.featured-pkg-inclusions .inc-item i {
  color: #0ea5a4;
  font-size: 0.76rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.dark-theme .featured-pkg-inclusions .inc-item i {
  color: #2dd4bf;
}

/* Bottom pricing & actions */
.featured-pkg-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  padding-top: 0.95rem;
  border-top: 1px solid #f1f5f9;
  margin-top: auto;
}

.dark-theme .featured-pkg-bottom {
  border-top-color: #233147;
}

.featured-pkg-pricing {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem;
}

.featured-pkg-pricing .pricing-badge {
  font-size: 0.72rem;
  font-weight: 700;
  color: #e11d48;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  background: #ffe4e6;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.dark-theme .featured-pkg-pricing .pricing-badge {
  background: rgba(225, 29, 72, 0.2);
  color: #fda4af;
}

.featured-pkg-pricing .pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
}

.featured-pkg-pricing .currency {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--brand-ink, #0b2330);
  letter-spacing: -0.02em;
}

.dark-theme .featured-pkg-pricing .currency {
  color: #f1f5f9;
}

.featured-pkg-pricing .unit {
  font-size: 0.75rem;
  font-weight: 500;
  color: #64748b;
}

.dark-theme .featured-pkg-pricing .unit {
  color: #94a3b8;
}

.featured-pkg-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.55rem;
  width: 100%;
}

.featured-pkg-actions .btn-pkg-explore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  border: 1.5px solid #cbd5e1;
  background: #ffffff;
  color: var(--brand-ink, #0b2330);
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  text-align: center;
}

.featured-pkg-actions .btn-pkg-explore:hover {
  border-color: var(--brand-ink, #0b2330);
  background: #f8fafc;
  transform: translateY(-1px);
}

.dark-theme .featured-pkg-actions .btn-pkg-explore {
  background: #1e293b;
  border-color: #334155;
  color: #f1f5f9;
}

.dark-theme .featured-pkg-actions .btn-pkg-explore:hover {
  border-color: #38bdf8;
  color: #38bdf8;
}

.featured-pkg-actions .btn-pkg-book {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #1ebe5d 100%);
  color: #ffffff !important;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 3px 10px rgba(37, 211, 102, 0.3);
  transition: all 0.2s ease;
  white-space: nowrap;
}

.featured-pkg-actions .btn-pkg-book:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(37, 211, 102, 0.45);
}

/* Custom Trip Banner */
.dest-custom-banner {
  background: linear-gradient(135deg, #0b2330 0%, #16374f 100%);
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 12px 32px rgba(11, 35, 48, 0.2);
}

.dest-custom-content h3 {
  font-family: var(--font-serif, "Merriweather", Georgia, serif);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  margin: 0 0 0.5rem;
  color: #ffffff;
}

.dest-custom-content p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  max-width: 600px;
  line-height: 1.5;
}

.dest-custom-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.dest-btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.dest-btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.5);
}

.dest-btn-call {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: background 0.2s ease, transform 0.2s ease;
}

.dest-btn-call:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

/* Directory view (when no slug is provided) */
.dest-dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.35rem;
  margin-bottom: 3rem;
}

.dest-dir-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  text-decoration: none !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.dest-dir-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

.dest-dir-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-dir-card:hover img {
  transform: scale(1.06);
}

.dest-dir-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 35, 48, 0.92) 0%, rgba(11, 35, 48, 0.2) 60%, transparent 100%);
  z-index: 1;
}

.dest-dir-content {
  position: relative;
  z-index: 2;
  padding: 1.25rem 1.35rem;
}

.dest-dir-content h3 {
  font-family: var(--font-serif, "Merriweather", Georgia, serif);
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 0.25rem;
  color: #ffffff;
}

.dest-dir-content p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

/* Responsive queries */
@media screen and (max-width: 1024px) {
  .dest-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 768px) {
  .dest-hero-section {
    min-height: 320px;
  }
  .dest-hero-content {
    padding: 1.75rem 1.25rem;
  }
  .dest-highlights-grid {
    grid-template-columns: 1fr;
  }
  .dest-custom-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.75rem 1.35rem;
    gap: 1.35rem;
  }
  .dest-custom-actions {
    width: 100%;
    flex-direction: column;
  }
  .dest-btn-whatsapp,
  .dest-btn-call {
    width: 100%;
    justify-content: center;
  }
}

@media screen and (max-width: 500px) {
  .dest-stats-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .dest-stat-card {
    padding: 0.95rem 1rem;
  }
  .dest-overview-text {
    padding: 1.25rem 1.15rem;
    font-size: 0.96rem;
  }
}


