﻿@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
@keyframes float {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-15px) scale(1.02); }
}
@keyframes floatDelay1 {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}
@keyframes floatDelay2 {
  0%, 100% { transform: translateY(-10px); }
  50% { transform: translateY(10px); }
}
@keyframes floatDelay3 {
  0%, 100% { transform: translateY(5px); }
  50% { transform: translateY(-15px); }
}
@keyframes moveSlide {
  0% { transform: translateX(-5px) translateY(0px); }
  50% { transform: translateX(5px) translateY(-10px); }
  100% { transform: translateX(-5px) translateY(0px); }
}
.float-animation {
  animation: float 4s ease-in-out infinite;
}
.float-animation-delay-1 {
  animation: floatDelay1 5s ease-in-out infinite;
}
.float-animation-delay-2 {
  animation: floatDelay2 6s ease-in-out infinite;
}
.float-animation-delay-3 {
  animation: floatDelay3 5.5s ease-in-out infinite;
}
.move-slide-animation {
  animation: moveSlide 5s ease-in-out infinite;
}
@keyframes carousel-slide {
  0% { opacity: 0; }
  10% { opacity: 1; }
  20% { opacity: 1; }
  30% { opacity: 0; }
  100% { opacity: 0; }
}
.carousel-container {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.carousel-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: carousel-slide 64s infinite;
}
.carousel-item:nth-child(1) { animation-delay: 0s; }
.carousel-item:nth-child(2) { animation-delay: 8s; }
.carousel-item:nth-child(3) { animation-delay: 16s; }
.carousel-item:nth-child(4) { animation-delay: 24s; }
.carousel-item:nth-child(5) { animation-delay: 32s; }
.carousel-item:nth-child(6) { animation-delay: 40s; }
.carousel-item:nth-child(7) { animation-delay: 48s; }
.carousel-item:nth-child(8) { animation-delay: 56s; }
.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.3) 0%, rgba(51, 65, 85, 0.2) 100%);
  z-index: 1;
}
.gradient-text {
  background: linear-gradient(135deg, #16a34a 0%, #0ea5e9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.flatpickr-calendar {
  font-family: 'Inter', sans-serif;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
  border: 1px solid #e5e7eb;
}
.flatpickr-day.selected {
  background: #16a34a;
  border-color: #16a34a;
}
.flatpickr-day.today {
  border-color: #16a34a;
}
.flatpickr-day:hover {
  background: #dcfce7;
}
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
html { scroll-behavior: smooth; }
.booking-widget-sticky {
  position: sticky;
  top: 5rem;
}
/* Previously this became `position: fixed; bottom: 0` under 1023px, which
   pinned the ENTIRE booking form (destination, date, travelers, add-ons,
   price breakdown, CTA) to the bottom of the viewport with no height limit
   or internal scrolling — most of the form rendered off-screen above the
   viewport and was unreachable on tablet/mobile. Now it just stays
   position: sticky at all sizes, so it scrolls in-flow with the page like
   the rest of the layout. */

.hero-section {
}

/* Prevent any stray element from causing horizontal scroll/overflow
   on small screens, which is what makes a "sticky" header or widget
   feel like it's not actually staying put on screen. */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}
img {
  max-width: 100%;
  height: auto;
}
.hero-gradient {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
                    url("images/Masai mara by jorge tung.avif");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}
