/* ==========================================================
   OSCA Nature Travel for Safari – styles.css
   HOW TO EDIT COLORS: change the hex values in :root below.
   HOW TO EDIT FONTS: change --font-head / --font-body (and the
   Google Fonts link in index.html).
   ========================================================== */
:root {
  --forest: #1f4d36;        /* main forest green */
  --forest-dark: #14382a;   /* darker green (header, footer) */
  --beige: #f4ecdb;         /* warm beige background */
  --sand: #e8dcc0;          /* borders and soft panels */
  --brown: #7a5232;         /* earthy brown text accents */
  --accent: #9a6224;        /* button color (earthy amber-brown) */
  --accent-dark: #7d4e1b;   /* button hover */
  --whatsapp: #1a7f43;      /* WhatsApp button */
  --white: #ffffff;
  --ink: #2b2a26;           /* body text */
  --radius: 14px;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--white); line-height: 1.65; font-size: 1rem; }
img { max-width: 100%; display: block; background: var(--sand); }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6rem; color: var(--forest-dark); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1rem; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.container { width: min(1140px, 92%); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--white); color: var(--forest-dark); padding: .6rem 1rem; z-index: 200; }
.skip-link:focus { left: 8px; top: 8px; }

/* ---------- Buttons ---------- */
.btn { display: inline-block; border: 0; border-radius: 999px; padding: .85rem 1.7rem; font: 600 1rem var(--font-body); text-decoration: none; text-align: center; cursor: pointer; color: var(--white); transition: background-color .2s, transform .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); }
.btn-primary:hover { background: var(--accent-dark); }
.btn-whatsapp { background: var(--whatsapp); font-size: 1.1rem; padding: 1rem 2.2rem; }
.btn-whatsapp:hover { background: #146b38; }
.btn-block { display: block; width: 100%; }

/* ---------- Header / navigation ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--forest-dark); color: var(--beige); box-shadow: 0 2px 10px rgba(0,0,0,.2); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.logo { display: flex; align-items: center; gap: .65rem; text-decoration: none; }
.logo-mark {
  display: block;
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
}

.logo-text {
  font: 700 1.15rem var(--font-head);
  line-height: 1.1;
}
.logo-text small { display: block; font: 400 .68rem var(--font-body); opacity: .85; }
.site-nav ul { display: flex; align-items: center; gap: 1.6rem; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: .95rem; padding: .3rem 0; border-bottom: 2px solid transparent; }
.site-nav a:hover { border-color: var(--beige); }
.site-nav .nav-cta { background: var(--accent); padding: .5rem 1.2rem; border-radius: 999px; border: 0; }
.nav-toggle { display: none; background: none; border: 0; padding: .6rem; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: var(--beige); border-radius: 2px; transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; display: flex; align-items: center; min-height: 86vh; color: var(--white); overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--forest); }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,40,28,.82) 0%, rgba(14,40,28,.5) 55%, rgba(14,40,28,.15) 100%); }
.hero-content { position: relative; padding: 4rem 0; }
.hero h1 { color: var(--white); font-size: clamp(2.5rem, 7vw, 4.8rem); max-width: 14ch; margin-bottom: 1.2rem; }
.hero-text { max-width: 52ch; font-size: 1.1rem; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--sand); }
.hero-content > * { animation: rise .8s ease both; }
.hero-content > :nth-child(2) { animation-delay: .1s; }
.hero-content > :nth-child(3) { animation-delay: .2s; }
.hero-content > :nth-child(4) { animation-delay: .3s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-alt { background: var(--beige); }
.section-green { background: var(--forest); color: var(--beige); }
.section-green h2, .section-green h3 { color: var(--white); }
.eyebrow { font-weight: 600; font-size: .95rem; color: var(--brown); margin-bottom: .4rem; }
.section-green .eyebrow { color: var(--sand); }
.section-head { max-width: 680px; margin: 0 auto 2.8rem; text-align: center; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-image img { width: 100%; aspect-ratio: 9 / 7; object-fit: cover; border-radius: var(--radius); }

/* Packages */
.package-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.6rem; }
.package-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--sand); border-radius: var(--radius); overflow: hidden; }
.package-card img { width: 100%; height: 190px; object-fit: cover; }
.package-body { display: flex; flex-direction: column; flex: 1; padding: 1.3rem; }
.meta { font-size: .9rem; margin-bottom: .3rem; }
.desc { font-size: .95rem; margin: .6rem 0 1rem; }
.price { font: 700 1.05rem var(--font-body); color: var(--forest); margin-bottom: .4rem; }
.price-tag { display: inline-block; align-self: flex-start; background: #fff1cf; color: var(--brown); font-size: .78rem; font-weight: 600; padding: .2rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.inclusions { margin-bottom: 1.1rem; font-size: .9rem; border-top: 1px solid var(--sand); padding-top: .8rem; }
.inclusions summary { cursor: pointer; font-weight: 600; color: var(--forest); }
.inclusions p { margin: .6rem 0 0; }
.package-body .book-btn { margin-top: auto; }
.pricing-note { max-width: 760px; margin: 2.4rem auto 0; text-align: center; font-size: .95rem; background: var(--white); border-left: 4px solid var(--accent); padding: 1rem 1.3rem; border-radius: 8px; }

/* Destinations */
.dest-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.4rem; }
.dest-card { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; }
.dest-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s; }
.dest-card:hover img { transform: scale(1.05); }
.dest-card figcaption { position: absolute; inset: auto 0 0 0; padding: 3rem 1.2rem 1.2rem; color: var(--white); background: linear-gradient(transparent, rgba(14,40,28,.9)); }
.dest-card h3 { color: var(--white); margin-bottom: .2rem; }
.dest-card p { margin: 0; font-size: .9rem; }

/* Why us */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.4rem; }
.why-card { border: 1px solid rgba(244,236,219,.35); border-radius: var(--radius); padding: 1.6rem; }
.why-card p { margin: 0; font-size: .95rem; }

/* Contact */
.contact-wrap { text-align: center; }
.contact-list { display: grid; gap: .6rem; max-width: 520px; margin: 2.4rem auto 0; text-align: left; background: var(--beige); border-radius: var(--radius); padding: 1.5rem 1.8rem; }

/* Footer */
.site-footer { background: var(--forest-dark); color: var(--beige); padding-top: 3rem; }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.footer-name { font: 700 1.3rem var(--font-head); margin-bottom: .3rem; }
.footer-sub { opacity: .85; font-size: .95rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.copyright { margin-top: 2rem; padding: 1.2rem 0; border-top: 1px solid rgba(244,236,219,.25); font-size: .88rem; }
.copyright p { margin: 0; }

/* Message bar */
.toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; width: min(520px, 92%); transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--forest-dark); color: var(--white); padding: 1rem 1.2rem; border-radius: 10px; font-size: .92rem; box-shadow: 0 8px 24px rgba(0,0,0,.3); transition: opacity .25s, transform .25s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Tablet and phone ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 0; right: 0; background: var(--forest-dark); max-height: 0; overflow: hidden; transition: max-height .3s; }
  .site-nav.open { max-height: 420px; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .5rem 4% 1.2rem; }
  .site-nav a { display: block; padding: .8rem 0; border-bottom: 1px solid rgba(244,236,219,.15); }
  .site-nav .nav-cta { text-align: center; margin-top: .8rem; }
  .about-grid { grid-template-columns: 1fr; }
  .hero { min-height: 78vh; }
  .hero-overlay { background: linear-gradient(180deg, rgba(14,40,28,.55), rgba(14,40,28,.8)); }
  .footer-grid { flex-direction: column; }
}

/* Respect visitors who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
 
    .destination-categories {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 18px;
      margin-top: 35px;
    }

    .destination-category {
      border: 1px solid rgba(0,0,0,.12);
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      background: #fff;
      text-align: left;
      padding: 0;
      font: inherit;
      transition: transform .3s, box-shadow .3s, border-color .3s;
    }

    .destination-category:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 25px rgba(0,0,0,.12);
    }

    .destination-category.active {
      border: 3px solid #b18a52;
      box-shadow: 0 8px 22px rgba(0,0,0,.12);
    }

    .destination-category img {
      width: 100%;
      height: 145px;
      object-fit: cover;
      display: block;
    }

    .category-info {
      padding: 16px;
    }

    .category-info h3 {
      margin: 0 0 7px;
      font-family: 'Playfair Display', serif;
    }

    .category-info p {
      margin: 0;
      font-size: .88rem;
      line-height: 1.6;
    }

    .category-info span {
      display: inline-block;
      margin-top: 10px;
      font-size: .8rem;
      font-weight: 600;
      color: #8a6836;
    }

    .destination-results {
      margin-top: 55px;
      scroll-margin-top: 100px;
    }

    .destination-results-header {
      text-align: center;
      margin-bottom: 30px;
    }

    .destination-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 25px;
    }

    .destination-card {
      border-radius: 12px;
      overflow: hidden;
      background: #fff;
      border: 1px solid rgba(0,0,0,.1);
      box-shadow: 0 5px 20px rgba(0,0,0,.06);
      display: flex;
      flex-direction: column;
    }

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

    .destination-card-content {
      padding: 20px;
      display: flex;
      flex-direction: column;
      flex: 1;
    }

    .destination-card-content h3 {
      font-family: 'Playfair Display', serif;
      margin: 0 0 10px;
    }

    .destination-card-content p {
      font-size: .9rem;
      line-height: 1.7;
      margin: 0 0 15px;
    }

    .destination-location {
      font-size: .82rem;
      color: #777;
      margin-bottom: 15px;
    }

    .destination-card-content .btn {
      margin-top: auto;
      text-align: center;
      cursor: pointer;
      border: none;
      font: inherit;
    }

    .destination-card-content .btn.selected {
      background: #315b45;
    }

    .selection-bar {
      display: none;
      position: sticky;
      bottom: 12px;
      z-index: 20;
      background: #173f35;
      color: #fff;
      padding: 18px;
      border-radius: 12px;
      margin-top: 30px;
      box-shadow: 0 8px 25px rgba(0,0,0,.2);
      align-items: center;
      justify-content: space-between;
      gap: 15px;
      flex-wrap: wrap;
    }

    .selection-bar.visible {
      display: flex;
    }

    .selection-bar p {
      margin: 0;
    }

    .selection-bar button {
      background: #d6a45d;
      color: #172c23;
      border: 0;
      border-radius: 7px;
      padding: 12px 18px;
      font-weight: 600;
      cursor: pointer;
      font: inherit;
    }

    .empty-selection {
      text-align: center;
      padding: 25px;
      color: #777;
    }

    @media(max-width: 600px) {
      .destination-categories {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
      }

      .destination-category img {
        height: 110px;
      }

      .category-info {
        padding: 12px;
      }

      .category-info h3 {
        font-size: 1rem;
      }

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

      .selection-bar {
        bottom: 8px;
      }
    }
  
/* ================================
   REVIEWS PAGE
================================ */

.review-card {
  text-align: center;
  padding: 35px 25px;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.review-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.10);
}

.review-card .feature-icon {
  font-size: 42px;
  margin-bottom: 18px;
}

.review-card h3 {
  margin-bottom: 14px;
}

.review-card p {
  line-height: 1.8;
}

.why-choose-banner {
  position: relative;
  overflow: hidden;
}

.why-banner-content {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.why-banner-content h2 {
  margin-bottom: 18px;
}

.why-banner-content p:not(.eyebrow) {
  line-height: 1.8;
  margin-bottom: 25px;
}

.cta-section {
  text-align: center;
  padding-top: 30px;
  padding-bottom: 30px;
}

.cta-section h2 {
  margin-bottom: 15px;
}

.cta-section p {
  margin-bottom: 25px;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .review-card {
    padding: 28px 20px;
  }

  .why-banner-content {
    padding: 0 10px;
  }
}
/* ================================
   CONTACT PAGE
================================ */

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 20px;
}

.contact-info .feature-card {
  padding: 28px;
}

.contact-info .feature-card a {
  display: inline-block;
  margin-top: 12px;
  color: var(--forest);
  font-weight: 600;
  text-decoration: none;
}

.contact-info .feature-card a:hover {
  text-decoration: underline;
}

.contact-form-wrapper {
  background: #fff;
  padding: 35px;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.08);
}

.contact-form-wrapper h2 {
  margin-bottom: 12px;
}

.contact-form-wrapper > p {
  margin-bottom: 25px;
  line-height: 1.7;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 15px;
  border: 1px solid #d8ded9;
  border-radius: 8px;
  font: inherit;
  background: #fff;
  color: #26332d;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--forest);
  box-shadow: 0 0 0 3px rgba(31, 77, 54, 0.10);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.contact-form-wrapper button {
  width: 100%;
  cursor: pointer;
}

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

  .contact-form-wrapper {
    padding: 25px 20px;
  }
}
