/* ============================================
   Lesotho — The Mountain Kingdom
   Main Stylesheet — Adventure Travel Theme
   ============================================ */

:root {
  --color-bg: #080c14;
  --color-bg-card: #0d1520;
  --color-bg-section: #0b1119;
  --color-primary: #1565C0;
  --color-primary-dark: #0d47a1;
  --color-primary-light: #1976D2;
  --color-secondary: #FFFFFF;
  --color-accent: #2196F3;
  --color-accent-light: #42A5F5;
  --color-muted: rgba(255,255,255,0.6);
  --color-border: rgba(33,150,243,0.18);

  --gradient-hero: radial-gradient(ellipse at top, #0d2040, #080c14);
  --gradient-section: linear-gradient(180deg, #080c14 0%, #0d1520 100%);
  --shadow-card: 0 4px 24px rgba(33,150,243,0.12), 0 1px 4px rgba(0,0,0,0.5);
  --shadow-card-hover: 0 8px 40px rgba(33,150,243,0.25), 0 2px 8px rgba(0,0,0,0.6);
  --glow-blue: 0 0 20px rgba(33,150,243,0.2);

  --font-heading: 'Oswald', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Source Sans Pro', 'Segoe UI', sans-serif;

  --radius: 4px;
  --container-max: 1200px;
  --container-px: 1.5rem;

  --transition: 240ms ease;
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.88);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: var(--color-accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-accent-light); }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* === CONTAINER === */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.6rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 0.75rem; }
h4 { font-size: 1.125rem; margin-bottom: 0.5rem; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-accent);
  border: 1px solid rgba(33,150,243,0.4);
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 640px;
  margin-bottom: 2.5rem;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(8,12,20,0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(33,150,243,0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.logo span { color: var(--color-accent); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
  text-decoration: none;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
  background: rgba(33,150,243,0.12);
}

.hamburger-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile nav */
.mobile-nav {
  display: none;
  background: rgba(8,12,20,0.97);
  border-top: 1px solid rgba(33,150,243,0.12);
  padding: 1rem var(--container-px);
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-nav.open { display: flex; }
.mobile-nav .nav-link { display: block; padding: 0.6rem 0.75rem; }

@media (max-width: 768px) {
  .main-nav { display: none; }
  .hamburger-btn { display: flex; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

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

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,12,20,0.1) 0%, rgba(8,12,20,0.4) 60%, rgba(8,12,20,0.95) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 0 var(--container-px);
  padding-top: 80px;
}

.hero h1 {
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.7);
}

.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  max-width: 600px;
  margin: 0 auto 2rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

/* Stat badges */
.stat-badges {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stat-badge {
  background: rgba(21,101,192,0.25);
  border: 1px solid rgba(33,150,243,0.4);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 0.5rem 1.1rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: #fff;
  text-transform: uppercase;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-family: var(--font-heading);
  animation: scrollBounce 2.4s ease-in-out infinite;
  z-index: 2;
}

.scroll-indicator svg { opacity: 0.6; }

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* === SECTIONS === */
.section {
  padding: 5rem 0;
}

.section-dark {
  background: var(--color-bg-section);
}

.section-darker {
  background: #060a11;
}

/* Two-column text+image layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.split-layout.reverse { direction: rtl; }
.split-layout.reverse > * { direction: ltr; }

.split-img {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.split-img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.split-img:hover img { transform: scale(1.03); }

@media (max-width: 900px) {
  .split-layout { grid-template-columns: 1fr; gap: 2rem; direction: ltr; }
  .split-layout.reverse { direction: ltr; }
  .split-img img { height: 280px; }
}

/* === CARDS === */
.cards-grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (max-width: 768px) {
  .cards-grid-2, .cards-grid-3 { grid-template-columns: 1fr; }
}

.card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(33,150,243,0.35);
}

.card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.card-body { padding: 1.5rem; }

.card-body h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.card-body p { color: var(--color-muted); font-size: 0.975rem; }

/* === GALLERY (horizontal scroll-snap) === */
.gallery-section { overflow: hidden; }

.gallery-track {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-primary) rgba(255,255,255,0.05);
  padding-bottom: 1rem;
  cursor: grab;
}

.gallery-track:active { cursor: grabbing; }

.gallery-track::-webkit-scrollbar { height: 4px; }
.gallery-track::-webkit-scrollbar-track { background: rgba(255,255,255,0.05); border-radius: 2px; }
.gallery-track::-webkit-scrollbar-thumb { background: var(--color-primary); border-radius: 2px; }

.gallery-item {
  flex: 0 0 340px;
  scroll-snap-align: start;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(8,12,20,0.85));
  padding: 1rem 1rem 0.75rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
}

@media (max-width: 600px) {
  .gallery-item { flex: 0 0 85vw; }
}

/* === WIDE BANNER === */
.banner-section {
  position: relative;
  overflow: hidden;
}

.banner-img-wrap {
  position: relative;
  height: 480px;
}

.banner-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(8,12,20,0.85) 40%, rgba(8,12,20,0.3) 100%);
  display: flex;
  align-items: center;
}

.banner-text {
  max-width: 520px;
  padding: 0 3rem;
}

@media (max-width: 768px) {
  .banner-img-wrap { height: 420px; }
  .banner-overlay { background: rgba(8,12,20,0.72); align-items: flex-end; padding-bottom: 2rem; }
  .banner-text { padding: 0 1.5rem; }
}

/* === STATS ROW === */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(33,150,243,0.1);
  border: 1px solid rgba(33,150,243,0.15);
  border-radius: var(--radius);
  overflow: hidden;
  margin: 3rem 0;
}

.stat-item {
  background: var(--color-bg-card);
  padding: 1.75rem 1rem;
  text-align: center;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-muted);
  font-family: var(--font-heading);
}

@media (max-width: 600px) {
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff;
}

.btn-primary {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--color-primary-light);
  border-color: var(--color-primary-light);
  color: #fff;
}

.btn-accent {
  background: transparent;
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.btn-accent:hover {
  background: rgba(33,150,243,0.12);
  color: var(--color-accent-light);
}

.btn-lg { padding: 0.95rem 2.25rem; font-size: 1rem; }

/* === FACT BOX === */
.fact-box {
  background: rgba(21,101,192,0.08);
  border: 1px solid rgba(33,150,243,0.2);
  border-left: 3px solid var(--color-accent);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}

.fact-box p { color: rgba(255,255,255,0.8); font-size: 0.975rem; margin: 0; }

/* === INLINE LINKS in body text === */
.body-text a {
  color: var(--color-accent-light);
  border-bottom: 1px solid rgba(33,150,243,0.35);
  transition: border-color var(--transition);
}

.body-text a:hover { border-color: var(--color-accent); }

/* === FOOTER === */
.site-footer {
  background: #050810;
  border-top: 1px solid rgba(33,150,243,0.1);
  padding: 3rem 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

.footer-brand { font-family: var(--font-heading); }
.footer-brand .logo { font-size: 1.25rem; margin-bottom: 0.75rem; display: inline-block; }
.footer-brand p { color: var(--color-muted); font-size: 0.9rem; line-height: 1.6; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a {
  color: var(--color-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
  text-decoration: none;
}
.footer-col ul li a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* === PAGE HERO (inner pages) === */
.page-hero {
  padding: 7rem 0 3.5rem;
  background: var(--gradient-hero);
  border-bottom: 1px solid rgba(33,150,243,0.1);
}

.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 0.75rem; }
.page-hero p { color: var(--color-muted); font-size: 1.05rem; max-width: 580px; }

/* === BREADCRUMB === */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.82rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb a { color: var(--color-accent); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-sep { opacity: 0.4; }

/* === CONTENT ARTICLE === */
.article-content {
  max-width: 780px;
}

.article-content h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.article-content h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  color: rgba(255,255,255,0.9);
}

.article-content ul, .article-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  color: rgba(255,255,255,0.8);
}

.article-content li { margin-bottom: 0.4rem; }

/* === UTILITY === */
.text-accent { color: var(--color-accent); }
.text-muted { color: var(--color-muted); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* === RESPONSIVE PADDING === */
@media (max-width: 600px) {
  .section { padding: 3rem 0; }
  .page-hero { padding: 5.5rem 0 2.5rem; }
}
