/* ==========================================================================
   footer-links.css — footer destination carousel
   Sits inside .site-footer, above .footer-inner, so it is styled for the
   navy background rather than the light band Oceans Travel uses.
   Deploy to: /var/www/punjabtravel.co.uk/html/assets/css/footer-links.css
   ========================================================================== */

.dest-carousel {
  border-bottom: 1px solid rgba(249, 247, 244, 0.12);
}

.dest-carousel-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 32px 36px;
}

.dc-heading {
  font-size: 22px;
  font-weight: 700;
  color: var(--on-dark);
  letter-spacing: -0.01em;
  margin-bottom: 20px;
}

/* ---------- Tabs ---------- */

.dc-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.dc-tab {
  padding: 7px 18px;
  border: 1px solid rgba(249, 247, 244, 0.22);
  border-radius: 999px;
  background: transparent;
  color: rgba(249, 247, 244, 0.8);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.dc-tab:hover {
  color: var(--on-dark);
  border-color: rgba(249, 247, 244, 0.45);
}

.dc-tab.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy-deep);
}

/* ---------- Track ---------- */

.dc-wrapper {
  position: relative;
}

.dc-viewport {
  overflow: hidden;
  /* Holds the height steady so a shorter final page does not make the
     footer jump as you page through. */
  min-height: 132px;
}

.dc-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.45, 0, 0.25, 1);
}

.dc-pane {
  flex: 0 0 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px 40px;
  align-content: start;
}

.dc-pane a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-width: 0;
  padding: 4px 0;
  font-size: 14px;
  color: rgba(249, 247, 244, 0.75);
  transition: color 0.2s var(--ease), transform 0.2s var(--ease);
}

.dc-pane a:hover {
  color: var(--on-dark);
  transform: translateX(3px);
}

/* Long names truncate rather than wrapping and breaking the row rhythm. */
.dc-link-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

/* Unused for now — ready for when prices are wired in. */
.dc-link-price {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 13px;
  color: var(--gold);
}

/* ---------- Navigation ---------- */

.dc-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
}

.dc-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(249, 247, 244, 0.22);
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s var(--ease), border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.dc-arrow:hover:not(:disabled) {
  background: rgba(249, 247, 244, 0.08);
  border-color: rgba(249, 247, 244, 0.45);
}

.dc-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

/* A single page needs no controls at all. */
.dc-nav[hidden] {
  display: none;
}

.dc-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex: 1;
}

.dc-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(249, 247, 244, 0.28);
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.dc-dot:hover {
  background: rgba(249, 247, 244, 0.5);
}

.dc-dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

/* ---------- Responsive ---------- */

@media (max-width: 1023px) {
  .dc-pane {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px 28px;
  }

  .dc-viewport {
    min-height: 190px;
  }
}

@media (max-width: 720px) {
  .dest-carousel-inner {
    padding: 36px 20px 28px;
  }

  .dc-heading {
    font-size: 19px;
  }

  .dc-pane {
    grid-template-columns: 1fr;
  }

  .dc-viewport {
    min-height: 300px;
  }

  .dc-arrow {
    width: 34px;
    height: 34px;
  }
}