﻿/* ================================================
   ANAMALAI NATURE SAFARI - Main Stylesheet
   ================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --primary: #2d6a4f;
  --primary-dark: #1b4332;
  --primary-light: #52b788;
  --accent: #95d5b2;
  --white: #ffffff;
  --text-dark: #111827;
  --text-mid: #374151;
  --text-gray: #6b7280;
  --bg-off: #f8f9f5;
  --bg-dark: #0d1f16;
  --border: #e5e7eb;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 48px rgba(0, 0, 0, 0.15);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Poppins', sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

ul {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

/* ---------- Utilities ---------- */
.container {
  max-width: 15100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}

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

.btn--primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(45, 106, 79, 0.35);
}

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

.btn--white:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

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

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

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

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

.btn--lg {
  padding: 15px 36px;
  font-size: 1rem;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  transition: box-shadow var(--transition);
}

.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 1rem;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.navbar__logo-text {
  display: flex;
  flex-direction: column;
}

.navbar__logo-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: 1px;
  line-height: 1.1;
}

.navbar__logo-sub {
  font-size: 0.58rem;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 1.5px;
}

.navbar__nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.navbar__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-mid);
  position: relative;
  transition: color var(--transition);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform var(--transition);
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--primary);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  transform: scaleX(1);
}

.navbar__right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar__phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1.5px solid var(--primary);
  transition: all var(--transition);
  display: none;
}

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

@media (min-width: 1024px) {
  .navbar__phone {
    display: inline-flex;
  }
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

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

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .navbar__nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem 2rem;
    gap: 0;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.35s ease;
  }

  .navbar__nav.open {
    transform: translateX(0);
    box-shadow: var(--shadow-lg);
  }

  .navbar__link {
    font-size: 1.1rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .navbar__link::after {
    display: none;
  }
}

/* ================================================
   HERO SLIDER
   ================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Backgrounds */
.hero__backgrounds {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero__bg.active {
  opacity: 1;
}

/* White flash overlay */
.hero__flash {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: white;
  opacity: 0;
  pointer-events: none;
  transition: none;
}

/* Dark gradient overlay */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(105deg,
      rgba(0, 0, 0, 0.68) 0%,
      rgba(0, 0, 0, 0.35) 60%,
      rgba(0, 0, 0, 0.15) 100%);
}

/* Content */
.hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* All slides are always absolute — container sets height */
.hero__slides-wrap {
  position: relative;
  max-width: 680px;
  min-height: 320px;
}

/* Individual slides — all absolute, invisible by default */
.hero__slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateY(60px);
}

/* Active slide: visible at natural position */
.hero__slide.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* Keyframes */
@keyframes slideEnter {
  from {
    opacity: 0;
    transform: translateY(60px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideExit {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-60px);
  }
}

/* Enter: override static transform with animation */
.hero__slide.entering {
  animation: slideEnter 0.6s ease forwards;
}

/* Exit: must be highest specificity so it fires from the active/visible state */
.hero__slide.active.exiting {
  animation: slideExit 0.55s ease forwards;
  pointer-events: none;
}

.hero__tagline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 12px;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  margin-bottom: 16px;
}

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

.hero__desc {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 2rem;
  max-width: 520px;
  line-height: 1.7;
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* Dots */
.hero__dots {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
  align-items: center;
}

.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  padding: 0;
}

.hero__dot.active {
  background: white;
  width: 28px;
  border-radius: 5px;
}

.hero__dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

/* ================================================
   ABOUT
   ================================================ */
.about {
  padding: 100px 0;
  background: var(--white);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about__title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
  line-height: 1.25;
}

.about__desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about__stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.about__stat {
  display: flex;
  flex-direction: column;
}

.about__stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about__stat-label {
  font-size: 0.78rem;
  color: var(--text-gray);
  margin-top: 4px;
}

.about__image-wrap {
  position: relative;
}

.about__img {
  border-radius: var(--radius-lg);
  height: 480px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about__badge {
  position: absolute;
  bottom: 24px;
  left: -20px;
  background: white;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  font-size: 0.82rem;
  font-weight: 600;
}

.about__badge-icon {
  font-size: 1.6rem;
}

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

  .about__image-wrap {
    order: -1;
  }

  .about__img {
    height: 300px;
  }

  .about__badge {
    left: 16px;
    bottom: 16px;
  }

  .about__stats {
    gap: 1rem;
    flex-wrap: wrap;
  }
}

/* ================================================
   DESTINATIONS
   ================================================ */
.destinations {
  padding: 0px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
}

.destinations--page {
  width: 100%;
  padding-top: 10px;
}

.destinations__intro {
  margin-bottom: 2rem;
}

.destination-showcase {
  /* width: min(100%, 1440px); */
  min-width: 100vw;
  margin: 0 auto;
  align-items: center;
  justify-items: center;
  overflow: hidden;
  display: grid;
  gap: 10px;
}

.destination-feature {
  position: relative;
  isolation: isolate;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 2 / 1;
  min-height: 420px;
  max-height: 720px;
  background: #173626;
  /* color: white; */
  outline: none;
}

.destination-feature__base {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  transform: scale(1.14);
  transition: filter 0.35s ease, transform 0.5s ease;
}

.destination-feature__title {
  position: absolute;
  top: 8%;
  left: 6.5%;
  z-index: 3;
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.55rem);
  font-weight: 800;
  line-height: 1.2;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
}

.destination-feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(9, 22, 13, 0.16);
  pointer-events: none;
}

.destination-feature__panel {
  position: absolute;
  top: 15%;
  bottom: 9%;
  z-index: 2;
  width: min(37%, 470px);
  padding: clamp(18px, 2.4vw, 34px);
  background: rgba(54, 91, 69, 0.96);
  border: 2px solid rgba(255, 255, 255, 0.95);
  color: #06160d;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.destination-feature__panel--left {
  left: 15%;
  border-radius: 28px 0 0 28px;
  transform: translateX(55%);
}

.destination-feature__panel--right {
  right: 15%;
  border-radius: 0 28px 28px 0;
  transform: translateX(-55%);
  
}

.destination-feature__photo {
  position: absolute;
  left: 50%;
  top: 53%;
  z-index: 4;
  width: min(30vw, 440px);
  height: 75%;
  min-width: 260px;
  transform: translate(-50%, -50%);
  border-radius: 24px;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.24);
  object-fit: cover;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}

.destination-feature__caption {
  position: absolute;
  left: 50%;
  bottom: 10%;
  z-index: 5;
  width: min(30vw, 440px);
  min-width: 260px;
  transform: translateX(-50%);
  color: var(--white);
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.destination-feature:hover .destination-feature__panel,
.destination-feature:focus-within .destination-feature__panel,
.destination-feature:focus .destination-feature__panel {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.destination-feature:hover .destination-feature__base,
.destination-feature:focus-within .destination-feature__base,
.destination-feature:focus .destination-feature__base {
  filter: saturate(1.06) brightness(1.02);
  transform: scale(1.16);
}

.destination-feature:hover .destination-feature__photo,
.destination-feature:focus-within .destination-feature__photo,
.destination-feature:focus .destination-feature__photo {
  transform: translate(-50%, -50%) scale(1.015);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.3);
}

.destination-feature__panel h3 {
  color: var(--white);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-align: center;
}

.destination-feature__panel ul {
  display: grid;
  gap: 4px;
}

.destination-feature__panel li {
  position: relative;
  padding-left: 1.1rem;
  font-size: clamp(0.78rem, 1.2vw, 1.02rem);
  font-weight: 700;
  line-height: 1.22;
  color: #030904;
}

.destination-feature__panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(149, 213, 178, 0.22);
}

@media (max-width: 1050px) {
  .destination-feature {
    aspect-ratio: 2 / 1;
    min-height: 360px;
  }

  .destination-feature__base {
    min-height: 360px;
  }

  .destination-feature__panel {
    top: 12%;
    bottom: 8%;
    width: 36%;
    padding: 18px;
  }

  .destination-feature__photo {
    width: 32vw;
    min-width: 230px;
    height: 70%;
  }

  .destination-feature__caption {
    width: 32vw;
    min-width: 230px;
  }
}

@media (max-width: 760px) {
  .destinations {
    padding-top: 68px;
  }

  .destination-feature {
    display: grid;
    aspect-ratio: auto;
    min-height: 0;
    overflow: visible;
    background: var(--bg-off);
    
  }

  .destination-feature__base {
    position: static;
    height: auto;
    min-height: 0;
    border-radius: 0;
    transform: none;
  }

  .destination-feature__title {
    top: 22px;
    left: 22px;
    right: 22px;
    font-size: 1.05rem;
  }

  .destination-feature::after {
    display: none;
  }

  .destination-feature__photo {
    position: relative;
    left: auto;
    top: auto;
    z-index: 1;
    width: min(82vw, 420px);
    height: clamp(260px, 82vw, 340px);
    min-width: 0;
    margin: 20px auto 24px;
    transform: none;
  }

  .destination-feature__caption {
    position: relative;
    left: auto;
    bottom: auto;
    width: auto;
    min-width: 0;
    margin: -12px auto 18px;
    padding: 0 20px;
    transform: none;
    color: var(--white);
  }

  .destination-feature:hover .destination-feature__photo,
  .destination-feature:focus-within .destination-feature__photo,
  .destination-feature:focus .destination-feature__photo {
    transform: none;
  }

  .destination-feature__panel {
    position: static;
    width: auto;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    border-radius: 0;
    border-width: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.45);
  }

  .destination-feature__panel--left,
  .destination-feature__panel--right {
    transform: none;
  }
}

.destination-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  margin-top: 66px;
  overflow: hidden;
}

.destination-hero__bg,
.destination-hero__overlay {
  position: absolute;
  inset: 0;
}

.destination-hero__bg {
  background-size: cover;
  background-position: center;
  filter: saturate(1.05);
}

.destination-hero__overlay {
  background: linear-gradient(90deg, rgba(5, 17, 10, 0.84), rgba(5, 17, 10, 0.42) 58%, rgba(5, 17, 10, 0.28));
}

.destination-hero__content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  text-align: center;
}

.destination-hero .section-label {
  color: var(--accent);
}

.destination-hero__title {
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  color: var(--white);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.destination-hero__desc {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(0.95rem, 1.7vw, 1.12rem);
  line-height: 1.7;
}

/* ================================================
   SAFARI PAGE
   ================================================ */
.safari-hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  margin-top: 66px;
  overflow: hidden;
}

.safari-hero__bg,
.safari-hero__overlay {
  position: absolute;
  inset: 0;
}

.safari-hero__bg {
  background-size: cover;
  background-position: center;
}

.safari-hero__overlay {
  background: linear-gradient(90deg, rgba(4, 16, 9, 0.82), rgba(4, 16, 9, 0.42) 58%, rgba(4, 16, 9, 0.18));
}

.safari-hero__content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.safari-hero__label {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.safari-hero__title {
  color: var(--white);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1rem;
}

.safari-hero__desc {
  max-width: 600px;
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(0.92rem, 1.45vw, 1.05rem);
  font-weight: 500;
  line-height: 1.65;
}

.safari-page {
  padding: 70px 0 88px;
  background: #e9f5ee;
}

.safari-page__heading {
  text-align: center;
  margin-bottom: 3.5rem;
}

.safari-page__heading .section-label {
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.safari-page__heading h2 {
  color: #06160d;
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.safari-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 42%) 1fr;
  align-items: stretch;
  max-width: 1320px;
  min-height: 360px;
  margin: 0 auto 5.5rem;
  border: 1.5px solid rgba(4, 31, 15, 0.45);
  border-radius: 18px;
  background: var(--white);
  overflow: visible;
}

.safari-card--reverse {
  grid-template-columns: 1fr minmax(280px, 42%);
}

.safari-card__image {
  overflow: hidden;
  border-radius: 16px 0 0 16px;
}

.safari-card--reverse .safari-card__image {
  order: 2;
  border-radius: 0 16px 16px 0;
}

.safari-card__image img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.safari-card__body {
  position: relative;
  padding: clamp(28px, 4vw, 56px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.safari-card__place {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 1rem;
}

.safari-icon,
.safari-info__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  border: 2px solid rgba(27, 67, 50, 0.45);
  border-radius: 999px;
}

.safari-icon {
  width: 36px;
  height: 36px;
  background: #f4fff8;
}

.safari-icon svg,
.safari-info__icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.safari-card h3 {
  color: var(--primary-dark);
  font-size: clamp(1.8rem, 3.8vw, 3.1rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.7rem;
}

.safari-card__desc {
  max-width: 680px;
  color: #06160d;
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  margin-bottom: 1.35rem;
}

.safari-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  max-width: 660px;
  padding: 22px;
  border-radius: 14px;
  background: #d8fce4;
}

.safari-info__item {
  display: grid;
  justify-items: center;
  gap: 6px;
  color: #06160d;
  text-align: center;
}

.safari-info__icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.5);
}

.safari-info__item span:not(.safari-info__icon) {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.safari-info__item strong {
  max-width: 150px;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.25;
}

.safari-card__btn {
  position: absolute;
  right: 34px;
  bottom: -30px;
  border-radius: 8px;
  padding: 18px 30px;
  text-transform: uppercase;
}

.safari-card--reverse .safari-card__btn {
  left: 34px;
  right: auto;
}

@media (max-width: 900px) {
  .safari-card,
  .safari-card--reverse {
    grid-template-columns: 1fr;
    margin-bottom: 4rem;
  }

  .safari-card--reverse .safari-card__image {
    order: 0;
  }

  .safari-card__image,
  .safari-card--reverse .safari-card__image {
    border-radius: 16px 16px 0 0;
  }

  .safari-card__image img {
    min-height: 280px;
  }

  .safari-card__btn,
  .safari-card--reverse .safari-card__btn {
    position: static;
    align-self: flex-start;
    margin-top: 1.4rem;
  }
}

@media (max-width: 640px) {
  .safari-hero {
    min-height: 380px;
  }

  .safari-page {
    padding: 54px 0 68px;
  }

  .safari-card {
    border-radius: 14px;
  }

  .safari-card__body {
    padding: 24px;
  }

  .safari-info {
    grid-template-columns: 1fr;
  }
}

/* ================================================
   GALLERY
   ================================================ */
.gallery {
  padding: 100px 0;
  background: var(--white);
}

.gallery__header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.gallery__h2 {
  margin: 0 auto;
}

.gallery__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 260px 260px;
  gap: 12px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.g-item {
  overflow: hidden;
  border-radius: var(--radius);
}

.g-item img {
  transition: transform 0.5s ease;
}

.g-item:hover img {
  transform: scale(1.06);
}

.g-tall {
  grid-row: span 2;
}

.g-wide {
  grid-column: span 2;
}

.gallery__cta {
  text-align: center;
  margin-top: 2.5rem;
}

@media (max-width: 768px) {
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .g-tall {
    grid-row: span 1;
  }

  .g-wide {
    grid-column: span 2;
  }
}

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

  .g-wide {
    grid-column: span 1;
  }
}

/* ================================================
   CTA
   ================================================ */
.cta {
  position: relative;
  padding: 120px 0;
  display: flex;
  align-items: center;
  text-align: center;
}

.cta__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 25, 14, 0.72);
}

.cta__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.cta__title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

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

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding: 70px 24px 50px;
}

.footer__brand .navbar__logo-name,
.footer__brand .navbar__logo-sub {
  color: white;
}

.footer__tagline {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.footer__socials {
  display: flex;
  gap: 12px;
}

.footer__social {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.footer__social:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translateY(-2px);
}

.footer__heading {
  font-size: 0.88rem;
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 1.2rem;
}

.footer__list li {
  margin-bottom: 10px;
}

.footer__list a {
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color var(--transition);
}

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

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 14px;
  line-height: 1.6;
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 24px;
  text-align: center;
}

.footer__bottom p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

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

/* ================================================
   SCROLL REVEAL ANIMATION
   ================================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  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;
}

/* ================================================
   GALLERY PAGE STYLES
   ================================================ */
.gallery-hero {

  position: relative;
  height: 420px;
  display: flex;
  align-items: center;
  margin-top: 66px;
}

.gallery-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  border-radius: 0 0 24px 24px;
}

.gallery-hero__overlay {
  position: absolute;
  inset: 0;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.2));
}

.gallery-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.gallery-hero__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.gallery-hero__desc {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}

.gallery-page {
  padding: 40px 0 100px;
}

.gallery-bento {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 16px;
}

.gallery-bento__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.gallery-bento__item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  width: 100%;
  height: 300px;
}

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

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

/* Specific heights matching the mockup */
.bento-tall {
  height: 480px;
}

.bento-wide {
  height: 260px;
}

.bento-first-right {
  height: 320px;
}

.gallery-bento__row2 {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 16px;
}

.gallery-bento__row2 .gallery-bento__item {
  height: 320px;
}

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

  .bento-tall,
  .bento-first-right,
  .bento-wide,
  .gallery-bento__row2 .gallery-bento__item {
    height: 300px;
  }

  .gallery-bento__row2 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .gallery-bento__row2 {
    grid-template-columns: 1fr;
  }
}


.justified-gallery {
  --gallery-gap: 10px;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: var(--gallery-gap);
}

.justified-gallery__item {
  display: block;
  flex: 0 0 auto;
  height: 220px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--bg-off);
  box-shadow: var(--shadow);
  transform: translateZ(0);
}

.justified-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.justified-gallery__item:hover img {
  transform: scale(1.04);
}

@media (max-width: 768px) {
  .justified-gallery {
    --gallery-gap: 8px;
  }
}
