/* ============ TOKENS & RESET ============ */
:root {
  --clr-primary: #e85d04;
  --clr-primary-dark: #c94e02;
  --clr-dark: #1c1410;
  --clr-dark-soft: #2b2018;
  --clr-cream: #fdf8f1;
  --clr-sand: #f5ead9;
  --clr-text: #3d332b;
  --clr-muted: #7a6f64;
  --clr-white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(28, 20, 16, 0.08);
  --shadow-lg: 0 24px 50px rgba(28, 20, 16, 0.14);
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  color: var(--clr-text);
  background: var(--clr-cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }

a { text-decoration: none; color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--clr-dark);
}

h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--clr-primary);
  margin-bottom: 0.75rem;
}

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}

.section-sub {
  color: var(--clr-muted);
  margin-top: 0.9rem;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--clr-primary);
  color: var(--clr-white);
  box-shadow: 0 8px 20px rgba(232, 93, 4, 0.35);
}
.btn-primary:hover { background: var(--clr-primary-dark); }

.btn-ghost {
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.15); border-color: var(--clr-white); }

.btn-light {
  background: var(--clr-white);
  color: var(--clr-dark);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}
.btn-light:hover { background: var(--clr-sand); }

.btn-lg { padding: 1rem 2.4rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

/* ============ NAVBAR ============ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 1rem 0;
  transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.navbar.scrolled {
  background: rgba(28, 20, 16, 0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
  padding: 0.65rem 0;
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--clr-white);
}

.logo-mark { color: var(--clr-primary); display: inline-flex; }

.logo-text {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.logo-text em { font-style: italic; color: var(--clr-primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--clr-primary); }

.nav-links .nav-cta {
  background: var(--clr-primary);
  color: var(--clr-white);
  padding: 0.55rem 1.3rem;
  border-radius: 999px;
  transition: background 0.2s ease;
}
.nav-links .nav-cta:hover { background: var(--clr-primary-dark); color: var(--clr-white); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ HERO ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--clr-white);
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('assets/bd.png') center 40% / cover no-repeat;
  animation: heroZoom 18s ease-out forwards;
}

@keyframes heroZoom {
  from { transform: scale(1.08); }
  to   { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(20, 14, 8, 0.72) 0%,
    rgba(20, 14, 8, 0.45) 45%,
    rgba(20, 14, 8, 0.78) 100%
  );
}

.hero-content {
  text-align: center;
  padding-top: 6rem;
  padding-bottom: 3rem;
}

.hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffcf9e;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 7vw, 4.6rem);
  color: var(--clr-white);
  margin-bottom: 1.2rem;
}

.hero h1 span {
  color: var(--clr-primary);
  font-style: italic;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 2.2rem;
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, 0.88);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: auto;
  background: rgba(20, 14, 8, 0.55);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  padding: 1.3rem 0;
  gap: 0.5rem;
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  color: #ffcf9e;
}

.stat span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.75);
}

/* ============ ABOUT ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.about-media { position: relative; }

.about-photo {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: url('assets/bd.png') 62% center / cover no-repeat;
  box-shadow: var(--shadow-lg);
}

.about-badge {
  position: absolute;
  bottom: -1.2rem;
  right: -0.8rem;
  background: var(--clr-white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 0.9rem 1.3rem;
  text-align: center;
}

.about-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--clr-primary);
}

.about-badge span { font-size: 0.8rem; color: var(--clr-muted); }

.about-text h2 { margin-bottom: 1.2rem; }
.about-text p { color: var(--clr-muted); margin-bottom: 1rem; }

.about-list {
  list-style: none;
  margin: 1.3rem 0 1.8rem;
}

.about-list li {
  position: relative;
  padding-left: 1.9rem;
  margin-bottom: 0.65rem;
  font-weight: 500;
}

.about-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: var(--clr-primary);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / 60% no-repeat, linear-gradient(#000 0 0);
  mask-composite: exclude;
}

/* ============ TOURS ============ */
.tours { background: var(--clr-sand); }

.tour-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.tour-card {
  background: var(--clr-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tour-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.tour-media { height: 180px; overflow: hidden; }
.tour-media svg { width: 100%; height: 100%; }

.tour-media--savannah  { background: linear-gradient(180deg, #ffb974 0%, #ff8f4d 70%, #e8763a 100%); }
.tour-media--coast     { background: linear-gradient(180deg, #9adcec 0%, #6ec6dd 70%, #57b7d3 100%); }
.tour-media--mountain  { background: linear-gradient(180deg, #b3aed8 0%, #8f88bd 70%, #6f68a3 100%); }
.tour-media--amboseli  { background: linear-gradient(180deg, #ffd9a8 0%, #f7b877 70%, #e8a15c 100%); }
.tour-media--serengeti { background: linear-gradient(180deg, #ff9d6b 0%, #f26d3d 70%, #d95a30 100%); }

.tour-body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.7rem;
}

.chip {
  background: var(--clr-sand);
  color: var(--clr-dark);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
}

.tour-rating {
  font-size: 0.85rem;
  font-weight: 700;
  color: #d78a00;
}

.tour-body h3 { margin-bottom: 0.5rem; }

.tour-body > p {
  color: var(--clr-muted);
  font-size: 0.92rem;
  margin-bottom: 1.2rem;
}

.tour-foot {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid #f0e6d8;
  padding-top: 1rem;
}

.tour-days {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
}

.tour-price { font-size: 0.9rem; color: var(--clr-muted); }
.tour-price strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--clr-dark);
}

.tour-link {
  font-weight: 700;
  color: var(--clr-primary);
  transition: transform 0.2s ease;
}
.tour-link:hover { transform: translateX(3px); }

.tour-card--custom {
  background: linear-gradient(145deg, var(--clr-dark) 0%, #40291a 100%);
  color: var(--clr-white);
  justify-content: center;
}

.tour-body--custom {
  padding: 2.2rem 1.8rem;
  text-align: center;
  align-items: center;
  gap: 1rem;
}

.tour-body--custom h3 {
  color: var(--clr-white);
  font-size: 1.5rem;
}

.tour-body--custom p { color: rgba(255, 255, 255, 0.78); font-size: 0.95rem; }

/* ============ WHY US ============ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.feature {
  background: var(--clr-white);
  border: 1px solid #f0e6d8;
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(232, 93, 4, 0.12);
  color: var(--clr-primary);
  margin-bottom: 1.1rem;
}

.feature h3 { font-size: 1.08rem; margin-bottom: 0.5rem; }
.feature p { font-size: 0.9rem; color: var(--clr-muted); }

/* ============ TESTIMONIALS ============ */
.testimonials { background: var(--clr-sand); }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6rem;
}

.testimonial {
  background: var(--clr-white);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}

.stars {
  color: #f5a623;
  letter-spacing: 0.15em;
  margin-bottom: 0.9rem;
}

.testimonial blockquote {
  font-size: 0.98rem;
  color: var(--clr-text);
  margin-bottom: 1.4rem;
  flex: 1;
}

.testimonial figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--clr-primary);
  color: var(--clr-white);
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.testimonial figcaption strong { display: block; color: var(--clr-dark); }
.testimonial figcaption span { font-size: 0.82rem; color: var(--clr-muted); }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: linear-gradient(120deg, var(--clr-primary) 0%, #b33b00 100%);
  color: var(--clr-white);
  padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-inner h2 {
  color: var(--clr-white);
  margin-bottom: 0.5rem;
}

.cta-inner p { color: rgba(255, 255, 255, 0.9); max-width: 480px; }

/* ============ CONTACT ============ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: start;
}

.contact-info h2 { margin-bottom: 0.4rem; }

.contact-list {
  list-style: none;
  margin-top: 1.8rem;
}

.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.contact-list a:hover { color: var(--clr-primary); }

.contact-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(232, 93, 4, 0.12);
  color: var(--clr-primary);
}

.contact-form {
  background: var(--clr-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: clamp(1.5rem, 4vw, 2.2rem);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-field { margin-bottom: 1.1rem; }

.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--clr-dark);
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0.95rem;
  border: 1.5px solid #e5d9c6;
  border-radius: var(--radius-sm);
  background: var(--clr-cream);
  font: inherit;
  color: var(--clr-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field textarea { resize: vertical; }

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--clr-primary);
  box-shadow: 0 0 0 3px rgba(232, 93, 4, 0.15);
}

.form-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e7d43;
  text-align: center;
  min-height: 1.2em;
}

/* ============ FOOTER ============ */
.footer {
  background: var(--clr-dark);
  color: rgba(255, 255, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: clamp(3rem, 6vw, 4.5rem) 0 2.5rem;
}

.footer-brand p {
  margin-top: 1rem;
  font-size: 0.92rem;
  max-width: 300px;
}

.footer-col { display: flex; flex-direction: column; gap: 0.6rem; }

.footer-col h4 {
  color: var(--clr-white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.4rem;
}

.footer-col a { font-size: 0.92rem; transition: color 0.2s ease; }
.footer-col a:hover { color: var(--clr-primary); }
.footer-col span { font-size: 0.92rem; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.4rem 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ============ REVEAL ANIMATIONS ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
.delay-4 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-bg { animation: none; }
}

/* ============ RESPONSIVE ============ */
@media (max-width: 960px) {
  .tour-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(78vw, 320px);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 1.6rem;
    padding: 2rem;
    background: rgba(28, 20, 16, 0.97);
    backdrop-filter: blur(12px);
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.35);
  }

  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.15rem; }

  .hero-stats-inner { grid-template-columns: repeat(2, 1fr); gap: 1rem 0.5rem; }

  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .about-media { max-width: 420px; margin-inline: auto; }
  .about-badge { right: 0.5rem; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .cta-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .tour-grid { grid-template-columns: 1fr; }
  .feature-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .hero-actions .btn { width: 100%; max-width: 320px; }
}
