/* ============================================================
   TREK & TOURS SECTIONS — Tasks 4 & 5
   Card design: full-height image, black gradient overlay, info at bottom
   ============================================================ */

/* ── Shared section pill label ── */
.tan-section-pill {
  display: inline-block;
  background: rgba(49, 161, 222, .12);
  color: var(--secondary-color);
  border: 1px solid rgba(49, 161, 222, .3);
  border-radius: 30px;
  padding: 5px 16px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

/* ── Shared "View More" button — blue pill matching live site ── */
.tan-view-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-color);
  color: #fff;
  padding: 9px 22px;
  border-radius: 30px;
  font-size: .85rem;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--secondary-color);
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s, color .2s, transform .15s;
}
.tan-view-more-btn:hover {
  background: transparent;
  color: var(--secondary-color);
  transform: translateY(-1px);
}
.tan-view-more-btn i { font-size: .78rem; }

/* ============================================================
   TREKKING SECTION
   ============================================================ */
.tan-trek {
  padding: 80px 0;
  background: #f8f9fa;
}
.tan-trek__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}
.tan-trek__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.tan-trek__header-left { flex: 1; }
.tan-trek__heading {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  font-family: var(--font-family-primary);
}

/* 4-column grid */
.tan-trek__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ── Card shell ── */
/* tan-trek__card, tan-card__overlay, tan-card__wishlist-btn — now in app.css (global) */

/* ============================================================
   TOURS & SHORT TOURS SECTION
   ============================================================ */
.tan-tours {
  padding: 80px 0;
  background: #fff;
}
.tan-tours__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}
.tan-tours__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.tan-tours__header-left { flex: 1; }
.tan-tours__heading {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  font-family: var(--font-family-primary);
}

/* 4-column grid */
.tan-tours__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Tour card shell */
.tan-tours__card {
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  height: 420px;
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}
.tan-tours__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,.25);
}
.tan-tours__card:hover .tan-trek__card-image img { transform: scale(1.08); }

/* Location tag — top-left of card image */
.tan-tours__location-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: .75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.3);
  z-index: 3;
}
.tan-tours__location-tag i { color: var(--primary-color); font-size: .7rem; }

/* Tour card body — overlaid at bottom */
.tan-tours__card-body {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  z-index: 2;
}
.tan-tours__card-meta {
  margin-bottom: 6px;
}
.tan-tours__card-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 4px;
}
.tan-tours__stars {
  color: #f5a623;
  font-size: .78rem;
  display: flex;
  gap: 1px;
}
.tan-tours__reviews {
  font-size: .75rem;
  color: rgba(255,255,255,.8);
}
.tan-tours__card-price {
  font-size: .85rem;
  color: rgba(255,255,255,.9);
}
.tan-tours__card-price strong {
  color: var(--primary-color);
  font-size: .95rem;
}

/* ============================================================
   WHY CHOOSE US SECTION — Task 6
   ============================================================ */
.tan-why {
  padding: 80px 0;
  background: #f8f9fa;
}
.tan-why__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}
.tan-why__heading-wrap {
  text-align: center;
  margin-bottom: 52px;
}
.tan-why__heading-wrap .tan-section-pill { margin-bottom: 14px; }
.tan-why__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--font-family-primary);
}

/* ── Reason card grid ── */
.tan-why__cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}
.tan-why__card-item {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
  transition: transform .2s, box-shadow .2s;
}
.tan-why__card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.tan-why__card-icon {
  width: 52px;
  height: 52px;
  background: rgba(231, 149, 32, .12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--primary-color);
  margin-bottom: 18px;
}
.tan-why__card-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 10px;
  font-family: var(--font-family-primary);
}
.tan-why__card-body {
  font-size: .87rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

/* ============================================================
   TESTIMONIALS SECTION — Task 7
   ============================================================ */
.tan-testim {
  padding: 80px 0;
  background: #fff;
}
.tan-testim__container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px;
}
.tan-testim__heading-wrap {
  text-align: center;
  margin-bottom: 48px;
}
.tan-section-pill--gray {
  background: rgba(0,0,0,.05);
  color: var(--text-secondary);
  border-color: rgba(0,0,0,.1);
}
.tan-testim__heading {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 14px;
  font-family: var(--font-family-primary);
}
.tan-testim__stars {
  color: var(--primary-color);
  font-size: 1.3rem;
  display: flex;
  gap: 4px;
  justify-content: center;
}

/* Slide container */
.tan-testim__slider {
  position: relative;
  min-height: 260px;
  cursor: grab;
  user-select: none;
}
.tan-testim__slider:active { cursor: grabbing; }
.tan-testim__slide {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 0 48px;
}
.tan-testim__slide.active { display: flex; }

/* Quote marks */
.tan-testim__quote-mark {
  font-size: 5rem;
  line-height: 1;
  color: var(--primary-color);
  font-family: Georgia, serif;
  position: absolute;
  opacity: .8;
}
.tan-testim__quote-mark--left { top: -24px; left: 0; }
.tan-testim__quote-mark--right { bottom: 60px; right: 0; }

/* Quote text — reset Elementor blockquote styles */
.tan-testim__quote {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-primary);
  line-height: 1.8;
  margin: 0 0 32px;
  max-width: 700px;
  border: none !important;
  border-left: none !important;
  padding: 0 !important;
  background: none !important;
}
.tan-testim__quote::before,
.tan-testim__quote::after {
  content: none !important;
  display: none !important;
}

/* Author */
.tan-testim__author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.tan-testim__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 3px solid var(--primary-color);
}
.tan-testim__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tan-testim__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 2px;
  font-family: var(--font-family-primary);
}
.tan-testim__location {
  font-size: .84rem;
  color: var(--text-secondary);
  margin: 0;
}

/* Navigation row */
.tan-testim__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 40px;
}
.tan-testim__dots {
  display: flex;
  gap: 10px;
}
.tan-testim__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #d1d5db;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background .25s, transform .25s;
}
.tan-testim__dot.active {
  background: var(--primary-color);
  transform: scale(1.2);
}
.tan-testim__arrows {
  display: flex;
  gap: 10px;
}
.tan-testim__arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid #d1d5db;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  transition: border-color .2s, color .2s, background .2s;
}
.tan-testim__arrow svg { width: 18px; height: 18px; }
.tan-testim__arrow:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* ============================================================
   BLOG SECTION — Task 8
   ============================================================ */
.tan-blog {
  padding: 80px 0;
  background: #f8f9fa;
}
.tan-blog__container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
}
.tan-blog__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}
.tan-blog__header-left { flex: 1; }
.tan-blog__heading {
  font-size: clamp(1.55rem, 2.8vw, 2.1rem);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin: 0;
  font-family: var(--font-family-primary);
}
.tan-blog__view-more {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: gap .2s;
}
.tan-blog__view-more:hover { gap: 10px; }

/* Blog carousel */
.tan-blog__carousel-wrapper {
  overflow: hidden;
  position: relative;
  cursor: grab;
}
.tan-blog__carousel-wrapper:active { cursor: grabbing; }
.tan-blog__carousel {
  display: flex;
  gap: 24px;
  transition: transform .45s ease;
  user-select: none;
}
.tan-blog__grid { display: none; } /* legacy, unused */

/* ── Responsive ── */
@media (max-width: 1200px) {
  .tan-trek__grid  { grid-template-columns: repeat(2, 1fr); }
  .tan-tours__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .tan-trek__container,
  .tan-tours__container,
  .tan-why__container { padding: 0 24px; }
  .tan-why__cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .tan-trek,
  .tan-tours,
  .tan-why,
  .tan-blog { padding: 48px 0; }
  .tan-trek__container,
  .tan-tours__container,
  .tan-why__container,
  .tan-blog__container { padding: 0 16px; }
  .tan-trek__grid,
  .tan-tours__grid,
  .tan-blog__grid { grid-template-columns: 1fr; gap: 16px; }
  .tan-trek__header,
  .tan-tours__header,
  .tan-blog__header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .tan-trek__card { height: 340px; }
  .tan-tours__card { height: 380px; }
  .tan-why__cards { grid-template-columns: 1fr; }
  .tan-blog__card { flex: 0 0 100%; }
  .tan-testim__arrows { display: none; }
}
.tan-hidden { display: none; }
