/* ==================================================================
   Samwel Branzino Safari Kenya - style.css
   Palette: ivory #F7F2E9 | forest #1F3D2B | sienna #B4532A | sand #D9B98A
   Fonts: Fraunces (headings) + Karla (body)
   ================================================================== */

:root {
  --ivory: #F7F2E9;
  --forest: #1F3D2B;
  --forest-deep: #142A1D;
  --sienna: #B4532A;
  --sienna-dark: #8F3F1E;
  --sand: #D9B98A;
  --sand-light: #EBD9BC;
  --charcoal: #232019;
  --grad: linear-gradient(100deg, #1F3D2B 0%, #4E6B3A 30%, #B4532A 65%, #D9B98A 100%);
}

* { box-sizing: border-box; }

body {
  font-family: 'Karla', sans-serif;
  background: var(--ivory);
  color: var(--charcoal);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, .fraunces {
  font-family: 'Fraunces', serif;
  color: var(--forest);
}

/* Gradient section headings */
.grad-heading {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  display: inline-block;
}

.section-kicker {
  font-family: 'Karla', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--sienna);
}

.section-pad { padding: 5rem 0; }

/* ------------------------------------------------------------------
   Topbar
------------------------------------------------------------------ */
.topbar {
  background: var(--forest-deep);
  color: var(--sand-light);
  font-size: 0.85rem;
  padding: 0.45rem 0;
}
.topbar a { color: var(--sand-light); text-decoration: none; margin-right: 1.25rem; }
.topbar a:hover { color: #fff; }
.topbar-social a { margin: 0 0 0 0.9rem; font-size: 1rem; }

/* ------------------------------------------------------------------
   Navbar
------------------------------------------------------------------ */
.main-nav {
  background: rgba(247, 242, 233, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(31, 61, 43, 0.12);
  padding: 0.55rem 0;
}
.brand-logo { height: 52px; width: 52px; object-fit: contain; margin-right: 0.65rem; }
.brand-text {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--forest);
}
.brand-text em { font-style: normal; color: var(--sienna); }
.main-nav .nav-link {
  color: var(--forest);
  font-weight: 600;
  margin: 0 0.35rem;
}
.main-nav .nav-link:hover, .main-nav .nav-link.active { color: var(--sienna); }

.btn-cta {
  background: var(--sienna);
  color: #fff !important;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.5rem 1.35rem;
  border: none;
  transition: background 0.25s, transform 0.25s;
}
.btn-cta:hover { background: var(--sienna-dark); transform: translateY(-2px); }

.btn-outline-forest {
  border: 2px solid var(--forest);
  color: var(--forest);
  font-weight: 700;
  border-radius: 999px;
  padding: 0.5rem 1.35rem;
  transition: all 0.25s;
}
.btn-outline-forest:hover { background: var(--forest); color: var(--ivory); }

/* ------------------------------------------------------------------
   Hero (crossfade carousel)
------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;      /* crop, never skew */
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease;
}
.hero-slide.active { opacity: 1; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 42, 29, 0.35) 0%, rgba(20, 42, 29, 0.72) 100%);
}
.hero-content { position: relative; z-index: 2; }
.hero h1 {
  font-weight: 900;
  font-size: clamp(2.4rem, 6vw, 4.4rem);
  color: #fff;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.35);
}
.hero .lead { color: var(--sand-light); font-size: 1.2rem; max-width: 640px; }

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;      /* crop, never skew */
  background-position: center;
  color: #fff;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 42, 29, 0.15) 0%, rgba(20, 42, 29, 0.8) 100%);
}
.page-hero .container { position: relative; z-index: 2; padding-bottom: 2.5rem; }
.page-hero h1 { color: #fff; font-weight: 900; }
.page-hero .breadcrumb-lite a { color: var(--sand-light); text-decoration: none; }
.page-hero .breadcrumb-lite { color: var(--sand); font-size: 0.9rem; }

/* ------------------------------------------------------------------
   Package cards - uniform portrait crop, never skew
------------------------------------------------------------------ */
.pkg-card {
  background: #fff;
  border: 1px solid rgba(31, 61, 43, 0.1);
  border-radius: 18px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s, box-shadow 0.3s;
}
.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(31, 61, 43, 0.18);
}
.pkg-card-img {
  width: 100%;
  aspect-ratio: 4 / 5;          /* uniform portrait */
  object-fit: cover;            /* crop to fit, never stretch */
  object-position: center;
  display: block;
}
.pkg-card-body { padding: 1.35rem 1.35rem 1.6rem; display: flex; flex-direction: column; flex-grow: 1; }
.pkg-duration {
  display: inline-block;
  background: var(--sand-light);
  color: var(--forest);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 0.7rem;
  align-self: flex-start;
}
.pkg-card h3 { font-size: 1.3rem; font-weight: 700; }
.pkg-card p { font-size: 0.93rem; color: #5a564c; flex-grow: 1; }
.pkg-card .btn { align-self: flex-start; }

/* ------------------------------------------------------------------
   Detail page
------------------------------------------------------------------ */
.detail-intro { font-size: 1.12rem; }

.itinerary { border-left: 3px solid var(--sand); padding-left: 1.75rem; }
.itinerary-item { position: relative; padding-bottom: 1.75rem; }
.itinerary-item::before {
  content: '';
  position: absolute;
  left: -2.36rem;
  top: 0.45rem;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--sienna);
  border: 3px solid var(--ivory);
  box-shadow: 0 0 0 2px var(--sand);
}
.itinerary-label {
  font-family: 'Fraunces', serif;
  font-weight: 700;
  color: var(--sienna);
  font-size: 1.05rem;
}

.info-box {
  background: #fff;
  border: 1px solid rgba(31, 61, 43, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
}
.info-box h4 { font-size: 1.1rem; }
.info-box ul { padding-left: 0; list-style: none; margin-bottom: 0; }
.info-box li { padding: 0.3rem 0; font-size: 0.95rem; }
.info-box .fa-check { color: var(--forest); margin-right: 0.5rem; }
.info-box .fa-xmark { color: var(--sienna); margin-right: 0.5rem; }

.gallery-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;            /* crop, never skew */
  border-radius: 14px;
  display: block;
}

/* ------------------------------------------------------------------
   About / chi sono
------------------------------------------------------------------ */
.about-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 18px 18px 0 var(--sand-light);
}

.stat-num {
  font-family: 'Fraunces', serif;
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--sienna);
  line-height: 1;
}
.stat-label { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--forest); font-weight: 700; }

/* ------------------------------------------------------------------
   Reviews
------------------------------------------------------------------ */
.review-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(31, 61, 43, 0.1);
  padding: 1.75rem;
  height: 100%;
}
.review-card .stars { color: var(--sand); margin-bottom: 0.6rem; }
.review-card .stars .fa-star { color: #D9A441; }
.review-author { font-weight: 700; color: var(--forest); }

/* ------------------------------------------------------------------
   Contact form
------------------------------------------------------------------ */
.contact-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid rgba(31, 61, 43, 0.1);
  padding: 2.25rem;
}
.form-control, .form-select {
  border-radius: 12px;
  border: 1.5px solid rgba(31, 61, 43, 0.2);
  padding: 0.65rem 1rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sienna);
  box-shadow: 0 0 0 0.2rem rgba(180, 83, 42, 0.15);
}
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ------------------------------------------------------------------
   CTA band
------------------------------------------------------------------ */
.cta-band {
  background: var(--forest);
  color: var(--ivory);
  border-radius: 24px;
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.cta-band h2 { color: var(--ivory); }
.cta-band::before {
  content: '';
  position: absolute;
  right: -60px;
  top: -60px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(217, 185, 138, 0.15);
}

/* ------------------------------------------------------------------
   Footer
------------------------------------------------------------------ */
.site-footer {
  background: var(--forest-deep);
  color: rgba(247, 242, 233, 0.8);
  padding: 4rem 0 1.5rem;
  margin-top: 5rem;
}
.footer-logo {
  height: 84px;
  width: 84px;
  object-fit: contain;
  background: var(--ivory);
  border-radius: 50%;
  padding: 6px;
}
.footer-tagline { font-family: 'Fraunces', serif; color: var(--sand); font-size: 1.05rem; }
.footer-title {
  color: var(--sand);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
}
.footer-links { list-style: none; padding: 0; }
.footer-links li { padding: 0.28rem 0; }
.footer-links a { color: rgba(247, 242, 233, 0.8); text-decoration: none; }
.footer-links a:hover { color: #fff; }
.footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(247, 242, 233, 0.1);
  color: var(--sand-light);
  margin-right: 0.5rem;
  text-decoration: none;
  transition: background 0.25s;
}
.footer-social a:hover { background: var(--sienna); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(247, 242, 233, 0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
}
.footer-bottom a { color: var(--sand); text-decoration: none; }

/* ------------------------------------------------------------------
   Floating WhatsApp
------------------------------------------------------------------ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1050;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.9rem;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  animation: wa-bounce 2.4s infinite;
}
.wa-float:hover { color: #fff; }
@keyframes wa-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* ------------------------------------------------------------------
   Responsive
------------------------------------------------------------------ */
@media (max-width: 767px) {
  .section-pad { padding: 3.25rem 0; }
  .hero { min-height: 72vh; }
  .cta-band { padding: 2rem; }
  .about-img { box-shadow: 10px 10px 0 var(--sand-light); }
}
