/* =====================================================
   UNTAMED SAFARIZ — Main Stylesheet
   ===================================================== */

:root {
  --jungle: #1F4D36;
  --gold: #D4A017;
  --moss: #5B7D4A;
  --ivory: #F7F5EF;
  --gray: #6B6B6B;
  --dark: #0F1F16;
  --light-gold: #E8C462;
  --white: #ffffff;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', sans-serif;
  background: var(--ivory);
  color: var(--dark);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 { font-family: 'Cormorant Garamond', serif; }

/* ===================== LOADER ===================== */
#loader {
  position: fixed;
  inset: 0;
  background: var(--dark);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#loader.hide { opacity: 0; visibility: hidden; }

.loader-logo-img {
  width: 450px;
  height: auto;
  margin-bottom: 1.2rem;
  animation: fadeInUp 0.9s ease both;
  filter: drop-shadow(0 0 20px rgba(212,160,23,0.35));
}
.loader-brand {
  font-family: 'Cormorant Garamond', serif;
  color: var(--ivory);
  font-size: 1.8rem;
  font-weight: 300;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
  animation: fadeInUp 0.9s 0.15s ease both;
}
.loader-brand span { color: var(--gold); }
.loader-tagline {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(212,160,23,0.6);
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.9s 0.3s ease both;
}
.loader-bar {
  width: 200px;
  height: 1px;
  background: rgba(212,160,23,0.15);
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.9s 0.4s ease both;
}
.loader-bar::after {
  content: '';
  position: absolute;
  left: -100%;
  top: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), var(--light-gold));
  animation: loadBar 2s 0.5s ease forwards;
}

@keyframes loadBar { to { left: 0; } }
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.08); }
}

/* ===================== NAVIGATION ===================== */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.4s ease;
  background: rgba(15,31,22,0.97);
}
/*nav.scrolled {
  background: rgba(15,31,22,0.97);
  backdrop-filter: blur(10px);
  padding: 0.7rem 4rem;
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
}*/
.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  line-height: 0;
}
.nav-logo img {
  height: 46px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: rgba(247,245,239,0.85);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--gold); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--gold);
  color: var(--dark) !important;
  padding: 0.55rem 1.4rem;
  font-weight: 600 !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--light-gold) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--ivory);
  transition: all 0.3s;
}

/* ===================== HERO ===================== */
#home {
  height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* .hero-slides { position: absolute; inset: 0; } */
/* .hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 2s ease;
} */
/* .hero-slide.active { opacity: 1; } */
/* .hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,31,22,0.78) 0%, rgba(15,31,22,0.3) 60%, rgba(0,0,0,0.2) 100%); 
}*/


/* Video background */
.hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
							  
			 
							  
}
.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.hero-video-overlay {
			  
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,31,22,0.75) 0%,
    rgba(15,31,22,0.35) 55%,
    rgba(0,0,0,0.25) 100%
  );
}

/* Mute toggle button */
.hero-mute-btn {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(247,245,239,0.35);
  background: rgba(15,31,22,0.45);
  backdrop-filter: blur(6px);
  color: var(--ivory);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s, background 0.3s;
}
.hero-mute-btn:hover {
  border-color: var(--gold);
  background: rgba(15,31,22,0.7);
  color: var(--gold);
}

/* Poster fallback when video fails / on mobile */
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

.hero-overlay {
  height: 87vh;  
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,31,22,0.75) 0%,
    rgba(15,31,22,0.35) 55%,
    rgba(0,0,0,0.25) 100%
  );
}


.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--ivory);
  max-width: 900px;
  padding: 2rem;
}
.hero-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s 0.3s both;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.hero-title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 300;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s 0.5s both;
  letter-spacing: -0.01em;
}
.hero-title em { font-style: italic; color: var(--gold); }
.hero-subtitle {
  font-size: 1rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(247,245,239,0.7);
  margin-bottom: 2.5rem;
  animation: fadeInUp 1s 0.7s both;
  font-weight: 300;
}
.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s 0.9s both;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(247,245,239,0.5);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px; height: 50px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse { 0%,100%{opacity:0.4} 50%{opacity:1} }

/* .hero-dots {
  position: absolute;
  bottom: 2.5rem; right: 4rem;
  z-index: 2;
  display: flex; gap: 0.5rem;
} */
/* .hero-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(247,245,239,0.3);
  cursor: pointer;
  transition: all 0.3s;
}
.hero-dot.active { background: var(--gold); width: 20px; border-radius: 3px; }
 */


/* ===================== BUTTONS ===================== */
.btn-primary {
  background: var(--gold);
  color: var(--dark);
  padding: 1rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-primary:hover { background: var(--light-gold); transform: translateY(-2px); }

.btn-outline {
  background: transparent;
  color: var(--ivory);
  padding: 1rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(247,245,239,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

.btn-dark {
  background: var(--dark);
  color: var(--ivory);
  padding: 1rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-dark:hover { background: var(--jungle); }

.btn-outlined-dark {
  background: transparent;
  color: var(--dark);
  padding: 1rem 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--dark);
  cursor: pointer;
  transition: all 0.3s;
}
.btn-outlined-dark:hover { background: var(--dark); color: var(--ivory); }

/* ===================== SECTIONS ===================== */
section { padding: 6rem 4rem; }
.section-label {
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 500;
}
.section-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--jungle); }
.section-subtitle {
  font-size: 0.9rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.8;
  font-weight: 300;
}
.divider {
  width: 60px; height: 1px;
  background: var(--gold);
  margin: 1.5rem 0;
}

/* ===================== DESTINATIONS ===================== */
#destinations { background: var(--dark); color: var(--ivory); }
#destinations .section-title { color: var(--ivory); }
#destinations .section-title em { color: var(--gold); }
#destinations .section-subtitle { color: rgba(247,245,239,0.6); }
.dest-hero {
  height: 75vh;
  background: /*linear-gradient(135deg,rgba(15,31,22,0.85),rgba(31,77,54,0.7)),*/ url('../images/about-hero.jpg') center/cover;
  display: flex; align-items: center; justify-content: center; text-align: center;
}

.dest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 3.5rem;
  background: rgba(255,255,255,0.05);
}
.dest-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.dest-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s ease; }
.dest-card:hover img { transform: scale(1.08); }
.dest-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,31,22,0.92) 0%, rgba(15,31,22,0.1) 50%, transparent 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 2rem;
  transition: all 0.4s ease;
}
.dest-tag {
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem; font-family: 'Montserrat', sans-serif;
}
.dest-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem; font-weight: 400;
  color: var(--ivory); margin-bottom: 0.3rem;
}
.dest-region { font-size: 0.7rem; color: rgba(247,245,239,0.6); letter-spacing: 0.1em; margin-bottom: 1rem; }
.dest-link {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--gold); font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; text-decoration: none; font-weight: 600;
  opacity: 0; transform: translateY(10px);
  transition: all 0.4s ease;
}
.dest-card:hover .dest-link { opacity: 1; transform: translateY(0); }

/* ===================== EXPERIENCES ===================== */
#experiences { background: var(--ivory); }
.exp-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 3rem; margin-top: 3.5rem;
}
.exp-card { position: relative; overflow: hidden; }
.exp-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.6s ease; }
.exp-card:hover .exp-img { transform: scale(1.04); }
.exp-body { padding: 2rem 0 1rem; }
.exp-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem; font-weight: 300;
  color: rgba(31,77,54,0.08);
  line-height: 1;
  position: absolute; top: -10px; right: 0;
}
.exp-icon { width: 40px; height: 1px; background: var(--gold); margin-bottom: 1rem; }
.exp-title { font-size: 1.7rem; font-weight: 400; margin-bottom: 0.8rem; color: var(--dark); }
.exp-desc { font-size: 0.85rem; color: var(--gray); line-height: 1.9; margin-bottom: 1.2rem; }

/* ===================== WHY US ===================== */
#why-us { background: var(--jungle); color: var(--ivory); }
#why-us .section-title { color: var(--ivory); }
#why-us .section-subtitle { color: rgba(247,245,239,0.65); }

.why-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 2rem; margin-top: 3.5rem;
}
.why-card {
  text-align: center; padding: 2.5rem 1.5rem;
  border: 1px solid rgba(212,160,23,0.2);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.why-card:hover { border-color: var(--gold); transform: translateY(-5px); }
.why-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.5rem;
  display: flex; align-items: center; justify-content: center;
}
.why-icon svg { width: 40px; height: 40px; }
.why-title { font-size: 1.2rem; font-weight: 400; color: var(--ivory); margin-bottom: 0.8rem; }
.why-desc { font-size: 0.78rem; color: rgba(247,245,239,0.55); line-height: 1.9; font-weight: 300; }

/* ===================== TESTIMONIALS ===================== */
#testimonials { background: var(--ivory); overflow: hidden; }
.testimonials-wrapper { margin-top: 3.5rem; position: relative; }
.testimonials-track { display: flex; gap: 2rem; transition: transform 0.6s ease; }
.testimonial-card {
  /*flex: 0 0 calc(33.333% - 1.4rem);   ------------ original code- change it to add more testimonials*/ 
  flex: 0 0 calc(100% - 1.4rem);
  background: white;
  padding: 2.5rem;
  border-top: 3px solid var(--gold);
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 1.2rem; }
.testi-stars span { color: var(--gold); font-size: 0.9rem; }
.testi-quote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400; line-height: 1.7;
  color: var(--dark); margin-bottom: 1.5rem; font-style: italic;
}
.testi-author { display: flex; align-items: center; gap: 1rem; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.testi-name { font-size: 0.8rem; font-weight: 600; color: var(--dark); }
.testi-role { font-size: 0.7rem; color: var(--gray); margin-top: 2px; }
.testi-controls { display: flex; gap: 1rem; margin-top: 2rem; }
.testi-btn {
  width: 44px; height: 44px;
  border: 1px solid var(--gold);
  background: transparent; color: var(--gold);
  cursor: pointer; font-size: 1rem;
  transition: all 0.3s;
  display: flex; align-items: center; justify-content: center;
}
.testi-btn:hover { background: var(--gold); color: var(--dark); }

/* ===================== GALLERY ===================== */
#gallery { background: var(--dark); padding-bottom: 2rem; }
#gallery .section-title { color: var(--ivory); }
#gallery .section-subtitle { color: rgba(247,245,239,0.55); }
.gallery-hero {
  height: 75vh;
  background: /*linear-gradient(135deg,rgba(15,31,22,0.85),rgba(31,77,54,0.7)),*/ url('../images/gallery.jpg') center/cover;
  display: flex; align-items: center; justify-content: center; text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 6px; margin-top: 3rem;
}
.gallery-item { overflow: hidden; cursor: pointer; position: relative; }
.gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .overlay {
  position: absolute; inset: 0;
  background: rgba(15,31,22,0);
  transition: background 0.4s;
  display: flex; align-items: center; justify-content: center;
}
.gallery-item:hover .overlay { background: rgba(15,31,22,0.5); }
.gallery-item .overlay svg { opacity: 0; transform: scale(0.7); transition: all 0.4s; color: var(--gold); }
.gallery-item:hover .overlay svg { opacity: 1; transform: scale(1); }

/* Lightbox */
.lightbox {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.95); z-index: 2000;
  align-items: center; justify-content: center;
}
.lightbox.active { display: flex; }
.lightbox img { max-width: 90vw; max-height: 90vh; object-fit: contain; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 2rem;
  color: white; font-size: 2rem; cursor: pointer;
  background: none; border: none;
}

/* ===================== SAFARI PACKAGES ===================== */
#safaris { background: var(--ivory); }
.safaris-hero {
  height: 75vh;
  background: /*linear-gradient(135deg,rgba(15,31,22,0.85),rgba(31,77,54,0.7)),*/ url('../images/safaris.jpg') center/cover;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.safaris-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3.5rem; }
.safari-card {
  background: white; overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.safari-card:hover { transform: translateY(-8px); box-shadow: 0 20px 60px rgba(31,77,54,0.12); }
.safari-badge {
  position: absolute; top: 1rem; right: 1rem;
  background: var(--gold); color: var(--dark);
  font-size: 0.6rem; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 0.35rem 0.7rem; font-weight: 700; z-index: 1;
}
.safari-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.safari-body { padding: 1.8rem; }
.safari-location { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.safari-name { font-size: 1.4rem; font-weight: 400; color: var(--dark); margin-bottom: 0.8rem; }
.safari-desc { font-size: 0.8rem; color: var(--gray); line-height: 1.8; margin-bottom: 1.2rem; }
.safari-meta {
  display: flex; gap: 1.2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(0,0,0,0.07);
  border-bottom: 1px solid rgba(0,0,0,0.07);
  margin-bottom: 1.2rem;
}
.safari-meta-item { display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; color: var(--gray); }
.safari-meta-item svg { width: 14px; height: 14px; color: var(--jungle); }
.safari-price { display: flex; align-items: baseline; gap: 0.3rem; margin-bottom: 1rem; }
.price-label { font-size: 0.65rem; color: var(--gray); }
.price-amount { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; font-weight: 600; color: var(--jungle); }
.price-per { font-size: 0.65rem; color: var(--gray); }

/* ===================== STARGAZING ===================== */
#stargazing { background: var(--dark); position: relative; overflow: hidden; }
#stargazing::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(212,160,23,0.05) 0%, transparent 70%);
}
#stargazing .section-title { color: var(--ivory); }
#stargazing .section-title em { color: var(--gold); }
#stargazing .section-subtitle { color: rgba(247,245,239,0.55); }
.stars-hero {
  height: 75vh;
  background: /*linear-gradient(135deg,rgba(15,31,22,0.85),rgba(31,77,54,0.7)),*/ url('../images/startrails.jpg') center/cover; display: flex; align-items: center; justify-content: center; text-align: center;
}
.stargazing-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: center;
  margin-top: 3.5rem;
  position: relative; z-index: 1;
}
.stargazing-features { display: flex; flex-direction: column; gap: 1.5rem; }
.sg-feature {
  display: flex; gap: 1.2rem; align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid rgba(212,160,23,0.15);
  transition: border-color 0.3s;
}
.sg-feature:hover { border-color: rgba(212,160,23,0.4); }
.sg-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  color: var(--gold);     /* kept for any inline SVG fallbacks */
  display: block;         /* ensures img sits correctly in flex row */
  object-fit: contain;    /* keeps icon proportions intact */
}
.sg-title { font-size: 1rem; font-weight: 500; color: var(--ivory); margin-bottom: 0.4rem; }
.sg-desc { font-size: 0.78rem; color: rgba(247,245,239,0.5); line-height: 1.8; }
.stargazing-visual { position: relative; }
.stargazing-visual img { width: 70%; aspect-ratio: 4/5; object-fit: cover; }

/* ===================== BLOG ===================== */
#blog { background: var(--ivory); }
.blog-hero {
  height: 75vh;
  background: /*linear-gradient(135deg,rgba(15,31,22,0.85),rgba(31,77,54,0.7)),*/ url('../images/blog.jpg') center/cover;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3.5rem; }
.blog-card { overflow: hidden; }
.blog-img { width: 100%; aspect-ratio: 16/10; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-img { transform: scale(1.04); }
.blog-img-wrap { overflow: hidden; }
.blog-body { padding: 1.5rem 0; }
.blog-cat { font-size: 0.6rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; font-weight: 600; }
.blog-title { font-family: 'Cormorant Garamond', serif; font-size: 1.3rem; font-weight: 400; color: var(--dark); line-height: 1.4; margin-bottom: 0.8rem; }
.blog-excerpt { font-size: 0.8rem; color: var(--gray); line-height: 1.8; margin-bottom: 1rem; }
.blog-meta { display: flex; align-items: center; gap: 1rem; font-size: 0.7rem; color: var(--gray); }
.blog-read-link {
  color: var(--jungle); text-decoration: none; font-weight: 600;
  font-size: 0.72rem; letter-spacing: 0.08em;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: gap 0.3s;
}
.blog-read-link:hover { gap: 0.8rem; }

/* ===================== FAQ ===================== */
#faqs { background: var(--jungle); color: var(--ivory); }
#faqs .section-title { color: var(--ivory); }
#faqs .section-subtitle { color: rgba(247,245,239,0.6); }
.faqs-hero {
  height: 75vh;
  background: /*linear-gradient(135deg,rgba(15,31,22,0.85),rgba(31,77,54,0.7)),*/ url('../images/faqs.jpg') center/cover;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.faq-list { max-width: 760px; margin: 3.5rem auto 0; }
.faq-item { border-bottom: 1px solid rgba(212,160,23,0.2); }
.faq-question {
  width: 100%; text-align: left;
  background: none; border: none;
  color: var(--ivory);
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem; font-weight: 400;
  padding: 1.5rem 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  transition: color 0.3s;
}
.faq-question:hover { color: var(--gold); }
.faq-icon { width: 20px; height: 20px; flex-shrink: 0; color: var(--gold); transition: transform 0.3s; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s; }
.faq-item.open .faq-answer { max-height: 300px; padding-bottom: 1.5rem; }
.faq-answer p { font-size: 0.85rem; color: rgba(247,245,239,0.65); line-height: 1.9; }

/* ===================== CONTACT ===================== */
#contact { background: var(--ivory); }
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 5rem; margin-top: 3.5rem; align-items: start; }
.contact-info h3 { font-size: 1.6rem; font-weight: 400; margin-bottom: 1rem; }
.contact-info p { font-size: 0.85rem; color: var(--gray); line-height: 1.9; margin-bottom: 2rem; }
.contact-details { display: flex; flex-direction: column; gap: 1rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; }
.contact-detail svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.contact-detail-text { font-size: 0.82rem; color: var(--gray); line-height: 1.6; }
.contact-detail strong { color: var(--dark); display: block; margin-bottom: 2px; }
.contact-social { display: flex; gap: 1rem; margin-top: 2rem; }
/* ── Social buttons — shared base ── */
.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(31,77,54,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.social-btn img {
  width: 16px;
  height: 16px;
  display: block;
  transition: opacity 0.3s;
  pointer-events: none;
}

/* ── CONTACT SECTION social buttons ──
   Default : green icon, white border-tint
   Hover   : green background, white icon  */
.contact-social .social-btn {
  border-color: rgba(31,77,54,0.25);
}
.contact-social .social-btn img.icon-default { opacity: 1; }
.contact-social .social-btn img.icon-hover   { opacity: 0; position: absolute; }
.contact-social .social-btn:hover {
  background: var(--jungle);
  border-color: var(--jungle);
}
.contact-social .social-btn:hover img.icon-default { opacity: 0; }
.contact-social .social-btn:hover img.icon-hover   { opacity: 1; }

/* ── FOOTER social buttons ──
   Default : white icon, faint border
   Hover   : green background, green icon  */
footer .contact-social .social-btn {
  border-color: rgba(255,255,255,0.15);
  background: transparent;
}
footer .contact-social .social-btn img.icon-default { opacity: 1; }
footer .contact-social .social-btn img.icon-hover   { opacity: 0; position: absolute; }
footer .contact-social .social-btn:hover {
  background: var(--ivory);
  border-color: var(--ivory);
}
footer .contact-social .social-btn:hover img.icon-default { opacity: 0; }
footer .contact-social .social-btn:hover img.icon-hover   { opacity: 1; }


/* Forms */
.contact-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
  font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--dark); font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  border: 1px solid rgba(0,0,0,0.12);
  background: white;
  padding: 0.9rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.82rem;
  color: var(--dark);
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--jungle); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.72rem; color: var(--gray); line-height: 1.7; }
.form-submit {
  background: var(--jungle); color: var(--ivory);
  border: none; padding: 1.1rem 2.5rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase;
  cursor: pointer; transition: background 0.3s, transform 0.2s; width: 100%;
}
.form-submit:hover { background: var(--moss); transform: translateY(-2px); }
.form-success {
  display: none;
  background: rgba(91,125,74,0.1);
  border: 1px solid var(--moss);
  padding: 1.2rem; color: var(--jungle);
  font-size: 0.85rem; text-align: center;
}

/* ===================== CTA BAND ===================== */
#cta {
  background: var(--gold);
  padding: 5rem 4rem;
  display: flex; align-items: center;
  justify-content: space-between; gap: 2rem;
}
.cta-text h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 400; color: var(--dark); margin-bottom: 0.5rem; }
.cta-text p { font-size: 0.85rem; color: rgba(15,31,22,0.7); }
.cta-actions { display: flex; gap: 1rem; flex-shrink: 0; flex-wrap: wrap; }

/* ===================== FOOTER ===================== */
footer { background: var(--dark); color: var(--ivory); padding: 5rem 4rem 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr; gap: 2rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 0.8rem; color: rgba(247,245,239,0.5); line-height: 1.9; margin: 1rem 0 1.5rem; }
.footer-logo { height: 56px; width: auto; margin-bottom: 0.5rem; display: block; }
.footer-heading {
  font-size: 0.65rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.2rem;
  font-family: 'Montserrat', sans-serif; font-weight: 600;
}
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a { color: rgba(247,245,239,0.5); text-decoration: none; font-size: 0.8rem; transition: color 0.3s; }
.footer-links a:hover { color: var(--gold); }

.newsletter-form { display: flex; margin-top: 0.5rem; }
.newsletter-form input {
  flex: 1;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  border-right: none;
  padding: 0.75rem 1rem;
  color: var(--ivory);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem; outline: none;
}
.newsletter-form input::placeholder { color: rgba(247,245,239,0.35); }
.newsletter-form input:focus { border-color: var(--gold); }
.newsletter-form button {
  background: var(--gold); color: var(--dark);
  border: none; padding: 0.75rem 1.2rem;
  cursor: pointer; font-weight: 700; font-size: 0.75rem;
  transition: background 0.3s;
}
.newsletter-form button:hover { background: var(--light-gold); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 2rem;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.73rem; color: rgba(247,245,239,0.35); }
.footer-bottom-links { display: flex; gap: 1.5rem; list-style: none; }
.footer-bottom-links a { font-size: 0.73rem; color: rgba(247,245,239,0.35); text-decoration: none; transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ===================== ABOUT PAGE ===================== */
.page { display: none; }
.page.active { display: block; }
.about-hero {
  height: 75vh;
  background: /*linear-gradient(135deg,rgba(15,31,22,0.85),rgba(31,77,54,0.7)),*/ url('../images/hero-3.jpg') center/cover;
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.about-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 2rem; text-align: center; }
.stat-number { font-family: 'Cormorant Garamond', serif; font-size: 3.5rem; color: var(--gold); font-weight: 300; }
.stat-label { font-size: 0.75rem; letter-spacing: 0.15em; color: rgba(247,245,239,0.6); text-transform: uppercase; }

/* ===================== MODAL ===================== */
.modal {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,0.6); z-index: 3000;
  align-items: center; justify-content: center; padding: 2rem;
}
.modal.active { display: flex; }
.modal-box {
  background: white; max-width: 540px; width: 100%;
  padding: 3rem; position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--gray);
}
.modal-title { font-size: 1.8rem; font-weight: 400; color: var(--dark); margin-bottom: 0.5rem; }
.modal-subtitle { font-size: 0.8rem; color: var(--gray); margin-bottom: 2rem; }

/* ===================== TOAST ===================== */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--jungle); color: white;
  padding: 1rem 1.5rem; font-size: 0.82rem;
  font-family: 'Montserrat', sans-serif;
  z-index: 5000;
  transform: translateY(100px); opacity: 0;
  transition: all 0.4s ease; max-width: 320px;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ===================== BACK TO TOP ===================== */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold); color: var(--dark);
  border: none; cursor: pointer;
  display: none; align-items: center; justify-content: center;
  z-index: 999; transition: background 0.3s;
}
#back-top:hover { background: var(--light-gold); }
#back-top.visible { display: flex; }

/* ===================== SCROLL ANIMATIONS ===================== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  section { padding: 5rem 2.5rem; }
  nav, nav.scrolled { padding: 1rem 2rem; }
  .destinations-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .safaris-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  #cta { flex-direction: column; text-align: center; }
  .cta-actions { justify-content: center; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    background: var(--dark);
    align-items: center; justify-content: center;
    gap: 2.5rem; z-index: 999;
  }
  .nav-links.open a { font-size: 1.1rem; }
  .hamburger { display: flex; z-index: 1000; }
  .hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.open span:nth-child(2) { opacity: 0; }
  .hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  section { padding: 4rem 1.5rem; }
  .destinations-grid { grid-template-columns: 1fr; }
  .exp-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .safaris-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
  .gallery-item:first-child { grid-column: span 2; }
  .contact-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .stargazing-layout { grid-template-columns: 1fr; }
  .testimonial-card { flex: 0 0 calc(100% - 1rem); }
  #cta { padding: 3.5rem 1.5rem; }
  footer { padding: 4rem 1.5rem 2rem; }
  .hero-dots { display: none; }
  .about-stats { grid-template-columns: repeat(2,1fr); }
  .loader-logo-img { width: 130px; }
}

/* ===================== PAGE HERO BANNERS ===================== */
/* Shared banner for all dedicated pages (destinations, safaris, etc.) */
.page-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 38vh;
  padding: 4rem 2rem;
  height: 75vh;
  background: /*linear-gradient(135deg,rgba(15,31,22,0.85),rgba(31,77,54,0.7)),*/ url('../images/legal.jpg') center/cover;
  display: flex; align-items: center; justify-content: center; text-align: center;
  position: relative;
}

.page-hero .section-label {
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--ivory);
  font-weight: 300;
  margin-top: 0.5rem;
  line-height: 1.1;
}

/* ── Page backgrounds ── */
/* Gallery page keeps dark background (like original section) */
#page-gallery {
  background: var(--dark);
}
#page-gallery .section-title {
  color: var(--ivory);
}
#page-gallery .section-subtitle {
  color: rgba(247,245,239,0.55);
}

/* FAQs page keeps jungle green background */
#page-faqs {
  background: var(--jungle);
}
#page-faqs .section-title {
  color: var(--ivory);
}

/* Stargazing page keeps dark background */
#page-stargazing {
  background: var(--dark);
}

/* Stars canvas in stargazing page */
#page-stargazing .stars-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
#page-stargazing .stargazing-layout {
  position: relative;
  z-index: 1;
}

/* Each page scrolls to top on navigate() — padding-top handles fixed nav */
.page > div[style*="padding-top"] {
  min-height: 100vh;
}

/* Destinations page: restore 4-col grid on its own page */
#page-destinations .destinations-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1024px) {
  #page-destinations .destinations-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  #page-destinations .destinations-grid {
    grid-template-columns: 1fr;
  }
  .page-hero {
    min-height: 28vh;
    padding: 3rem 1.5rem;
  }
}

/* =====================================================
   LEGAL DOCUMENT PAGES
   Used by: Privacy Policy, Terms & Conditions,
            Cookie Policy, Cancellation & Refund Policy
   ===================================================== */

/* Outer wrapper — constrains content to readable width,
   same padding as site sections (6rem 4rem) */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 5rem 4rem 6rem;
}

/* Document title — shown at top of the legal page */
.legal-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 400;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}
.legal-title em {
  font-style: italic;
  color: var(--jungle);
}

/* H2 — numbered section headings e.g. "1. Information We Collect" */
.legal-page h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--jungle);
  margin: 3rem 0 0.6rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--gold);
}

/* H3 — sub-section headings e.g. "1.1 Information You Provide" */
.legal-page h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin: 2rem 0 0.5rem;
}

/* Body paragraphs */
.legal-page p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.95;
  margin-bottom: 1rem;
}

/* Bullet lists */
.legal-page ul {
  list-style: none;
  margin: 0.5rem 0 1.2rem 0;
  padding: 0;
}
.legal-page ul li {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: var(--gray);
  line-height: 1.9;
  padding: 0.25rem 0 0.25rem 1.4rem;
  position: relative;
}
.legal-page ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 5px;
  height: 1px;
  background: var(--gold);
}

/* ── CALLOUT — Option A: Gold left border + warm background ── */
/* Use class="legal-callout" */
.legal-callout {
  background: rgba(212, 160, 23, 0.07);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem;
  margin: 1.5rem 0;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  color: var(--dark);
  font-weight: 500;
  line-height: 1.8;
}

/* ── CALLOUT — Option B: Dark green background + ivory text ── */
/* Use class="legal-callout legal-callout--dark" */
.legal-callout--dark {
  background: var(--jungle);
  border-left: none;
  color: var(--ivory);
  padding: 1.4rem 1.8rem;
}
.legal-callout--dark strong { color: var(--gold); }

/* Contact / CTA band inside legal pages */
.legal-cta {
  background: var(--gold);
  padding: 3rem 4rem;
  margin-top: 3.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.legal-cta-text h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--dark);
  margin-bottom: 0.4rem;
}
.legal-cta-text p {
  font-size: 0.82rem;
  color: rgba(15, 31, 22, 0.75);
  margin: 0;
  line-height: 1.7;
}
.legal-cta-links {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  text-align: right;
}
.legal-cta-links a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dark);
  text-decoration: none;
  letter-spacing: 0.05em;
}
.legal-cta-links a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 768px) {
  .legal-page    { padding: 4rem 1.5rem 5rem; }
  .legal-cta     { padding: 2.5rem 1.5rem; flex-direction: column; }
  .legal-cta-links { text-align: left; }
}
