/* ============================================================
   ESSE INDIA — DESTINATIONS SECTION
   Location: /assets/css/destinations.css
   Only .dp-* prefixed classes + minimal overrides
   ============================================================ */

.dp-section {
  position: relative;
  overflow: hidden;
  padding: 70px 0 90px;
  background:
    radial-gradient(circle at 10% 6%, rgba(106, 53, 230, .06), transparent 40%),
    radial-gradient(circle at 92% 86%, rgba(245, 180, 0, .08), transparent 45%),
    #fff;
}
.dp-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(75, 33, 196, .12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(ellipse 70% 55% at 50% 28%, #000 25%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 55% at 50% 28%, #000 25%, transparent 78%);
  pointer-events: none;
}

/* Override section-head sub text within this section */
.dp-section .section-head { position: relative; z-index: 1; }
.dp-section .section-head .sub {
  margin-top: 12px;
  font-size: 14.5px;
  color: var(--gray, #6d6d80);
  line-height: 1.6;
}

/* ---------- GRID ---------- */
.dp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}

/* ---------- CARD (as link) ---------- */
.dp-card {
  position: relative;
  display: flex;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 14px 34px -18px rgba(26, 13, 61, .28);
  border: 1px solid rgba(75, 33, 196, .08);
  transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .12s ease-out, box-shadow .35s ease, border-color .35s ease;
  will-change: transform;
  text-decoration: none;
  color: inherit;
}
.dp-card:hover {
  box-shadow: 0 34px 64px -20px rgba(75, 33, 196, .4);
  border-color: rgba(139, 92, 246, .35);
}
.dp-card.hidden-dest { display: none; }

/* Shine */
.dp-shine {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .6), transparent 45%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: overlay;
}
.dp-card:hover .dp-shine { opacity: 1; }

/* Ticket stub (left side) */
.dp-stub {
  flex: 0 0 96px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 20px 8px;
  background: linear-gradient(180deg, var(--lilac-50, #f8f6fd), #fff);
  border-right: 1.5px dashed rgba(75, 33, 196, .28);
}
.dp-flag {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 8px 18px -6px rgba(26, 13, 61, .35), 0 0 0 1.5px rgba(75, 33, 196, .18);
  transition: transform .45s cubic-bezier(.34, 1.56, .64, 1);
}
.dp-card:hover .dp-flag {
  transform: scale(1.14) rotate(-5deg);
}
.dp-flag img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dp-code {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--purple-600, #4b21c4);
}
.dp-gate {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--gray, #6d6d80);
  text-transform: uppercase;
}

/* Main content */
.dp-main {
  flex: 1;
  position: relative;
  padding: 22px 22px 16px;
  min-width: 0;
}
.dp-stamp {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  border: 1.5px solid var(--gold, #f5b400);
  color: #b8860b;
  background: linear-gradient(135deg, rgba(245, 180, 0, .14), rgba(139, 92, 246, .08));
  opacity: 0;
  transform: rotate(-10deg) scale(.7);
  transition: opacity .4s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
  white-space: nowrap;
}
.dp-card:hover .dp-stamp {
  opacity: 1;
  transform: rotate(-8deg) scale(1);
}

.dp-main h4 {
  font-family: var(--font-display, 'Outfit', sans-serif);
  font-size: 18px;
  margin: 0 0 8px;
  padding-right: 72px;
  color: var(--ink, #150c2e);
}
.dp-main p {
  font-size: 13px;
  color: var(--gray, #6d6d80);
  line-height: 1.55;
  margin: 0 0 16px;
  min-height: 58px;
}

.dp-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--purple-600, #4b21c4);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color .25s;
}
.dp-cta i {
  transition: transform .25s;
  font-size: 11px;
}
.dp-card:hover .dp-cta {
  color: var(--purple-800, #321a7a);
}
.dp-card:hover .dp-cta i {
  transform: translateX(4px);
}

.dp-barcode {
  height: 16px;
  margin: 16px -22px -16px;
  padding: 0 22px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--ink, #150c2e) 0 2px, transparent 2px 5px,
    var(--ink, #150c2e) 5px 6px, transparent 6px 10px,
    var(--ink, #150c2e) 10px 13px, transparent 13px 17px
  );
  opacity: .14;
}

/* See more button */
.dp-see-more {
  text-align: center;
  margin-top: 44px;
  position: relative;
  z-index: 1;
}
.dp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  background: linear-gradient(135deg, var(--purple-500, #6a35e6), var(--purple-800, #321a7a));
  box-shadow: 0 14px 28px -10px rgba(75, 33, 196, .55);
  transition: transform .3s, box-shadow .3s;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.dp-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 34px -10px rgba(75, 33, 196, .6);
}
.dp-btn i {
  transition: transform .3s ease;
  font-size: 12px;
}
.dp-btn.active i {
  transform: rotate(180deg);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .dp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .dp-grid { grid-template-columns: 1fr; }
  .dp-card { transform: none !important; }
  .dp-stub { flex-basis: 82px; }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  .dp-card,
  .dp-flag,
  .dp-stamp,
  .dp-cta i,
  .dp-btn i {
    transition: none !important;
  }
}