/* ==============================================================
   KALIS SAFARI EXPERIENCE PAGE – PREMIUM 3-COLUMN DESIGN
   ============================================================== */

/* ---------- GLOBAL RESET ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #4A2C2A;
  background: #F5F5F0;
  line-height: 1.6;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

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

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  background-color: #D9B99B;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 3rem 1rem;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0.9rem;
  line-height: 0.9;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  font-size: 0.8rem;
  opacity: 0.9;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .hero-section {
    min-height: 65vh;
  }
}

/* ---------- BUTTONS ---------- */
.btn-primary,
.btn-experience {
  background: linear-gradient(90deg, #D8A903, #F4C430);
  color: #4A2C2A;
  padding: 0.9rem 2.3rem;
  border-radius: 0.6rem;
  font-weight: 700;
  transition: all 0.3s ease;
  display: inline-block;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover,
.btn-experience:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(216, 169, 3, 0.4);
}

/* ---------- HEADINGS ---------- */
.section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  text-align: center;
  color: #4A2C2A;
  margin-bottom: 1rem;
}
.lead {
  font-size: 1.1rem;
  text-align: center;
  color: #555;
  max-width: 720px;
  margin: 0 auto 3rem;
}



/* ---------- SIGNATURE EXPERIENCES ---------- */
.signature-experiences {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--light-leopard-tan), var(--bg));
  position: relative;
  overflow: hidden;
}

.signature-experiences::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, rgba(154, 205, 50, 0.1) 0%, transparent 50%, rgba(154, 205, 50, 0.1) 100%);
  z-index: 0;
}

/* Ensure container centers content explicitly */
.signature-experiences .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
}

/* Section heading and lead perfectly centered and themed */
.signature-experiences .section-heading {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--earth-brown);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.8s ease-out forwards;
}

.signature-experiences .lead {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15rem;
  color: var(--muted);
  text-align: center;
  max-width: 750px;
  margin: 0 auto 3rem;
  line-height: 1.8;
  animation: fadeInUp 1s ease-out forwards;
}

/* Parallax subtle motion for premium feel */
@keyframes parallaxFade {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Grid for the experience cards */
.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
  z-index: 2;
}

/* Individual card styling */
.experience-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  animation: parallaxFade 1s ease both;
}

.experience-card img {
  width: 100%;
  height: 100%; /* Ensures image fills the card vertically */
  object-fit: cover; /* Fills the card without distortion */
  display: block; /* Removes any inline spacing issues */
  transition: transform 0.6s ease;
}

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

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 35px rgba(154, 205, 50, 0.35);
}

/* Overlay text on hover */
.experience-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.65) 25%, transparent 90%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
  color: var(--text-light);
}

.experience-card:hover .experience-overlay {
  opacity: 1;
}

.overlay-title :hover{
  font-family: 'Playfair Display', serif; /* Match pictorial section */
  font-size: 1.4rem;
  font-weight: 700;
  color: #9acd32; /* Greenish-yellow from pictorial */
  margin-bottom: 0.25rem;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8); /* Strong shadow for depth */
}

.overlay-description {
  font-family: 'Roboto', sans-serif; /* Match pictorial section */
  font-size: 1rem;
  color: #fff; /* Light text for contrast */
  line-height: 1.5;
  background: rgba(0, 0, 0, 0.3); /* Slight background for readability */
  padding: 0.2rem 0.3rem;
  border-radius: 0.3rem;
}

.premium-btn {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
  background: linear-gradient(135deg, #9acd32, #A68A64); /* Theme green to brown */
  color: var(--text-light);
  border-radius: 0.5rem;
  text-decoration: none;
  border: 1px solid rgba(154, 205, 50, 0.7);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(154, 205, 50, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
  .signature-experiences {
    padding: 3.5rem 0;
  }
  .signature-experiences .section-heading {
    font-size: 1.9rem;
  }
  .signature-experiences .lead {
    font-size: 1rem;
    margin-bottom: 2rem;
  }
  .experience-grid {
    gap: 1.5rem;
  }
  .experience-card img {
    height: auto; /* Adjust for mobile aspect ratio */
  }
}



/* ---------- UNIQUE FEATURES ---------- */
.unique-features {
  padding: 4rem 0;
  background: linear-gradient(135deg, #E8DCC7, #F5F5F0);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.feature-card {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(6px);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 45px rgba(216, 169, 3, 0.25);
}
.feature-card i {
  font-size: 2.8rem;
  color: #D8A903;
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  position: center;
}
.feature-card p {
  font-size: 1rem;
  color: #555;
}
.section-subheading {
  font-size: 1.5rem;
  color: #777;
  margin-bottom: 2rem;
  text-align: center;
}

/* ---------- PHOTO STORY GALLERY ---------- */
.photo-gallery {
  background: #F5F5F0;
  padding: 4rem 0;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 0.6rem;
  transition: transform 0.5s ease, box-shadow 0.4s ease;
  cursor: zoom-in;
}
.gallery-grid img:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- TESTIMONIALS (unchanged) ---------- */
.testimonials-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #D9B99B, #F5F5F0);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
  font-style: italic;
}
.testimonial-card p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  color: #4A2C2A;
}
.testimonial-card cite {
  font-size: 1rem;
  color: #D8A903;
  font-style: normal;
}

/* ---------- CHOOSE YOUR ADVENTURE ---------- */
.choose-adventure {
  padding: 4rem 0;
  background: #F5F5F0;
}
.filters {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.filter-btn {
  background: #fff;
  color: #4A2C2A;
  border: 1px solid #D8A903;
  padding: 0.8rem 1.4rem;
  border-radius: 0.6rem;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active {
  background: #D8A903;
  color: #fff;
}
.adventure-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.adventure-card {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.adventure-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 35px rgba(216, 169, 3, 0.25);
}
.adventure-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.adventure-card:hover img {
  transform: scale(1.05);
}
.adventure-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent);
  color: #fff;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.45s ease;
}
.adventure-card:hover .adventure-overlay {
  transform: translateY(0);
}
.adventure-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}
.adventure-overlay p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
}
@media (max-width: 1024px) {
  .adventure-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .adventure-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- FEATURED ADVENTURE ---------- */
.featured-adventure {
  padding: 4rem 0;
  background: linear-gradient(135deg, #D9B99B, #F5F5F0);
}
.featured-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
}
.featured-content img {
  flex: 1 1 50%;
  border-radius: 1rem;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.1);
}
.featured-details {
  flex: 1 1 45%;
}
.featured-details p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 4rem 1rem;
  text-align: center;
  background: linear-gradient(135deg, #F5F5F0, #E8DCC7);
}
.cta-section .section-heading {
  font-size: 2.3rem;
  margin-bottom: 1rem;
}
.cta-section .lead {
  margin-bottom: 2rem;
}

/* ---------- ANIMATIONS ---------- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.fade-in {
  animation: fadeInUp 0.8s ease-out forwards;
}
.fade-in-delay-1 {
  animation-delay: 0.2s;
}
.fade-in-delay-2 {
  animation-delay: 0.4s;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 768px) {
  .hero-section {
    min-height: 65vh;
  }
  .feature-card {
    padding: 1.5rem;
  }
  .featured-content {
    flex-direction: column;
  }
  .featured-content img,
  .featured-details {
    flex: 1 1 100%;
  }
}
