/* ============================================
   Infinity Prideland Safaris, Style
   Brand: warm safari brown + cream
   Fonts: Playfair Display (headings) + Inter (body)
   ============================================ */

/* --- Custom Properties --- */
:root {
  /* Soft sage green primary with champagne gold accent */
  --color-primary: #9CB599;
  --color-primary-dark: #7A9A7D;
  --color-primary-light: #C6D8C3;
  --color-accent: #D4B88C;
  --color-accent-dark: #B89B6E;

  /* Headings: strong dark with a faint green undertone. Body: soft green-gray. */
  --color-heading: #1F2420;
  --color-text: #4A524D;
  --color-text-light: #7A847E;
  --color-nav-text: #1F2420;

  /* Backgrounds: white and soft cream with green tint */
  --color-white: #FFFFFF;
  --color-cream: #FAFBF8;
  --color-cream-dark: #F2F5EF;
  --color-border: #E3EAE2;

  /* "Dark" sections use soft sage, not brown or black */
  --color-dark: #5E7560;
  --color-dark-soft: #6B8372;
  --color-text-on-dark: #F0F5EE;

  --color-success: #25d366;
  --color-overlay: rgba(94, 117, 96, 0.45);
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --nav-height: 80px;
  --max-width: 1200px;
  --max-width-wide: 1400px;
  --transition: 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(62, 82, 72, 0.08);
  --shadow-md: 0 4px 20px rgba(62, 82, 72, 0.12);
  --shadow-lg: 0 8px 40px rgba(62, 82, 72, 0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--color-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-heading);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
}

section {
  scroll-margin-top: var(--nav-height);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.container-wide {
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Utility --- */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.text-center {
  text-align: center;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
  max-width: 640px;
  line-height: 1.7;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
  line-height: 1;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-primary-dark);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}

.btn-outline:hover {
  background-color: var(--color-white);
  color: var(--color-dark);
}

.btn-outline-dark {
  background-color: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn-outline-dark:hover {
  background-color: var(--color-dark);
  color: var(--color-white);
}

.btn-whatsapp {
  background-color: var(--color-success);
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background-color: #1da851;
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 10px 22px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  transition: all var(--transition);
  background: rgba(250, 251, 248, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(227, 234, 226, 0.6);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-sm);
  padding: 2px 0 0 0;
  border-bottom-color: transparent;
}

/* Homepage: transparent nav over hero, light text */
body.home-page .navbar {
  background: transparent;
  backdrop-filter: none;
  border-bottom-color: transparent;
}

body.home-page .navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

body.home-page .navbar .nav-links a {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

body.home-page .navbar.scrolled .nav-links a {
  color: var(--color-nav-text);
  text-shadow: none;
}

body.home-page .navbar .hamburger span {
  background: #ffffff;
}

body.home-page .navbar.scrolled .hamburger span {
  background: var(--color-nav-text);
}

/* Show white logo over transparent hero, dark logo when scrolled */
body.home-page .navbar .nav-logo .logo-white {
  display: block;
}

body.home-page .navbar .nav-logo .logo-dark {
  display: none;
}

body.home-page .navbar.scrolled .nav-logo .logo-white {
  display: none;
}

body.home-page .navbar.scrolled .nav-logo .logo-dark {
  display: block;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 32px;
  margin: 13px 0 15px 0;
  width: auto;
  transition: var(--transition);
}

.nav-logo .logo-white {
  display: none;
}

.nav-logo .logo-dark {
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-nav-text);
  letter-spacing: 0.5px;
  position: relative;
  padding: 4px 0;
}

.navbar.scrolled .nav-links a {
  color: var(--color-nav-text);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

/* --- Nav Dropdown --- */
@media (min-width: 769px) {
.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-nav-text);
  letter-spacing: 0.5px;
  padding: 4px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  position: relative;
}

.nav-dropdown-toggle::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-primary);
  transition: width var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
  width: 100%;
}

.nav-dropdown-toggle svg {
  width: 12px;
  height: 12px;
  transition: transform var(--transition);
}

.nav-dropdown:hover .nav-dropdown-toggle svg,
.nav-dropdown.open .nav-dropdown-toggle svg {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  min-width: 200px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(62, 82, 72, 0.14);
  padding: 10px 0;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  z-index: 1001;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -16px;
  left: 0;
  right: 0;
  height: 16px;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 22px;
  font-size: 0.9rem;
  color: var(--color-nav-text);
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}

.nav-dropdown-menu a::after {
  display: none;
}

.nav-dropdown-menu a:hover {
  background: var(--color-cream-dark);
  color: var(--color-primary-dark);
  padding-left: 22px;
}

/* Homepage transparent nav state for dropdown toggle */
body.home-page .navbar .nav-dropdown-toggle {
  color: #ffffff;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

body.home-page .navbar.scrolled .nav-dropdown-toggle {
  color: var(--color-nav-text);
  text-shadow: none;
}

/* Dropdown menu always has dark text regardless of nav state */
body.home-page .navbar .nav-dropdown-menu a {
  color: var(--color-nav-text);
  text-shadow: none;
}
} /* end desktop dropdown media query */

.nav-links .btn-primary {
  color: var(--color-white);
  padding: 10px 24px;
}

.nav-links .btn-primary::after {
  display: none;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-nav-text);
  transition: all var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .hamburger span {
  background: var(--color-nav-text);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile menu */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 360px;
    height: 100vh;
    background: var(--color-white);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 40px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
    overflow-y: auto;
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a,
  body.home-page .navbar .nav-links a,
  body.home-page .navbar.scrolled .nav-links a {
    color: #1F2420;
    font-size: 1.1rem;
    padding: 16px 0;
    width: 100%;
    border-bottom: 1px solid var(--color-border);
    text-shadow: none;
  }

  body.home-page .navbar .nav-links .btn-primary,
  .nav-links .btn-primary {
    color: #ffffff;
  }

  .nav-links .btn-primary {
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    border-bottom: none;
  }

  /* Mobile dropdown: tap toggles open, menu renders inline */
  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown-toggle,
  body.home-page .navbar .nav-dropdown-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    color: #1F2420;
    font-size: 1.1rem;
    padding: 16px 0;
    margin: 0;
    text-shadow: none;
    background: transparent;
    background-color: transparent;
    border: 0;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    border-bottom: 1px solid var(--color-border);
    border-radius: 0;
    font-family: inherit;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    box-shadow: none;
    outline: none;
    text-align: left;
  }

  .nav-dropdown-toggle::after {
    display: none;
  }

  .nav-dropdown-menu,
  body.home-page .navbar .nav-dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    box-shadow: none;
    padding: 0;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    visibility: hidden;
    transition: max-height 0.3s ease, visibility 0s 0.3s, padding 0s 0.3s;
  }

  .nav-dropdown.open .nav-dropdown-menu,
  body.home-page .navbar .nav-dropdown.open .nav-dropdown-menu {
    max-height: 400px !important;
    padding: 0 0 12px 0 !important;
    visibility: visible !important;
    transition: max-height 0.3s ease, visibility 0s 0s, padding 0s 0s;
  }

  .nav-dropdown-menu::before {
    display: none;
  }

  .nav-dropdown-menu a,
  body.home-page .navbar .nav-dropdown-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 1rem;
    color: var(--color-text);
    border-bottom: none;
    width: 100%;
  }

  .nav-dropdown-toggle svg {
    width: 14px;
    height: 14px;
    transition: transform var(--transition);
  }

  .nav-dropdown.open .nav-dropdown-toggle svg {
    transform: rotate(180deg);
  }

  .mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
  }

  .mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
  }
}

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

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img,
.hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(44, 26, 14, 0.15) 0%,
    rgba(44, 26, 14, 0.35) 50%,
    rgba(44, 26, 14, 0.45) 100%
  );
  z-index: 1;
}

/* Extra darkening at the top of homepage hero for transparent nav readability */
body.home-page .hero-overlay {
  background: linear-gradient(
    to bottom,
    rgba(20, 30, 22, 0.72) 0%,
    rgba(20, 30, 22, 0.45) 14%,
    rgba(20, 30, 22, 0.25) 30%,
    rgba(20, 30, 22, 0.35) 55%,
    rgba(20, 30, 22, 0.5) 100%
  );
}

/* White logo on the homepage hero, add drop-shadow so the wordmark reads
   even where the background is sky-light. */
body.home-page .navbar:not(.scrolled) .nav-logo .logo-white {
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.55)) drop-shadow(0 0 2px rgba(0, 0, 0, 0.35));
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 6vw, 4rem);
  text-shadow: 0 2px 30px rgba(0,0,0,0.5), 0 1px 6px rgba(0,0,0,0.3);
}

.hero-content .section-label {
  color: #FFFFFF !important;
  letter-spacing: 3px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
  opacity: 0.95;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 10px rgba(0,0,0,0.4);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
}

.hero-slideshow .slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease;
}

.hero-slideshow .slide.active {
  opacity: 1;
}

.hero-slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slideshow-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 10px;
}

.slideshow-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.slideshow-dots button.active {
  background: var(--color-white);
}

.slideshow-arrows {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  transform: translateY(-50%);
  pointer-events: none;
}

.slideshow-arrows button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: rgba(0,0,0,0.2);
  color: var(--color-white);
  cursor: pointer;
  pointer-events: auto;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.slideshow-arrows button:hover {
  background: rgba(0,0,0,0.4);
  border-color: var(--color-white);
}

/* Page hero (shorter) */
.page-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding-top: 80px;
}

.page-hero .hero-content {
  max-width: 1100px;
}

.page-hero .hero-content h1 {
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
}

/* --- Trust Strip --- */
.trust-strip {
  background: var(--color-white);
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.trust-strip .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  white-space: nowrap;
}

.trust-badge svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  flex-shrink: 0;
}

/* --- Intro Section --- */
.intro-section {
  background: var(--color-cream);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.intro-text .section-label {
  margin-bottom: 12px;
}

.intro-text h2 {
  margin-bottom: 20px;
}

.intro-text p {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.intro-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.intro-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .intro-image {
    order: 1;
  }

  .intro-image img {
    width: 100%;
    height: 280px;
  }
}

/* --- Cards Grid --- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-left: auto;
  margin-right: auto;
  justify-content: center;
}

@media (min-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* For related sections with 3 cards */
.cards-grid.cards-grid-3 {
  grid-template-columns: repeat(1, 1fr);
  max-width: 960px;
}

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

@media (min-width: 1024px) {
  .cards-grid.cards-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.card:hover .card-image img {
  transform: scale(1.05);
}

.card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.card-body {
  padding: 24px;
}

.card-body h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.card-body p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 16px;
  line-height: 1.6;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.card-meta svg {
  width: 16px;
  height: 16px;
}

.card-price {
  font-weight: 700;
  color: var(--color-primary-dark);
  font-size: 1rem;
}

/* --- Experience Grid --- */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .experience-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.experience-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 300px;
  cursor: pointer;
}

.experience-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.experience-card:hover img {
  transform: scale(1.08);
}

.experience-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(44,26,14,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}

.experience-card-overlay h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.experience-card-overlay p {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* --- Certification Badges --- */
.cert-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 768px) {
  .cert-badges {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .cert-badges {
    grid-template-columns: repeat(6, 1fr);
  }
}

.cert-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 20px 24px;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  min-width: 140px;
  text-align: center;
  transition: var(--transition);
}

.cert-badge:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.cert-badge svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
}

.cert-badge .cert-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-dark);
  letter-spacing: 0.5px;
}

.cert-badge .cert-detail {
  font-size: 0.72rem;
  color: var(--color-text-light);
}

/* --- Partners / Logos --- */
.partners-strip {
  padding: 40px 0;
  background: var(--color-white);
}

.partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.partners-logos img {
  height: 40px;
  width: auto;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--transition);
}

.partners-logos img:hover {
  opacity: 1;
  filter: grayscale(0%);
}

/* --- Testimonial --- */
.testimonial-section {
  background: var(--color-dark);
  color: var(--color-white);
}

.testimonial-card {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.testimonial-card .quote-icon {
  font-size: 3rem;
  color: var(--color-primary);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 20px;
}

.testimonial-card blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
  color: var(--color-text-on-dark);
}

.testimonial-card .author {
  font-size: 0.9rem;
  color: var(--color-primary-light);
  font-weight: 600;
}

.testimonial-card .author span {
  color: var(--color-text-light);
  font-weight: 400;
}

/* --- CTA Section --- */
.cta-section {
  position: relative;
  padding: 100px 0;
  text-align: center;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-overlay);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  color: var(--color-white);
  margin-bottom: 16px;
}

.cta-content p {
  color: rgba(255,255,255,0.98);
  margin-bottom: 32px;
  font-size: 1.05rem;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Footer --- */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.92);
  padding: 44px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 36px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.footer-brand img {
  height: 32px;
  width: auto;
  margin-top: -18px;
  margin-bottom: 8px;
  display: block;
}

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 14px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-on-dark);
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

.footer-social a svg {
  width: 18px;
  height: 18px;
}

.footer-heading,
.footer h4 {
  color: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  padding: 5px 0;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-contact-info p {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 10px;
}

.footer-contact-info svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-primary-light);
}

.footer-contact-info a {
  color: rgba(255, 255, 255, 0.88);
}

.footer-contact-info a:hover {
  color: var(--color-white);
}

.footer-contact-cta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: block !important;
}

.footer-contact-cta a {
  display: inline-block;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-primary-light);
  letter-spacing: 0.3px;
  transition: var(--transition);
}

.footer-contact-cta a:hover {
  color: var(--color-white);
  padding-left: 4px;
}

.footer-bottom {
  padding: 16px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--color-white);
}

.demo-disclaimer {
  text-align: center;
  padding: 10px 20px;
  background: rgba(255,255,255,0.08);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  border-top: 1px solid rgba(255,255,255,0.08);
}

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

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 900;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: var(--color-white);
}

/* --- Back to Top --- */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 900;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* --- Sticky Mobile Bar --- */
.mobile-enquiry-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-enquiry-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 950;
    display: flex;
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    padding: 8px;
    gap: 8px;
  }

  .mobile-enquiry-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
  }

  .mobile-enquiry-bar svg {
    width: 18px;
    height: 18px;
  }

  .whatsapp-float {
    bottom: 80px;
  }

  .back-to-top {
    bottom: 80px;
  }

  /* Add padding so content isn't hidden */
  .footer {
    padding-bottom: 70px;
  }
}

/* --- Scroll Animations --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* --- Safari Package Detail --- */
.package-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.package-tab {
  padding: 12px 28px;
  border: 2px solid var(--color-border);
  border-radius: 50px;
  background: var(--color-white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  color: var(--color-text);
}

.package-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.package-tab.active {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* --- Itinerary --- */
.itinerary {
  max-width: 800px;
  margin: 0 auto;
}

.itinerary-day {
  display: flex;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
}

.itinerary-day:last-child {
  border-bottom: none;
}

.day-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.day-number span {
  font-size: 1.2rem;
}

.day-content h4 {
  margin-bottom: 6px;
  font-family: var(--font-heading);
}

.day-content p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --- Includes / Excludes --- */
.includes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.includes-list h3,
.excludes-list h3 {
  margin-bottom: 16px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.includes-list ul li,
.excludes-list ul li {
  padding: 8px 0;
  font-size: 0.92rem;
  color: var(--color-text-light);
  display: flex;
  align-items: flex-start;
  gap: 8px;
  border-bottom: 1px solid var(--color-border);
}

.includes-list ul li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2325d366' stroke-width='2.5'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E") no-repeat center;
  margin-top: 2px;
}

.excludes-list ul li::before {
  content: '';
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23cc4444' stroke-width='2.5'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E") no-repeat center;
  margin-top: 2px;
}

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

/* --- FAQ Accordion --- */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-dark);
  text-align: left;
  gap: 16px;
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition);
  color: var(--color-primary);
}

.faq-item.open .faq-question svg {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-answer-inner {
  padding-bottom: 20px;
  color: var(--color-text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Gallery + Lightbox --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-item {
  aspect-ratio: 4 / 3;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

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

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

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background var(--transition);
}

.gallery-item:hover::after {
  background: rgba(0,0,0,0.15);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 2px solid rgba(255,255,255,0.3);
  background: rgba(0,0,0,0.3);
  color: var(--color-white);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0,0,0,0.6);
  border-color: var(--color-white);
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* --- Contact Form --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
}

.contact-info-card svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-card h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin: 0;
}

.contact-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form .form-group {
  margin-bottom: 16px;
}

.contact-form label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-text);
  background: var(--color-white);
  transition: border-color var(--transition);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--color-primary);
  outline: none;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 30px;
  box-shadow: var(--shadow-sm);
}

.map-container iframe {
  width: 100%;
  height: 350px;
  border: none;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

/* --- Timeline --- */
.timeline {
  position: relative;
  max-width: 700px;
  margin: 40px auto 0;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 12px;
  bottom: 0;
  width: 2px;
  background: var(--color-border);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 3px solid var(--color-cream);
}

.timeline-item h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--color-text-light);
  font-size: 0.92rem;
}

/* --- Team --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 30px;
}

.team-card {
  text-align: center;
}

.team-card .team-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--color-primary-light);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-white);
  overflow: hidden;
}

.team-card .team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card h4 {
  margin-bottom: 4px;
  font-family: var(--font-heading);
}

.team-card .team-role {
  font-size: 0.85rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 6px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --- Kilimanjaro Route Cards --- */
.route-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 350px 1fr;
  transition: all var(--transition);
  margin-bottom: 30px;
}

.route-card:hover {
  box-shadow: var(--shadow-md);
}

.route-card-image {
  height: 100%;
  min-height: 280px;
}

.route-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.route-card-body {
  padding: 32px;
}

.route-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.route-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.route-stat {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.route-stat svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.route-stat strong {
  color: var(--color-dark);
}

.route-card-body p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 20px;
}

.route-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .route-card {
    grid-template-columns: 1fr;
  }

  .route-card-image {
    min-height: 200px;
  }
}

/* --- Zanzibar Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* When exactly 4 items, use 2x2 grid on desktop */
.feature-grid.grid-2x2 {
  grid-template-columns: repeat(2, 1fr);
}

.feature-card {
  padding: 30px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.feature-card svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-light);
  font-size: 0.92rem;
  margin-bottom: 0;
}

/* --- Dark Section --- */
.dark-section {
  background: var(--color-dark);
  color: var(--color-text-on-dark);
}

.dark-section h2,
.dark-section h3 {
  color: var(--color-white);
}

.dark-section .section-label {
  color: var(--color-primary-light);
}

.dark-section .section-subtitle,
.dark-section .intro-text p,
.dark-section p {
  color: rgba(255, 255, 255, 0.92);
}

.dark-section a {
  color: #FFFFFF;
}

/* --- Pricing Badge on Card --- */
.price-tag {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: var(--color-white);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

/* --- General responsive --- */
@media (max-width: 480px) {
  .section-padding {
    padding: 50px 0;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
}

/* --- Safari Planner / Trip Builder --- */
.planner-section {
  background: var(--color-white);
}

.planner-form {
  max-width: 800px;
  margin: 0 auto;
}

.planner-steps {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 40px;
}

.planner-step {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.planner-step.active {
  color: var(--color-primary);
  font-weight: 700;
}

.planner-step .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

.planner-step.active .step-num {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-white);
}

.planner-step.done .step-num {
  background: var(--color-success);
  border-color: var(--color-success);
  color: var(--color-white);
}

.planner-step-line {
  width: 40px;
  height: 2px;
  background: var(--color-border);
  flex-shrink: 0;
}

.step-panel {
  display: none;
}

.step-panel.active {
  display: block;
}

.option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.option-card {
  padding: 20px 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  background: var(--color-cream);
}

.option-card:hover {
  border-color: var(--color-primary-light);
}

.option-card.selected {
  border-color: var(--color-primary);
  background: rgba(171, 137, 101, 0.08);
}

.option-card svg {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.option-card h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.option-card p {
  font-size: 0.75rem;
  color: var(--color-text-light);
  margin: 0;
}

.planner-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 16px;
}

.planner-nav .btn {
  min-width: 140px;
  justify-content: center;
}

/* --- Package Detail Page --- */
.package-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: 40px;
}

.package-hero .hero-content {
  text-align: left;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.package-hero .hero-content h1 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.package-meta {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.package-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
  font-size: 0.95rem;
  font-weight: 500;
}

.package-meta-item svg {
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.package-detail-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 50px;
  align-items: start;
}

.package-sidebar {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 30px;
}

.sidebar-card .price-display {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.sidebar-card .price-note {
  font-size: 0.85rem;
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.sidebar-card .btn {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

.sidebar-highlights {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--color-border);
}

.sidebar-highlights h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  color: var(--color-text-light);
}

.sidebar-highlights li {
  padding: 6px 0;
  font-size: 0.88rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-highlights li svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .package-detail-grid {
    grid-template-columns: 1fr;
  }

  .package-sidebar {
    position: static;
  }

  .package-hero {
    min-height: 45vh;
  }
}

/* --- Accommodation List --- */
.accommodation-list {
  margin-top: 20px;
}

.accommodation-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border);
}

.accommodation-item:last-child {
  border-bottom: none;
}

.accommodation-item img {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
}

.accommodation-item h4 {
  font-size: 0.95rem;
  margin-bottom: 2px;
}

.accommodation-item p {
  font-size: 0.82rem;
  color: var(--color-text-light);
  margin: 0;
}

/* --- Review Cards --- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 24px;
}

@media (min-width: 768px) {
  .reviews-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.review-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}

.review-card .review-stars {
  color: #f5a623;
  font-size: 1.1rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.review-card .review-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--color-heading);
  margin-bottom: 12px;
  line-height: 1.3;
}

.review-card blockquote {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.7;
  margin-bottom: 18px;
}

.review-card .review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.review-card .review-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.review-card .review-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
}

.review-card .review-source {
  font-size: 0.78rem;
  color: var(--color-text-light);
}

/* TripAdvisor badge */
.tripadvisor-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--color-white);
  border: 2px solid #34e0a1;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-dark);
}

.tripadvisor-badge svg {
  width: 24px;
  height: 24px;
}

/* --- Partner Hotels Grid --- */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (min-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.partner-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.partner-card-image {
  height: 200px;
  overflow: hidden;
}

.partner-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.partner-card:hover .partner-card-image img {
  transform: scale(1.05);
}

.partner-card-body {
  padding: 20px;
}

.partner-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.partner-card-body .partner-location {
  font-size: 0.82rem;
  color: var(--color-primary);
  font-weight: 600;
  margin-bottom: 8px;
}

.partner-card-body p {
  font-size: 0.88rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* --- Inline CTA Banner --- */
.inline-cta {
  background: var(--color-dark);
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  margin: 40px 0;
}

.inline-cta h3 {
  color: var(--color-white);
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.inline-cta p {
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
  font-size: 0.92rem;
}

.inline-cta h3 {
  color: #FFFFFF;
}

.inline-cta .section-label {
  color: var(--color-primary-light);
}

/* --- Safari Map --- */
.safari-map-section {
  background: var(--color-white);
}

.safari-map-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.safari-map-container img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  .safari-map-container {
    border-radius: var(--radius-md);
    margin: 0 -10px;
    cursor: pointer;
  }
  .safari-map-container::after {
    content: 'Tap to explore map';
    display: block;
    text-align: center;
    padding: 10px;
    font-size: 0.8rem;
    color: var(--color-text-light);
    background: var(--color-cream);
  }
}

/* Fullscreen map viewer */
.map-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  touch-action: none;
}

.map-fullscreen img {
  max-width: none;
  max-height: none;
  width: 200%;
  transform-origin: 0 0;
  cursor: grab;
}

.map-fullscreen img:active {
  cursor: grabbing;
}

.map-fullscreen-close {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 10000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  font-size: 22px;
  line-height: 44px;
  text-align: center;
  cursor: pointer;
  color: #1F2420;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.map-fullscreen-hint {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: rgba(255, 255, 255, 0.85);
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: #1F2420;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.inline-cta .btn {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .inline-cta {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
  }

  .planner-steps {
    flex-wrap: wrap;
  }

  .planner-step-line {
    display: none;
  }

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

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

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

/* --- Nav Logo Size (mobile) --- */
@media (max-width: 768px) {
  .nav-logo img {
    height: 42px;
  }
}

/* --- Accommodation Preview Grid --- */
.accommodation-preview {
  margin-top: 50px;
}

.accommodation-preview .section-label {
  margin-bottom: 8px;
}

.accommodation-preview h3 {
  margin-bottom: 20px;
}

.accommodation-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.accommodation-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accommodation-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.accommodation-card p {
  padding: 10px 12px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-heading);
  margin: 0;
  text-align: center;
}

.accommodation-note {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-style: italic;
}

@media (max-width: 768px) {
  .accommodation-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .accommodation-card img {
    height: 200px;
  }
}

/* --- Mobile pan for giraffe image --- */
@media (max-width: 768px) {
  img[src*="pumbacampingsafari"] {
    object-position: center 20% !important;
  }
}

/* --- Print --- */
@media print {
  .navbar,
  .whatsapp-float,
  .back-to-top,
  .mobile-enquiry-bar {
    display: none !important;
  }
}
