/* =============================================
   FEVER TREE FARM — Lower Zambezi
   Style: warm, earthy, wild, minimal
   ============================================= */

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

:root {
  --clay:        #6B4226;
  --sand:        #D4B896;
  --sand-light:  #E8D5B7;
  --cream:       #F5EDE0;
  --charcoal:    #2C241B;
  --charcoal-80: #3E3429;
  --elephant:    #1A1510;
  --acacia:      #7A9A5A;
  --acacia-dark: #5A7A3A;
  --sunset:      #C87137;
  --gold:        #D4A843;
  --text:        #3E3429;
  --text-light:  #7A6B5A;
  --white:       #FFFFFF;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-w: 1200px;
  --nav-h: 72px;
  --radius: 12px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  width: 92%;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 100px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: all 0.3s var(--ease);
  border: 2px solid transparent;
  text-align: center;
}

.btn--primary {
  background: var(--sunset);
  color: var(--white);
  border-color: var(--sunset);
}
.btn--primary:hover {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border-color: var(--sand);
}
.btn--outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
  transform: translateY(-2px);
}

/* =============================================
   NAV
   ============================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  transition: all 0.4s var(--ease);
  background: transparent;
}

.nav--scrolled {
  background: rgba(26, 21, 16, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
}

.nav__logo-icon {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  stroke-width: 2;
}

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

.nav__link {
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { width: 100%; }

.nav__link--cta {
  padding: 8px 20px;
  border: 1.5px solid var(--gold);
  border-radius: 100px;
  color: var(--gold);
  font-weight: 600;
}
.nav__link--cta:hover {
  background: var(--gold);
  color: var(--elephant);
}
.nav__link--cta::after { display: none; }

/* Hamburger */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.nav__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s var(--ease);
}
.nav__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav__toggle.active span:nth-child(2) { opacity: 0; }
.nav__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

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

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(26,21,16,0.55) 0%, rgba(26,21,16,0.25) 100%),
    url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800"%3E%3Cdefs%3E%3ClinearGradient id="a" x1="0%%25" y1="0%%25" x2="100%%25" y2="100%%25"%3E%3Cstop offset="0%%25" stop-color="%232C241B"/%3E%3Cstop offset="50%%25" stop-color="%233E3429"/%3E%3Cstop offset="100%%25" stop-color="%234A3C2A"/%3E%3C/linearGradient%3E%3C/defs%3E%3Crect fill="url(%23a)" width="1200" height="800"/%3E%3Ccircle cx="200" cy="150" r="4" fill="%23D4B896" opacity="0.15"/%3E%3Ccircle cx="600" cy="100" r="3" fill="%23D4B896" opacity="0.1"/%3E%3Ccircle cx="900" cy="200" r="5" fill="%23D4B896" opacity="0.12"/%3E%3Ccircle cx="350" cy="300" r="2" fill="%23D4B896" opacity="0.08"/%3E%3C/svg%3E') center/cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(26,21,16,0.3) 0%,
    rgba(26,21,16,0.1) 50%,
    rgba(26,21,16,0.6) 100%
  );
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 24px;
  animation: heroFadeIn 1.2s var(--ease) forwards;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero__badge {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 168, 67, 0.3);
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 300;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

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

.hero__scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  animation: float 2.5s ease-in-out infinite;
}

.hero__scroll-arrow {
  width: 1px;
  height: 30px;
  background: linear-gradient(to bottom, var(--gold), transparent);
}

@keyframes float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section__tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--sunset);
  margin-bottom: 12px;
}

.section__tag--light { color: var(--gold); }

.section__title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.section__title--light { color: var(--cream); }

.section__desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-light);
}

.section__desc--light { color: rgba(255,255,255,0.75); }

/* =============================================
   ABOUT
   ============================================= */
.about {
  background: var(--cream);
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

.about__card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  text-align: center;
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(107, 66, 38, 0.06);
}

.about__card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 60px rgba(26,21,16,0.08);
}

.about__icon {
  width: 48px;
  height: 48px;
  stroke: var(--sunset);
  stroke-width: 1.5;
  margin-bottom: 16px;
}

.about__card h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.about__card p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.65;
}

/* =============================================
   CAMP
   ============================================= */
.camp {
  background: var(--elephant);
  position: relative;
}

.camp::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sunset), var(--gold), var(--acacia));
}

.camp__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.camp__feature {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  padding: 32px 28px;
  border-radius: var(--radius);
  transition: all 0.4s var(--ease);
}

.camp__feature:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(212, 168, 67, 0.2);
  transform: translateY(-4px);
}

.camp__feature-icon {
  width: 36px;
  height: 36px;
  stroke: var(--gold);
  stroke-width: 1.5;
  margin-bottom: 14px;
}

.camp__feature h4 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--cream);
  margin-bottom: 8px;
}

.camp__feature p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
}

/* =============================================
   WILDLIFE
   ============================================= */
.wildlife { background: var(--cream); }

.wildlife__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.wildlife__item {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all 0.4s var(--ease);
  border: 1px solid rgba(107, 66, 38, 0.06);
}

.wildlife__item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,21,16,0.1);
}

.wildlife__image {
  height: 200px;
  background-size: cover;
  background-position: center;
  background-color: var(--sand-light);
}

.wildlife__image--elephant {
  background-image:
    radial-gradient(ellipse at 30% 60%, var(--charcoal-80) 25%, transparent 55%),
    radial-gradient(ellipse at 70% 40%, var(--charcoal-80) 20%, transparent 50%);
}
.wildlife__image--lion {
  background-image:
    radial-gradient(ellipse at 50% 50%, var(--sand) 30%, var(--clay) 70%);
}
.wildlife__image--hippo {
  background-image:
    radial-gradient(ellipse at 40% 50%, var(--charcoal-80) 30%, var(--acacia-dark) 60%, transparent 80%);
}
.wildlife__image--birds {
  background: linear-gradient(180deg, var(--acacia) 0%, var(--sand) 50%, var(--gold) 100%);
}

.wildlife__info {
  padding: 24px;
}

.wildlife__info h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.wildlife__info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.wildlife__note {
  margin-top: 48px;
  padding: 20px 28px;
  background: rgba(200, 113, 55, 0.08);
  border-left: 3px solid var(--sunset);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.alert-icon {
  width: 20px;
  height: 20px;
  stroke: var(--sunset);
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 3px;
}

/* =============================================
   GALLERY
   ============================================= */
.gallery {
  background: var(--elephant);
}

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

.gallery__placeholder {
  background: rgba(255,255,255,0.04);
  border: 2px dashed rgba(255,255,255,0.12);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: rgba(255,255,255,0.3);
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.4s var(--ease);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gallery__placeholder::after {
  content: attr(data-label);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  background: rgba(26,21,16,0.7);
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  text-align: center;
  transform: translateY(100%);
  transition: transform 0.3s var(--ease);
}

.gallery__placeholder:hover {
  border-color: var(--gold);
  background: rgba(255,255,255,0.07);
}
.gallery__placeholder:hover::after { transform: translateY(0); }

.gallery__placeholder-icon {
  width: 40px;
  height: 40px;
  stroke: rgba(255,255,255,0.3);
  stroke-width: 1.5;
}

.gallery__placeholder--tall { grid-row: span 2; }
.gallery__placeholder--wide { grid-column: span 2; }

/* Gallery image (real photo replacing placeholder) */
.gallery__image {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: all 0.4s var(--ease);
}
.gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.gallery__image:hover img {
  transform: scale(1.05);
}
.gallery__image--tall { grid-row: span 2; }
.gallery__image--wide { grid-column: span 2; }
.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(26,21,16,0.8));
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  font-weight: 500;
}

/* =============================================
   FUTURE
   ============================================= */
.future { background: var(--cream); }

.future__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.future__card {
  background: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius);
  border: 1px solid rgba(107, 66, 38, 0.06);
  transition: all 0.4s var(--ease);
}

.future__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(26,21,16,0.08);
}

.future__icon {
  width: 44px;
  height: 44px;
  stroke: var(--sunset);
  stroke-width: 1.5;
  margin-bottom: 14px;
}

.future__card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--charcoal);
  margin-bottom: 10px;
}

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

.future__status {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 4px 14px;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(200, 113, 55, 0.1);
  color: var(--sunset);
}

.future__status--done {
  background: rgba(122, 154, 90, 0.15);
  color: var(--acacia-dark);
}

/* =============================================
   CONTACT
   ============================================= */
.contact {
  background: var(--cream);
  border-top: 1px solid rgba(107, 66, 38, 0.06);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

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

.contact__form input,
.contact__form textarea {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 14px 18px;
  border: 1.5px solid rgba(107, 66, 38, 0.15);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  transition: all 0.3s ease;
  outline: none;
}

.contact__form input:focus,
.contact__form textarea:focus {
  border-color: var(--sunset);
  box-shadow: 0 0 0 3px rgba(200, 113, 55, 0.1);
}

.contact__form input::placeholder,
.contact__form textarea::placeholder {
  color: var(--text-light);
  opacity: 0.6;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact__emoji {
  width: 24px;
  height: 24px;
  stroke: var(--sunset);
  stroke-width: 1.5;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact__item h4 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}

.contact__item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.contact__link {
  color: var(--sunset);
  font-weight: 500;
  transition: color 0.3s ease;
}
.contact__link:hover { color: var(--clay); }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  background: var(--elephant);
  padding: 60px 0 40px;
  color: rgba(255,255,255,0.5);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.footer__brand {
  display: flex;
  align-items: center;
  gap: 0;
}

.footer__logo {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--cream);
}

.footer__logo-icon {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  stroke-width: 1.5;
  vertical-align: middle;
  margin-right: 8px;
}

.footer__tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.35);
  margin-top: 4px;
}

.footer__links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer__links a {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.3s ease;
}
.footer__links a:hover { color: var(--gold); }

.footer__copy {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  margin-top: 8px;
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
  .gallery__placeholder--wide { grid-column: span 1; }
  .gallery__placeholder--tall { grid-row: span 1; }
}

@media (max-width: 768px) {
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(26,21,16,0.98);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    padding: 80px 40px;
    transition: right 0.4s var(--ease);
    backdrop-filter: blur(20px);
  }
  .nav__links.open { right: 0; }

  .nav__toggle { display: flex; }

  .section { padding: 64px 0; }
  .section__header { margin-bottom: 40px; }

  .gallery__grid { grid-template-columns: 1fr 1fr; }
  .hero__title { font-size: 2.8rem; }
  .hero__subtitle { font-size: 1rem; }
  .hero__actions { flex-direction: column; align-items: center; }
}

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