/* ==========================================================================
   PREMIUM TOURS PAGE — Full Redesign
   Style reference: GetYourGuide / Viator / Airbnb Experiences
   ========================================================================== */

/* ── Hero Header ──────────────────────────────────────────── */
.tours-hero-header {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 140px 0 80px;
}

.tours-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease-out;
  will-change: transform;
}

.tours-hero-header:hover .tours-hero-bg {
  transform: scale(1.0);
}

.tours-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(8, 44, 63, 0.88) 0%,
    rgba(3, 72, 111, 0.75) 50%,
    rgba(1, 181, 213, 0.25) 100%
  );
  z-index: 1;
}

/* Ambient glow orbs */
.tours-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 2;
  pointer-events: none;
}
.orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(238,118,28,0.35) 0%, transparent 70%);
  top: -80px;
  right: 10%;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.orb-2 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(1,181,213,0.30) 0%, transparent 70%);
  bottom: 60px;
  left: 5%;
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}
@keyframes orbFloat {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(30px) scale(1.08); }
}

/* Hero text elements */
.tours-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 1.4rem;
  animation: fadeInDown 0.7s ease both;
}

.tours-hero-title {
  font-family: 'Inter', sans-serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 1rem;
  text-shadow: 0 2px 12px rgba(0,0,0,0.3);
  animation: fadeInUp 0.7s ease 0.15s both;
}

.tours-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 2rem;
  line-height: 1.6;
  animation: fadeInUp 0.7s ease 0.3s both;
}

/* Trust / feature chips in hero */
.tours-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  animation: fadeInUp 0.7s ease 0.45s both;
}

.tours-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.22);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 7px 16px;
  border-radius: 50px;
  transition: background 0.25s ease, border-color 0.25s ease;
  cursor: default;
}
.tours-chip:hover {
  background: rgba(255,255,255,0.2);
  border-color: rgba(255,255,255,0.4);
}

/* Wave divider at bottom of hero */
.tours-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 4;
  line-height: 0;
}
.tours-hero-wave svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* ── Grid Section Wrapper ─────────────────────────────────── */
.tours-grid-section {
  background-color: var(--cpt-light);
  padding: 64px 0 80px;
}

/* Section header label + title */
.tours-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.tours-section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--cpt-primary);
  margin-bottom: 0.4rem;
}

.tours-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--cpt-secondary);
  margin: 0;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tours-count-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(238,118,28,0.12);
  color: var(--cpt-primary);
  font-size: 0.95rem;
  font-weight: 800;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ── Filter Pill Bar ──────────────────────────────────────── */
.tours-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 3rem;
}

.tours-filter-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 50px;
  border: 2px solid rgba(8,44,63,0.12);
  background: #fff;
  color: var(--cpt-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  outline: none;
}

.tours-filter-pill i {
  font-size: 0.95rem;
  color: var(--cpt-primary);
  transition: color 0.25s ease;
}

.tours-filter-pill:hover {
  border-color: var(--cpt-primary);
  color: var(--cpt-primary);
  box-shadow: 0 4px 14px rgba(238,118,28,0.15);
  transform: translateY(-2px);
}

.tours-filter-pill.active {
  background: linear-gradient(135deg, var(--cpt-primary), var(--cpt-primary-dark));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(238,118,28,0.35);
  transform: translateY(-2px);
}

.tours-filter-pill.active i {
  color: #fff;
}

/* ── Premium Tour Card (ptc) ──────────────────────────────── */
.ptc-card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 2px 8px rgba(0,0,0,0.06),
    0 8px 24px rgba(0,0,0,0.06);
  transition:
    transform 0.4s cubic-bezier(0.16,1,0.3,1),
    box-shadow 0.4s cubic-bezier(0.16,1,0.3,1);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ptc-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 4px 12px rgba(0,0,0,0.08),
    0 20px 50px rgba(8,44,63,0.14);
}

/* Image container */
.ptc-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
  flex-shrink: 0;
}

.ptc-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.165,0.84,0.44,1);
  display: block;
}

.ptc-card:hover .ptc-img {
  transform: scale(1.08) rotate(0.5deg);
}

/* Bottom gradient overlay on image */
.ptc-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0) 30%,
    rgba(8,44,63,0.55) 100%
  );
  transition: opacity 0.35s ease;
}

.ptc-card:hover .ptc-overlay {
  opacity: 0.85;
}

/* Category badge — top left */
.ptc-category-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--cpt-secondary);
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* Save / heart button — top right */
.ptc-save-btn {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  transition: all 0.25s ease;
  color: #bbb;
  font-size: 0.95rem;
}
.ptc-save-btn:hover,
.ptc-save-btn.saved {
  background: #fff;
  color: #e74c3c;
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(231,76,60,0.25);
}

/* Price chip — bottom of image */
.ptc-price-chip {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: var(--cpt-primary);
  color: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  display: flex;
  align-items: baseline;
  gap: 4px;
  box-shadow: 0 4px 14px rgba(238,118,28,0.35);
  transition: transform 0.3s ease;
}
.ptc-card:hover .ptc-price-chip {
  transform: translateY(-3px);
}
.ptc-price-from {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.85;
}
.ptc-price-amount {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.ptc-price-currency {
  font-size: 0.7rem;
  font-weight: 700;
  opacity: 0.9;
}

/* Card body */
.ptc-body {
  padding: 20px 20px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Star rating row */
.ptc-rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}
.ptc-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
  font-size: 0.75rem;
}
.ptc-rating-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cpt-secondary);
}
.ptc-review-count {
  font-size: 0.75rem;
  color: #999;
}

/* Tour title */
.ptc-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cpt-secondary);
  line-height: 1.3;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}
.ptc-card:hover .ptc-title {
  color: var(--cpt-primary);
}

/* Short description */
.ptc-desc {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 14px;
  flex: 1;
}

/* Meta chips row: duration, days, group size */
.ptc-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.ptc-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(8,44,63,0.06);
  color: var(--cpt-secondary);
  font-size: 0.73rem;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 50px;
  white-space: nowrap;
}
.ptc-meta-chip i {
  color: var(--cpt-primary);
  font-size: 0.75rem;
}

/* Card footer — single CTA full-width */
.ptc-footer {
  display: grid;
  grid-template-columns: 1fr;
  padding: 14px 20px 18px;
  border-top: 1px solid rgba(0,0,0,0.06);
}

.ptc-btn-details,
.ptc-btn-book {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 10px 14px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
}

.ptc-btn-details {
  background: transparent;
  border: 2px solid rgba(8,44,63,0.15);
  color: var(--cpt-secondary);
}
.ptc-btn-details:hover {
  background: var(--cpt-secondary);
  border-color: var(--cpt-secondary);
  color: #fff;
}

.ptc-btn-book {
  background: linear-gradient(135deg, var(--cpt-primary) 0%, var(--cpt-primary-dark) 100%);
  border: 2px solid transparent;
  color: #fff;
  box-shadow: 0 4px 14px rgba(238,118,28,0.28);
}
.ptc-btn-book:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(238,118,28,0.4);
  color: #fff;
}

/* Empty state */
.tours-empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #aaa;
  font-size: 1rem;
}

/* ── Responsive Overrides ─────────────────────────────────── */
@media (max-width: 991.98px) {
  .tours-hero-header {
    min-height: 420px;
    padding: 120px 0 70px;
  }
  .tours-hero-title { font-size: 2.2rem; }
  .tours-section-header { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (max-width: 767.98px) {
  .tours-hero-header {
    min-height: 380px;
    padding: 110px 0 60px;
  }
  .tours-hero-chips { gap: 7px; }
  .tours-chip { font-size: 0.72rem; padding: 5px 12px; }
  .tours-filter-bar { gap: 7px; }
  .tours-filter-pill { padding: 8px 16px; font-size: 0.8rem; }
  .tours-filter-pill span { display: none; }
  .tours-filter-pill i { font-size: 1.1rem; }
  .tours-filter-pill { padding: 10px 16px; }
  .ptc-img-wrap { height: 220px; }
}
