/* ===================================================
   SAFARI IN KENYA CON LEMMY — lemmy.css
   Palette: Ochre, Forest Green, Cream, Dark Brown
=================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;0,900;1,400;1,700&family=Lato:wght@300;400;700&display=swap');

/* --- CSS Variables --- */
:root {
  --ochre:       #C8861A;
  --ochre-dark:  #A06810;
  --ochre-light: #E8A83A;
  --green:       #2D5016;
  --green-mid:   #3D6B20;
  --green-light: #5A8A35;
  --cream:       #F5EDD8;
  --cream-dark:  #E8D9B8;
  --brown:       #3B1F0A;
  --brown-mid:   #5C3317;
  --white:       #FDFAF4;
  --text-dark:   #2A1505;
  --text-mid:    #5C3317;
  --shadow:      rgba(59, 31, 10, 0.18);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--white);
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  color: var(--brown);
  line-height: 1.2;
}

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

/* --- Utility --- */
.section-pad   { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }
.text-ochre    { color: var(--ochre); }
.text-green    { color: var(--green); }
.text-cream    { color: var(--cream); }
.bg-cream      { background-color: var(--cream); }
.bg-brown      { background-color: var(--brown); }
.bg-green      { background-color: var(--green); }

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.4rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--ochre);
  margin-top: 12px;
}

.section-title.centered::after { margin-left: auto; margin-right: auto; }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-mid);
  margin-top: 8px;
  font-style: italic;
  font-family: 'Playfair Display', serif;
}

/* ===================================================
   NAVBAR
=================================================== */
#mainNav {
  background: rgba(43, 20, 5, 0.95);
  backdrop-filter: blur(6px);
  padding: 0;
  transition: background 0.3s ease;
  border-bottom: 2px solid var(--ochre);
}

#mainNav.scrolled {
  background: rgba(43, 20, 5, 1);
  box-shadow: 0 4px 20px var(--shadow);
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  padding: 10px 0;
}

.navbar-brand .brand-main {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ochre-light);
  letter-spacing: 0.5px;
}

.navbar-brand .brand-sub {
  font-size: 0.65rem;
  color: var(--cream-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.navbar-nav .nav-link {
  color: var(--cream) !important;
  font-family: 'Lato', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 28px 14px !important;
  position: relative;
  transition: color 0.3s;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--ochre);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--ochre-light) !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-toggler {
  border: 1px solid var(--ochre);
  padding: 4px 8px;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28200,134,26,1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Dropdown */
.dropdown-menu {
  background: var(--brown);
  border: 1px solid var(--ochre);
  border-radius: 0;
  padding: 6px 0;
  min-width: 240px;
}

.dropdown-item {
  color: var(--cream) !important;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  padding: 9px 18px;
  transition: background 0.2s, color 0.2s;
}

.dropdown-item:hover {
  background: var(--ochre);
  color: var(--white) !important;
}

.dropdown-divider { border-color: var(--brown-mid); }

/* ===================================================
   HERO CAROUSEL
=================================================== */
#heroCarousel {
  height: 100vh;
  min-height: 600px;
}

.carousel-item, .hero-slide {
  height: 100vh;
  min-height: 600px;
  position: relative;
}

.hero-slide {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(43, 20, 5, 0.35) 0%,
    rgba(43, 20, 5, 0.55) 50%,
    rgba(43, 20, 5, 0.75) 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ochre-light);
  border: 1px solid var(--ochre);
  padding: 5px 18px;
  margin-bottom: 22px;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  opacity: 0;
  transform: translateY(20px);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(30px);
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--cream);
  font-style: italic;
  font-family: 'Playfair Display', serif;
  max-width: 600px;
  opacity: 0;
  transform: translateY(20px);
}

/* Slide backgrounds using Unsplash (free, no key needed) */
.slide-1 { background-image: url('../../lemmy/38.jpeg'); }
.slide-2 { background-image: url('../../lemmy/100.jpeg'); }
.slide-3 { background-image: url('../../lemmy/134.jpeg'); }
.slide-4 { background-image: url('../../lemmy/118.jpeg'); }
.slide-5 { background-image: url('../../lemmy/104.jpeg'); }

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--ochre);
  border-radius: 50%;
  padding: 20px;
  background-size: 50%;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--cream);
  border: none;
  opacity: 0.5;
  margin: 0 5px;
}

.carousel-indicators [data-bs-target].active { background-color: var(--ochre); opacity: 1; }

/* Scroll arrow */
.scroll-down {
  position: absolute;
  bottom: 35px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  color: var(--cream);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounceDown 2s infinite;
}

.scroll-down i { font-size: 1.2rem; color: var(--ochre); }

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

/* ===================================================
   INTRO / CHI SIAMO
=================================================== */
.intro-section { background: var(--cream); }

.intro-section .lead-text {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--text-mid);
  line-height: 1.9;
}

.intro-section .stat-box {
  text-align: center;
  padding: 24px 16px;
  border-left: 3px solid var(--ochre);
  background: var(--white);
  box-shadow: 0 4px 20px var(--shadow);
}

.intro-section .stat-box .stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--ochre);
  line-height: 1;
}

.intro-section .stat-box .stat-label {
  font-size: 0.78rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-top: 6px;
  font-weight: 700;
}

.lemmy-portrait {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 3/4;
  object-fit: cover;
  border: 5px solid var(--cream-dark);
  box-shadow: 12px 12px 0 var(--ochre);
}

/* ===================================================
   PROGRAMS GRID
=================================================== */
.programs-section { background: var(--white); }

.program-card {
  border: none;
  border-radius: 0;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 4px 24px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(59,31,10,0.22);
}

.program-card .card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
}

.program-card .card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.program-card:hover .card-img-wrap img { transform: scale(1.06); }

.program-card .card-tag {
  position: absolute;
  top: 14px;
  left: 0;
  background: var(--ochre);
  color: var(--white);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 14px;
}

.program-card .card-tag.excursion { background: var(--green); }

.program-card .card-body { padding: 22px; }

.program-card .card-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--brown);
}

.program-card .card-text {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.6;
  margin-bottom: 16px;
}

.program-card .card-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--ochre-dark);
  font-weight: 700;
  border-top: 1px solid var(--cream-dark);
  padding-top: 14px;
  margin-bottom: 16px;
}

.program-card .card-meta i { margin-right: 4px; }

.btn-safari {
  display: inline-block;
  background: var(--ochre);
  color: var(--white);
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 10px 24px;
  border: 2px solid var(--ochre);
  transition: background 0.3s, color 0.3s;
  font-family: 'Lato', sans-serif;
}

.btn-safari:hover {
  background: transparent;
  color: var(--ochre);
}

.btn-safari.green {
  background: var(--green);
  border-color: var(--green);
}

.btn-safari.green:hover {
  background: transparent;
  color: var(--green);
}

/* Section tabs (safari vs escursioni) */
.programs-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 50px;
  border-bottom: 2px solid var(--cream-dark);
}

.prog-tab {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 32px;
  color: var(--text-mid);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color 0.3s, border-color 0.3s;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.prog-tab.active { color: var(--ochre); border-bottom-color: var(--ochre); }
.prog-tab:hover  { color: var(--ochre); }

/* ===================================================
   WHY US / PERCHÉ LEMMY
=================================================== */
.why-section { background: var(--green); }

.why-item {
  text-align: center;
  padding: 30px 20px;
}

.why-item .why-icon {
  font-size: 2.4rem;
  color: var(--ochre-light);
  margin-bottom: 16px;
}

.why-item h4 {
  font-size: 1.1rem;
  color: var(--cream);
  margin-bottom: 10px;
}

.why-item p {
  font-size: 0.9rem;
  color: rgba(245,237,216,0.8);
  line-height: 1.7;
}

/* ===================================================
   DESTINATIONS STRIP
=================================================== */
.destinations-strip { background: var(--cream); }

.dest-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  cursor: default;
}

.dest-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.dest-thumb:hover img { transform: scale(1.08); }

.dest-thumb .dest-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(43,20,5,0.85));
  color: var(--cream);
  font-family: 'Playfair Display', serif;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 30px 12px 10px;
  text-align: center;
}

/* ===================================================
   TESTIMONIALS
=================================================== */
.testimonials-section { background: var(--brown); }

.testimonial-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(200,134,26,0.3);
  padding: 32px 28px;
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  color: var(--ochre);
  position: absolute;
  top: -10px;
  left: 20px;
  line-height: 1;
  opacity: 0.5;
}

.testimonial-card p {
  color: var(--cream);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.testimonial-card .t-author {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--ochre-light);
  font-weight: 700;
}

/* ===================================================
   CTA BAND
=================================================== */
.cta-band {
  background: var(--ochre);
  padding: 60px 0;
}

.cta-band h2 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.cta-band p {
  color: rgba(255,255,255,0.85);
  font-size: 1rem;
}

.btn-cta-white {
  display: inline-block;
  background: var(--white);
  color: var(--ochre);
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 36px;
  border: 2px solid var(--white);
  transition: background 0.3s, color 0.3s;
}

.btn-cta-white:hover {
  background: transparent;
  color: var(--white);
}

/* ===================================================
   FOOTER
=================================================== */
#footer {
  background: var(--brown);
  color: var(--cream-dark);
  padding: 60px 0 0;
}

#footer .footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ochre-light);
  margin-bottom: 10px;
}

#footer .footer-tagline {
  font-size: 0.8rem;
  color: rgba(245,237,216,0.6);
  font-style: italic;
  margin-bottom: 20px;
}

#footer h6 {
  font-size: 0.7rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--ochre);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  margin-bottom: 16px;
}

#footer ul { list-style: none; padding: 0; }

#footer ul li {
  margin-bottom: 8px;
}

#footer ul li a {
  font-size: 0.88rem;
  color: rgba(245,237,216,0.7);
  transition: color 0.3s;
}

#footer ul li a:hover { color: var(--ochre-light); }

#footer .contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.88rem;
  color: rgba(245,237,216,0.75);
}

#footer .contact-item i {
  color: var(--ochre);
  font-size: 1rem;
  width: 18px;
  flex-shrink: 0;
}

.footer-bottom {
  margin-top: 50px;
  border-top: 1px solid rgba(200,134,26,0.2);
  padding: 18px 0;
  font-size: 0.75rem;
  color: rgba(245,237,216,0.4);
}

.social-icons { display: flex; gap: 12px; margin-top: 18px; }

.social-icons a {
  width: 38px;
  height: 38px;
  border: 1px solid var(--ochre);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ochre-light);
  font-size: 0.9rem;
  transition: background 0.3s, color 0.3s;
}

.social-icons a:hover {
  background: var(--ochre);
  color: var(--white);
}

/* ===================================================
   PROGRAM DETAIL PAGE
=================================================== */
.page-hero {
  height: 55vh;
  min-height: 380px;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(43,20,5,0.3) 0%, rgba(43,20,5,0.8) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding-bottom: 50px;
}

.page-hero-content .page-tag {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ochre-light);
  font-weight: 700;
  margin-bottom: 10px;
}

.page-hero-content h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.detail-body { padding: 60px 0; }

.detail-body .detail-intro {
  font-size: 1.08rem;
  color: var(--text-mid);
  line-height: 1.9;
  font-style: italic;
  margin-bottom: 36px;
  border-left: 3px solid var(--ochre);
  padding-left: 20px;
}

.itinerary-day {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--cream-dark);
}

.itinerary-day:last-child { border-bottom: none; }

.day-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--ochre);
  line-height: 1;
  min-width: 60px;
}

.day-content h5 {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 6px;
}

.day-content p {
  font-size: 0.9rem;
  color: var(--text-mid);
}

.info-box {
  background: var(--cream);
  padding: 28px;
  border-left: 4px solid var(--ochre);
}

.info-box h4 {
  font-size: 1rem;
  margin-bottom: 14px;
  color: var(--brown);
}

.info-box ul {
  list-style: none;
  padding: 0;
}

.info-box ul li {
  font-size: 0.88rem;
  color: var(--text-mid);
  padding: 6px 0;
  border-bottom: 1px solid var(--cream-dark);
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.info-box ul li i { color: var(--ochre); margin-top: 3px; flex-shrink: 0; }

.contact-sidebar {
  background: var(--brown);
  padding: 28px;
}

.contact-sidebar h4 {
  color: var(--ochre-light);
  margin-bottom: 16px;
  font-size: 1.2rem;
}

.contact-sidebar p {
  color: rgba(245,237,216,0.8);
  font-size: 0.88rem;
  margin-bottom: 20px;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #25D366;
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 20px;
  transition: opacity 0.3s;
  margin-bottom: 12px;
}

.btn-whatsapp:hover { opacity: 0.88; color: var(--white); }

.btn-email {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ochre);
  color: var(--white);
  font-family: 'Lato', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 14px 20px;
  transition: opacity 0.3s;
}

.btn-email:hover { opacity: 0.88; color: var(--white); }

/* ===================================================
   CONTACT PAGE
=================================================== */
.contact-section { background: var(--cream); }

.contact-form-wrap { background: var(--white); padding: 40px; box-shadow: 0 4px 30px var(--shadow); }

.form-control {
  border: 1px solid var(--cream-dark);
  border-radius: 0;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
}

.form-control:focus {
  border-color: var(--ochre);
  box-shadow: 0 0 0 3px rgba(200,134,26,0.15);
}

.form-label {
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--text-mid);
}

/* ===================================================
   IMPORTANT INFO PAGE
=================================================== */
.info-section { background: var(--white); }

.info-card {
  background: var(--cream);
  padding: 30px;
  border-top: 3px solid var(--ochre);
  margin-bottom: 24px;
}

.info-card h4 {
  font-size: 1.05rem;
  color: var(--brown);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.info-card h4 i { color: var(--ochre); font-size: 1.1rem; }

.info-card p, .info-card li {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

.info-card ul { padding-left: 18px; }

/* ===================================================
   RESPONSIVE
=================================================== */
@media (max-width: 991px) {
  .navbar-nav .nav-link { padding: 12px 16px !important; }
  .navbar-nav .nav-link::after { bottom: 6px; }
  #mainNav { background: rgba(43,20,5,1); }
}

@media (max-width: 767px) {
  .section-pad { padding: 55px 0; }
  #heroCarousel, .carousel-item, .hero-slide { height: 85vh; min-height: 500px; }
  .hero-title { font-size: 2rem; }
  .prog-tab { padding: 12px 18px; font-size: 0.72rem; }
}

/* ── WhatsApp Floating Button ── */
.wa-float {
  position: fixed;
  bottom: 30px;
  right: 28px;
  z-index: 9999;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  animation: waBounce 2.2s infinite;
  transition: transform 0.2s;
}

.wa-float i { font-size: 1.7rem; color: #fff; }

.wa-float:hover { animation: none; transform: scale(1.12); }

@keyframes waBounce {
  0%, 100% { transform: translateY(0); }
  40%       { transform: translateY(-10px); }
  60%       { transform: translateY(-5px); }
}