/* =====================================================
   ABOUT NAMIBIA PAGE – about-namibia.css
   Order matches about-namibia.html top → bottom
===================================================== */

/* =====================================================
   PAGE HERO
===================================================== */
.page-hero {
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: #000; /* fallback while image loads */
}

.about-namibia-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
  z-index: 1;
}

.page-hero-inner {
  position: relative;
  z-index: 2;
}

.page-hero-inner p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-hero);
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 30px;
}

/* =====================================================
   PAGE HEADING
   (Typography/layout mostly handled in base.css)
===================================================== */
/* No page-specific overrides needed here */

/* =====================================================
   INFORMATION CARDS (Travel Info + Campsites)
===================================================== */
.info-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* two cards per row on desktop */
  gap: 28px;
}

/* Tablet & mobile: stack cards */
@media (max-width: 900px) {
  .info-cards {
    grid-template-columns: 1fr;
  }
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 14px;
  border-bottom: 2px solid var(--brand-primary);
  border-right: 2px solid var(--brand-primary);
  padding: 28px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-medium);
}

.info-card h3 {
  margin-bottom: 14px;
  color: var(--brand-primary);
}

.info-card ul {
  margin: 0;
  padding-left: 18px;
}

.info-card li {
  margin-bottom: 8px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Card images (used in Campsites section) */
.info-card-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
  display: block;
}

/* =====================================================
   FINAL CTA
   (Styled in base.css – no page-specific overrides needed)
===================================================== */

/* =====================================================
   UTILITIES
===================================================== */
/* No-JS fallback for fade-in animations */
.no-js .fade-in {
  opacity: 1;
  transform: none;
}
