/* ============================================================
   SUB-PAGE.CSS — Shared styles for all "Preparing For a Hike" sub-pages
   Import AFTER styles.css
   ============================================================ */

/* --- HERO --- */
.sub-hero {
  position: relative;
  height: 60vh;
  min-height: 380px;
  background: #648381 url('images/midweek-hero.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
}

.sub-hero--ngong {
  background-image: url('images/ngong-hero.jpg');
}

.sub-hero--nairobi {
    background-image: url('images/ngong-road-1.jpg');
}

.sub-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.sub-hero-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.sub-hero-label {
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-bottom: 0.5rem;
}

.sub-hero-content h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  line-height: 1.15;
}

.sub-hero-tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,0.85);
}

/* --- DETAILS STRIP --- */
.details-strip {
  background: #1a1a1a;
  padding: 2.5rem 0;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.detail-item {
  color: #fff;
}

.detail-icon {
  font-size: 1.75rem;
  display: block;
  margin-bottom: 0.5rem;
}

.detail-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.25rem;
}

.detail-value {
  font-size: 1rem;
  font-weight: 600;
}

/* --- ABOUT SECTION --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #2a3a38;
  margin-bottom: 1rem;
}

.about-text p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-text .btn-primary {
  margin-top: 0.5rem;
  display: inline-block;
}

.about-image {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
    height: 480px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 45%;
    display: block;
}

.image-placeholder {
  background: #e8efee;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #8aa8a6;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* --- BENEFITS / CARDS --- */
.benefits-section {
  background: #f7fafa;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: #2a3a38;
  text-align: center;
  margin-bottom: 2.5rem;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.benefit-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 28px rgba(0,0,0,0.12);
}

.benefit-icon {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.benefit-card h3 {
  font-size: 1.1rem;
  color: #2a3a38;
  margin-bottom: 0.6rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.7;
}

/* --- CTA SECTION --- */
.cta-section {
  background: transparent;
  padding: 5rem 0;
  text-align: center;
}

.cta-inner h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #222;
  margin-bottom: 1rem;
}

.cta-inner p {
  color: #555;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.btn-light {
  background: #fff !important;
  color: #648381 !important;
}

.btn-light:hover {
  background: #f0f5f5 !important;
}

/* --- ACTIVE NAV STATE --- */
.nav-links a.active {
  color: #648381;
  font-weight: 600;
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    order: -1;
  }
}

@media (max-width: 600px) {
  .sub-hero {
    height: 50vh;
    min-height: 300px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .details-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 16px;
}

.hero-stats-row span {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-stats-row span i {
    color: #f5a623;
}