/* ===================================================================
   South Indian Temple Tours — Page-Specific Styles
   Extends style.css design tokens (royal navy / luxury gold / ivory)
   =================================================================== */

/* ---------- Quick Jump Pills ---------- */
.quick-jump {
  background: var(--pure-white);
  border-bottom: 1px solid var(--border-light);
  position: relative;
  z-index: 20;
}
.quick-jump-track {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.quick-jump-track::-webkit-scrollbar { height: 5px; }
.quick-jump-track::-webkit-scrollbar-thumb { background: var(--border-gold); border-radius: 10px; }
.quick-jump a {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--royal-navy);
  background: var(--warm-ivory);
  border: 1px solid var(--border-light);
  white-space: nowrap;
  transition: all 0.25s ease;
}
.quick-jump a:hover {
  background: var(--royal-navy);
  color: var(--champagne-gold);
  border-color: var(--luxury-gold);
  transform: translateY(-2px);
}

/* ---------- Intro Section ---------- */
.intro-copy {
  max-width: 980px;
  margin: 0 auto;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.85;
}
.intro-copy p { margin-bottom: 18px; }
.intro-copy strong { color: var(--royal-navy); }
.intro-states {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}
.intro-states span {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: var(--gold-subtle);
  border: 1px solid var(--border-gold);
  color: var(--royal-navy);
  font-weight: 700;
  font-size: 13px;
}

/* ---------- Tags on cards ---------- */
.pkg-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
}
.pkg-tags li {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--royal-navy);
  background: var(--warm-ivory);
  border: 1px solid var(--border-light);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
}

/* ---------- Feature / mini icon grid (tour types, why-choose, panchabhoota, navagraha) ---------- */
.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.icon-card {
  background: var(--pure-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 26px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--luxury-gold);
}
.icon-card .icon-wrap {
  width: 56px;
  height: 56px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold-subtle);
  color: var(--luxury-gold);
  font-size: 22px;
}
.icon-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  color: var(--royal-navy);
  margin-bottom: 6px;
}
.icon-card p {
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ---------- Navagraha grid (9 planetary temples) ---------- */
.navagraha-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.navagraha-card {
  background: linear-gradient(160deg, var(--pure-white) 0%, var(--warm-ivory) 100%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.navagraha-card .grah-num {
  position: absolute;
  top: 8px;
  right: 12px;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  color: rgba(201, 162, 39, 0.18);
}
.navagraha-card .grah-planet {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--luxury-gold);
  font-weight: 700;
  margin-bottom: 6px;
}
.navagraha-card h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 16px;
  color: var(--royal-navy);
  margin-bottom: 4px;
}
.navagraha-card span.grah-loc {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---------- Panchabhoota table ---------- */
.panchabhoota-wrap {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}
table.panchabhoota-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--pure-white);
  min-width: 560px;
}
.panchabhoota-table th {
  background: var(--royal-navy);
  color: var(--champagne-gold);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 16px 20px;
  text-align: left;
}
.panchabhoota-table td {
  padding: 16px 20px;
  font-size: 14px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.panchabhoota-table tr:last-child td { border-bottom: none; }
.panchabhoota-table tr:hover td { background: var(--warm-ivory); }
.element-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 700;
  color: var(--royal-navy);
}
.element-chip i { color: var(--luxury-gold); }

/* ---------- Circuit route strip ---------- */
.circuit-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--warm-ivory);
  border: 1px dashed var(--border-gold);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  margin: 18px 0;
}
.circuit-strip .stop {
  font-weight: 700;
  color: var(--royal-navy);
  font-size: 14px;
}
.circuit-strip i.fa-arrow-right-long { color: var(--luxury-gold); }

/* ---------- Package badge variants ---------- */
.pkg-badge.alt { background: var(--emerald-green); color: #fff; box-shadow: 0 4px 12px rgba(30,130,76,.35); }

/* ---------- Enquiry / Booking form (dark navy card) ---------- */
.enquiry-section {
  background:
    radial-gradient(circle at 100% 0%, rgba(216, 194, 122, 0.18) 0%, rgba(216,194,122,0) 55%),
    linear-gradient(150deg, var(--royal-navy) 0%, var(--navy-midnight) 100%);
  border-radius: var(--radius-xl);
  padding: 50px 44px;
  box-shadow: var(--shadow-lg);
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}
.enquiry-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}
.enquiry-intro h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--cream-text);
  margin-bottom: 14px;
  line-height: 1.3;
}
.enquiry-intro p {
  color: rgba(248, 245, 239, 0.78);
  font-size: 14.5px;
  line-height: 1.75;
  margin-bottom: 22px;
}
.enquiry-quicklinks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.enquiry-quicklinks a {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--cream-text);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(216,194,122,0.25);
  transition: background 0.25s ease, transform 0.25s ease;
}
.enquiry-quicklinks a:hover { background: rgba(255,255,255,0.14); transform: translateX(4px); }
.enquiry-quicklinks i { color: var(--luxury-gold); width: 18px; text-align: center; }

.enquiry-form-panel select {
  background: #FCFAF7;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 13.5px;
  font-family: inherit;
  color: var(--deep-charcoal);
  width: 100%;
}

/* ---------- Floating action buttons ---------- */
.float-actions {
  position: fixed;
  right: 20px;
  bottom: 88px;
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.float-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #fff;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.float-btn:hover { transform: translateY(-4px) scale(1.05); }
.float-btn.wa { background: #25D366; }
.float-btn.call { background: var(--royal-navy); border: 2px solid var(--luxury-gold); }
.float-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid currentColor;
  opacity: 0.5;
  animation: floatPulse 2.2s ease-out infinite;
}
.float-btn.wa::after { color: #25D366; }
.float-btn.call::after { color: var(--luxury-gold); }
@keyframes floatPulse {
  0% { transform: scale(0.9); opacity: 0.6; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (max-width: 768px) {
  .float-actions { right: 14px; bottom: 78px; gap: 12px; }
  .float-btn { width: 48px; height: 48px; font-size: 19px; }
}

/* ---------- Placeholder image blocks (swap for real photography) ---------- */
.ph-media {
  position: relative;
  background: linear-gradient(150deg, var(--royal-navy) 0%, var(--navy-midnight) 60%, var(--deep-charcoal) 100%);
  color: rgba(216,194,122,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 13px;
  letter-spacing: 0.3px;
  padding: 14px;
  overflow: hidden;
}
.ph-media i { font-size: 26px; display: block; margin-bottom: 8px; color: var(--luxury-gold); }
.ph-media::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(201,162,39,0.25), transparent 60%);
}
.ph-media span { position: relative; z-index: 1; }

/* Responsive */
@media (max-width: 900px) {
  .enquiry-grid { grid-template-columns: 1fr; }
  .enquiry-section { padding: 36px 22px; }
}
@media (max-width: 640px) {
  .bk-form-grid { grid-template-columns: 1fr !important; }
}
