/* ==========================================================================
   Global Property Escape — Travel & Tours Section
   ========================================================================== */

/* ---------- Purpose tabs ---------- */
.travel-purpose-tabs {
  display: flex; gap: 8px; padding: 20px 0 0;
}
.travel-tab {
  padding: 10px 24px; border-radius: var(--radius-full); border: 1px solid var(--border);
  background: var(--white); color: var(--text); font-size: 0.9rem; font-weight: 500;
  cursor: pointer; transition: all var(--transition-fast);
}
.travel-tab:hover { border-color: var(--primary); color: var(--primary); }
.travel-tab.is-active {
  background: var(--primary); color: var(--white); border-color: var(--primary);
}

/* ---------- Travel detail page ---------- */
.travel-detail-hero { margin-bottom: 24px; }
.travel-detail-hero .gallery-main {
  border-radius: var(--radius-lg); overflow: hidden; max-height: 480px;
}
.travel-detail-hero .gallery-main img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.gallery-thumbs {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 10px;
}
.gallery-thumb {
  padding: 0; border: 2px solid transparent; border-radius: var(--radius);
  overflow: hidden; cursor: pointer; background: none; line-height: 0;
}
.gallery-thumb img { width: 100%; height: 84px; object-fit: cover; display: block; }
.gallery-thumb.is-active { border-color: var(--primary); }

/* ---------- Featured section helpers ---------- */
.section-head { margin-bottom: 24px; flex-direction: column; align-items: flex-start; }
.section-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-top: 6px; }
.featured-view-all { text-align: center; margin-top: 24px; }

/* ---------- Key facts grid ---------- */
.key-facts-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px; margin: 16px 0 24px; padding: 16px;
  background: var(--light-grey); border-radius: var(--radius);
}
.key-fact { text-align: center; }
.key-fact-label {
  display: block; font-size: 0.72rem; text-transform: uppercase;
  letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 4px;
}
.key-fact-value {
  display: block; font-family: var(--font-heading); font-weight: 700;
  font-size: 0.95rem; color: var(--primary);
}

/* ---------- Property head meta ---------- */
.property-head-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
  margin-top: 10px; font-size: 0.88rem; color: var(--text-muted);
}
.property-head-loc {
  display: inline-flex; align-items: center; gap: 4px;
}
.property-head-views, .property-head-ref {
  color: var(--text-dim);
}

/* ---------- Services list ---------- */
.travel-services-list {
  list-style: none; padding: 0; margin: 12px 0 24px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 8px;
}
.travel-services-list li {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.9rem; color: var(--text);
}
.travel-services-list li svg { color: var(--success); flex-shrink: 0; }

/* ---------- Destination chips ---------- */
.travel-dest-chips {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 24px;
}
.travel-dest-chip {
  display: inline-block; padding: 6px 14px;
  background: var(--info-bg); border: 1px solid var(--border);
  border-radius: var(--radius-full); font-size: 0.82rem; color: var(--primary);
}

/* ---------- Contact card ---------- */
.travel-contact-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px; margin-bottom: 24px;
}
.travel-contact-card h3 {
  margin: 0 0 12px; font-size: 1.05rem;
}
.travel-contact-card p { margin: 0 0 8px; font-size: 0.88rem; }
.travel-contact-card .btn { margin-bottom: 8px; }
.btn--full { width: 100%; text-align: center; }

/* ---------- Enquiry form ---------- */
.travel-enquiry-form {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.travel-enquiry-form h3 { margin: 0 0 16px; font-size: 1.05rem; }

/* ---------- CTA section ---------- */
.travel-cta-section {
  text-align: center; padding: 48px 24px; margin: 40px 0;
  background: var(--light-grey); border-radius: var(--radius-lg);
}
.travel-cta-section h2 {
  font-size: 1.4rem; margin-bottom: 12px;
}
.travel-cta-section p {
  color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px;
  max-width: 600px; margin-left: auto; margin-right: auto;
}

/* ---------- Disclaimer ---------- */
.travel-disclaimer {
  margin: 40px 0 24px; padding: 24px;
  background: var(--light-grey); border-radius: var(--radius);
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.7;
}
.travel-disclaimer h3 {
  font-size: 0.9rem; color: var(--primary); margin-bottom: 10px;
}

/* ---------- Detail layout ---------- */
.travel-detail-page .details-layout {
  display: grid; grid-template-columns: 1fr 380px; gap: 32px; margin-top: 24px;
}
.travel-detail-page .details-content section { margin-bottom: 32px; }
.travel-detail-page .details-content h2 {
  font-size: 1.15rem; margin-bottom: 12px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

/* ---------- Loading spinner ---------- */
.spinner {
  width: 36px; height: 36px; border: 3px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- No results ---------- */
.no-results {
  text-align: center; padding: 60px 24px; color: var(--text-muted);
}
.no-results h3 { margin-bottom: 8px; color: var(--primary); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .travel-detail-page .details-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .travel-services-list {
    grid-template-columns: 1fr;
  }
  .key-facts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .key-facts-grid {
    grid-template-columns: 1fr;
  }
}
