/* ================================================================
   WESTKATE SAFARIS — Tours Page Styles
   assets/css/tours.css
   Requires: global.css loaded first
================================================================ */

#heroBgtours {
  background-image: url("../img/tourshero.jpg");
  background-position: top;
}

/* ── FILTER BAR ───────────────────────────────────────────────── */
.filter-bar {
  position: sticky;
  top: 62px;
  z-index: 50;
  background: var(--ivory);
  border-bottom: 1px solid var(--border);
  padding: 0 5%;
}
.filter-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-inner::-webkit-scrollbar {
  display: none;
}
.filter-btn {
  flex-shrink: 0;
  padding: 1.1rem 1.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
  font-family: var(--sans);
}
.filter-btn:hover {
  color: var(--earth);
}
.filter-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

/* ── CATEGORY SECTIONS ────────────────────────────────────────── */
.cat-section {
  padding: 7rem 5%;
}
.cat-section:nth-child(even) {
  background: var(--sand);
}

.cat-header {
  max-width: 1400px;
  margin: 0 auto 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.cat-header.flip {
  direction: rtl;
}
.cat-header.flip > * {
  direction: ltr;
}

.cat-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}
.cat-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.cat-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--earth);
  line-height: 1.1;
  margin-bottom: 1rem;
}
.cat-title em {
  font-style: italic;
  color: var(--gold);
}
.cat-desc {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  max-width: 480px;
}
.cat-img-wrap {
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 4/3;
  position: relative;
}
.cat-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.cat-img-wrap:hover img {
  transform: scale(1.04);
}
.cat-img-badge {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  background: var(--gold);
  color: var(--ivory);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 2px;
}

/* ── PACKAGE CARDS GRID ───────────────────────────────────────── */
.pkg-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pkg-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}
.pkg-grid.four-col {
  grid-template-columns: repeat(4, 1fr);
}

.pkg-card {
  background: var(--ivory);
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(45, 36, 22, 0.12);
}
.cat-section:nth-child(even) .pkg-card {
  background: var(--ivory);
}

.pkg-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/10;
}
.pkg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.pkg-card:hover .pkg-img img {
  transform: scale(1.06);
}

.pkg-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--gold);
  color: var(--ivory);
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.32rem 0.75rem;
  border-radius: 2px;
}
.pkg-badge.new {
  background: var(--sage);
}
.pkg-badge.popular {
  background: var(--earth);
}

.pkg-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.pkg-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  flex-wrap: wrap;
}
.pkg-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--muted);
}
.pkg-meta-item svg {
  flex-shrink: 0;
}
.pkg-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--earth);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}
.pkg-desc {
  font-size: 0.83rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pkg-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1.5rem;
}
.pkg-tag {
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2px;
  background: var(--sand);
  color: var(--muted);
  border: 1px solid var(--border);
}

.pkg-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  gap: 1rem;
}
.pkg-price-from {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}
.pkg-price-val {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--earth);
  line-height: 1;
}
.pkg-price-per {
  font-size: 0.7rem;
  color: var(--muted);
}

/* ── FEATURED PACKAGE (wide card) ────────────────────────────── */
.pkg-featured {
  max-width: 1400px;
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border);
  transition: box-shadow 0.35s var(--ease);
}
.pkg-featured:hover {
  box-shadow: 0 24px 60px rgba(45, 36, 22, 0.13);
}
.pkg-featured-img {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.pkg-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}
.pkg-featured:hover .pkg-featured-img img {
  transform: scale(1.04);
}
.pkg-featured-body {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ivory);
}
.pkg-featured .pkg-badge {
  top: 1.5rem;
  left: 1.5rem;
}

/* ── CYCLING SECTION ──────────────────────────────────────────── */
.cycling-hero {
  position: relative;
  padding: 8rem 5%;
  overflow: hidden;
}
.cycling-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      120deg,
      rgba(26, 20, 9, 0.88) 0%,
      rgba(26, 20, 9, 0.55) 60%,
      transparent 100%
    ),
    url("../img/bike.jpeg") center/cover no-repeat;
  /* url("https://images.unsplash.com/photo-1541625602330-2277a4c46182?w=1800&q=85")
      center/cover no-repeat; */
}
.cycling-content {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.cycling-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1.1rem;
}
.cycling-title em {
  font-style: italic;
  color: var(--gold);
}
.cycling-desc {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.6);
  line-height: 1.85;
  margin-bottom: 2rem;
}
.cycling-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.cycling-mini {
  /* background: rgba(250, 250, 250, 0.728); */
  background: var(--earth);
  border: 1px solid rgba(250, 247, 242, 0.1);
  border-radius: 5px;
  padding: 1.5rem;
  transition:
    background 0.3s,
    border-color 0.3s;
}
.cycling-mini:hover {
  background: rgba(200, 136, 42, 0.12);
  border-color: rgba(200, 136, 42, 0.3);
}
.cycling-mini-title {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory);
  margin-bottom: 0.35rem;
  font-weight: 400;
}
.cycling-mini-meta {
  font-size: 0.72rem;
  color: var(--sand);
  margin-bottom: 0.5rem;
}
.cycling-mini-price {
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--gold);
  font-weight: 300;
}

/* ── ITINERARY ACCORDION ──────────────────────────────────────── */
.itinerary {
  margin-top: 1.25rem;
  border-top: 1px solid var(--border);
}
.itin-toggle {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 0.85rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.3s;
  font-family: var(--sans);
}
.itin-toggle:hover {
  color: var(--gold);
}
.itin-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s;
}
.pkg-card.open .itin-icon {
  background: var(--gold);
  border-color: var(--gold);
  transform: rotate(45deg);
}
.pkg-card.open .itin-icon svg {
  stroke: white;
}
.itin-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s var(--ease);
}
.pkg-card.open .itin-body {
  max-height: 600px;
}
.itin-day {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
}
.itin-day:last-child {
  border-bottom: none;
}
.itin-day strong {
  color: var(--earth);
  font-weight: 500;
}

/* ── CUSTOM INQUIRY STRIP ─────────────────────────────────────── */
.inquiry-strip {
  background: var(--earth);
  padding: 5rem 5%;
}
.inquiry-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.inquiry-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.2;
}
.inquiry-title em {
  font-style: italic;
  color: var(--gold);
}
.inquiry-desc {
  font-size: 0.88rem;
  color: rgba(250, 247, 242, 0.5);
  line-height: 1.75;
  margin-top: 0.75rem;
}
.inquiry-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  flex-shrink: 0;
}

/* ── CTA BANNER ───────────────────────────────────────────────── */
.cta-banner {
  position: relative;
  padding: 8rem 5%;
  overflow: hidden;
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(26, 20, 9, 0.72), rgba(26, 20, 9, 0.72)),
    url("https://images.unsplash.com/photo-1547471080-7cc2caa01a7e?w=1600&q=80")
      center/cover no-repeat;
}
.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  margin: 0 auto;
}
.cta-title {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  margin-bottom: 1.1rem;
}
.cta-title em {
  font-style: italic;
  color: var(--gold);
}
.cta-sub {
  font-size: 0.9rem;
  color: rgba(250, 247, 242, 0.6);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .pkg-grid,
  .pkg-grid.four-col {
    grid-template-columns: 1fr 1fr;
  }
  .pkg-featured {
    grid-template-columns: 1fr;
  }
  .pkg-featured-img {
    min-height: 280px;
  }
  .cat-header {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .cat-header.flip {
    direction: ltr;
  }
  .cycling-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .inquiry-inner {
    grid-template-columns: 1fr;
  }
  .inquiry-actions {
    flex-direction: row;
  }
}
@media (max-width: 720px) {
  .pkg-grid,
  .pkg-grid.two-col,
  .pkg-grid.four-col {
    grid-template-columns: 1fr;
  }
  .cycling-cards {
    grid-template-columns: 1fr;
  }
  .cta-btns {
    flex-direction: column;
    align-items: center;
  }
  .filter-btn {
    padding: 0.9rem 1rem;
  }
}
