/* Tours Hub — components.css
   Supplementary component styles, animations, responsive overrides
*/

/* =====================================================================
   CATALOG PREVIEW CARDS (For Resellers page)
   ===================================================================== */
.thb-catalog-card {
  background: var(--thb-bg-white);
  border-radius: var(--thb-r-card);
  box-shadow: var(--thb-shadow-card);
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.thb-catalog-card:hover {
  box-shadow: var(--thb-shadow-hover);
  transform: translateY(-2px);
}

.thb-catalog-card__cover {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--thb-brand-primary) 0%, var(--thb-brand-mid) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  font-size: 2.5rem;
  position: relative;
  overflow: hidden;
}

.thb-catalog-card__cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(13,48,70,0.5) 100%);
}

.thb-catalog-card__body {
  padding: 20px;
}

.thb-catalog-card__region {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--thb-accent-aa-light);
  margin-bottom: 6px;
}

.thb-catalog-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--thb-fg-light-primary);
  margin-bottom: 8px;
  line-height: 1.3;
}

.thb-catalog-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.875rem;
  color: var(--thb-fg-light-secondary);
}

.thb-catalog-card__rate {
  font-weight: 700;
  color: var(--thb-brand-primary);
  font-size: 1rem;
}

/* =====================================================================
   WORKFLOW STEPS (For Operators page)
   ===================================================================== */
.thb-workflow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.thb-workflow__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.thb-workflow__step:not(:last-child)::after {
  content: '\2192';
  position: absolute;
  right: -10px;
  top: 44px;
  font-size: 1.25rem;
  color: rgba(13,79,107,0.3);
  z-index: 1;
}

.thb-workflow__num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--thb-brand-primary);
  color: #fff;
  font-family: var(--thb-font-heading);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.thb-workflow__step h3 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--thb-fg-light-primary);
  margin-bottom: 6px;
}

.thb-workflow__step p {
  font-size: 0.875rem;
  color: var(--thb-fg-light-secondary);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .thb-workflow { grid-template-columns: repeat(2, 1fr); }
  .thb-workflow__step:not(:last-child)::after { display: none; }
}

@media (max-width: 480px) {
  .thb-workflow { grid-template-columns: 1fr; }
}

/* =====================================================================
   PAIN POINT STRIP
   ===================================================================== */
.thb-pain-strip {
  background: var(--thb-bg-white);
}

.thb-pain-item {
  padding: 28px;
  border-radius: var(--thb-r-card);
  background: var(--thb-bg-light);
  border: 1px solid rgba(13,79,107,0.06);
}

.thb-pain-item__icon {
  font-size: 1.5rem;
  color: var(--thb-fg-light-secondary);
  margin-bottom: 14px;
  opacity: 0.6;
}

.thb-pain-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--thb-fg-light-primary);
  margin-bottom: 8px;
}

.thb-pain-item p {
  font-size: 0.9rem;
  color: var(--thb-fg-light-secondary);
  line-height: 1.6;
}

/* =====================================================================
   SINGLE TESTIMONIAL (For Operators / For Resellers)
   ===================================================================== */
.thb-featured-testimonial {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.thb-featured-testimonial__quote {
  font-size: 1.25rem;
  line-height: 1.7;
  color: var(--thb-fg-light-primary);
  font-style: italic;
  margin-bottom: 28px;
  position: relative;
}

.thb-featured-testimonial__quote::before {
  content: '\201C';
  font-size: 5rem;
  color: var(--thb-accent-dec);
  line-height: 0;
  position: relative;
  top: 20px;
  margin-right: 4px;
  font-family: Georgia, serif;
  opacity: 0.5;
}

.thb-featured-testimonial__author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.thb-featured-testimonial__stat {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(13,79,107,0.06);
  border-radius: var(--thb-r-pill);
  padding: 8px 20px;
  font-size: 0.9rem;
  color: var(--thb-accent-aa-light);
  font-weight: 600;
}

/* =====================================================================
   RESELLER COMMISSIONS EXPLAINER
   ===================================================================== */
.thb-commission-text h3 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--thb-fg-light-primary);
  margin-bottom: 16px;
}

.thb-commission-text p {
  font-size: 0.9375rem;
  color: var(--thb-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

/* =====================================================================
   CTA BAND
   ===================================================================== */
.thb-cta-band {
  text-align: center;
}

.thb-cta-band h2 {
  font-family: var(--thb-font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--thb-fg-dark-primary);
  margin-bottom: 16px;
}

.thb-cta-band p {
  font-size: 1.0625rem;
  color: var(--thb-fg-dark-secondary);
  margin-bottom: 36px;
}

.thb-cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* =====================================================================
   PRICING RESELLER NOTE
   ===================================================================== */
.thb-reseller-note {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.thb-reseller-note h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--thb-fg-light-primary);
  margin-bottom: 12px;
}

.thb-reseller-note p {
  font-size: 1.0625rem;
  color: var(--thb-fg-light-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* =====================================================================
   ABOUT MISSION
   ===================================================================== */
.thb-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 72px;
  align-items: start;
}

.thb-mission-pullquote {
  font-family: var(--thb-font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--thb-brand-primary);
  line-height: 1.4;
  border-left: 4px solid var(--thb-accent-dec);
  padding-left: 24px;
}

.thb-mission-narrative p {
  font-size: 1rem;
  color: var(--thb-fg-light-secondary);
  line-height: 1.75;
  margin-bottom: 16px;
}

@media (max-width: 860px) {
  .thb-mission-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* =====================================================================
   MAP PLACEHOLDER
   ===================================================================== */
.thb-map-placeholder {
  background: var(--thb-bg-light);
  border-radius: var(--thb-r-card);
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--thb-fg-light-secondary);
  font-size: 0.9rem;
  border: 1.5px solid rgba(13,79,107,0.08);
  margin-top: 24px;
  gap: 10px;
}

/* =====================================================================
   PLATFORM API SECTION
   ===================================================================== */
.thb-api-section {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 860px) {
  .thb-api-section { grid-template-columns: 1fr; }
}

/* =====================================================================
   BLOG ARTICLE RELATED
   ===================================================================== */
.thb-related-articles {
  border-top: 1px solid rgba(13,79,107,0.1);
  padding-top: 56px;
  margin-top: 56px;
}

.thb-related-articles h2 {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--thb-fg-light-primary);
  margin-bottom: 32px;
}

.thb-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 768px) {
  .thb-related-grid { grid-template-columns: 1fr; }
}

/* =====================================================================
   PAGE HEADER HERO (light pages) — enhanced visual weight
   ===================================================================== */
.thb-page-hero {
  padding: 120px 0 72px;
  background: var(--thb-bg-light);
  border-bottom: 1px solid rgba(13,79,107,0.06);
}

.thb-page-hero--split {
  padding: 120px 0 80px;
  background: var(--thb-bg-light);
  border-bottom: 1px solid rgba(13,79,107,0.06);
}

.thb-page-hero__inner {
  max-width: var(--thb-container-max);
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.thb-page-hero__content { max-width: 520px; }

.thb-page-hero__image {
  border-radius: var(--thb-r-card);
  overflow: hidden;
  box-shadow: var(--thb-shadow-hover);
}

.thb-page-hero__image img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .thb-page-hero__inner { grid-template-columns: 1fr; }
  .thb-page-hero__image { display: none; }
  .thb-page-hero { padding: 100px 0 56px; }
  .thb-page-hero--split { padding: 100px 0 56px; }
}

/* =====================================================================
   LOGO SVG inline utility
   ===================================================================== */
.thb-logo-svg text {
  font-family: 'Plus Jakarta Sans', sans-serif;
}
