/* ===== VARIABLES ===== */
:root {
  /* Maasai Colors */
  --maasai-red: #C3272B;       /* Deep red */
  --maasai-orange: #E68364;    /* Sunset orange */
  --maasai-blue: #1E88C7;      /* Sky blue */
  --maasai-yellow: #F9C80E;    /* Golden yellow */
  
  /* Safari Neutrals */
  --earth-brown: #6B4423;      /* Earthy brown */
  --sand-beige: #E1C7A8;       /* Warm sand */
  --accent-gold: #D4AF37;      /* Gold for luxury */
  
  /* Backgrounds */
  --light-bg: #F7F3E9;         /* Creamy sand */
  --dark-bg: #2C2721;          /* Dark earth */
  
  /* Other Variables */
  --white: #ffffff;
  --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  --transition-speed: 0.3s;
}

/* ===== TYPOGRAPHY ===== */
body {
  font-family: 'Lato', sans-serif;
  font-size:  18px; /* Changed from 16px to 18px */
  line-height: 1.6;
  color: var(--earth-brown);
  background-color: var(--light-bg);
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

h1 {
  color: var(--accent-gold);
}

h2 {
  color: var(--earth-brown);
}

h3, h4, h5, h6 {
  color: var(--earth-brown);
}

/* Swahili Text Styling */
.swahili {
  font-style: italic;
  color: var(--accent-gold);
}

/* Combined Effect for Lower Headers */
.header-highlight {
  font-size: 1.5rem; /* Adjust size as needed */
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--white);
  background-color: var(--maasai-red); /* Highlight color */
  padding: 0.3rem 0.8rem;
  border-radius: 5px; /* Rounded corners */
  display: inline-block; /* Ensure the background wraps the text */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Shadow for depth */
  margin-bottom: 1rem; /* Add spacing below */
}

/* ===== HERO SECTION ===== */
.hero-section {
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), 
              url('../images/hero-image.webp') center/cover no-repeat;
  min-height: 100vh;
  width: 100vw;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
}

.hero-section .hero-video,
.hero-section .hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
}

.hero-content {
  animation: fadeInUp 1s ease;
}

/* Engraved Heading Effect */
.hero-content h1 {
  font-size: 2.5rem; /* Reduced size */
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--accent-gold);
  text-shadow:
    2px 2px 8px rgba(0,0,0,0.85),   /* Strong dark shadow */
    0 4px 16px rgba(0,0,0,0.7);     /* Extra depth */
  margin-bottom: 1rem;
}

.hero-content .lead {
  font-size: 1.8rem; /* Increase font size for subtitle */
  font-family: 'Cormorant Garamond', serif;
  color: var(--white);
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-bottom: 2rem;
}

.hero-content a.btn {
  font-size: 1.2rem;
  padding: 0.8rem 2rem;
  background: var(--maasai-red);
  color: var(--white);
  border: none;
  border-radius: 5px;
  text-transform: uppercase;
  font-weight: bold;
  transition: all 0.3s ease;
}

.hero-content a.btn:hover {
  background: #9A1F22; /* Darker red on hover */
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Make only the index hero h1 white */
body#index-page .hero-section h1,
.hero-section h1 {
  color: #fff !important;
}

.hero-logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 0.5rem;
  transition: box-shadow 0.3s, filter 0.3s, transform 0.3s;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.18); /* subtle gold glow */
  border-radius: 12px;
  position: relative;
  z-index: 2;
}

.hero-logo:hover, .hero-logo:focus {
  box-shadow: 0 0 16px 4px var(--accent-gold), 0 2px 16px rgba(212, 175, 55, 0.25);
  filter: brightness(1.08) drop-shadow(0 0 8px var(--accent-gold));
  transform: scale(1.07) rotate(-2deg);
}

/* Shine animation */
.header-logo-shine {
  position: relative;
  overflow: hidden;
}
.header-logo-shine::after {
  content: '';
  position: absolute;
  top: 0; left: -75%;
  width: 50%; height: 100%;
  background: linear-gradient(120deg, rgba(255,255,255,0.0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0.0) 100%);
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none;
}
.header-logo-shine:hover::after, .header-logo-shine:focus::after {
  animation: logo-shine-move 1.1s cubic-bezier(.4,.7,.7,1) 1;
}
@keyframes logo-shine-move {
  0% { left: -75%; }
  60% { left: 110%; }
  100% { left: 110%; }
}

/* ===== BUTTONS ===== */
.btn-primary,
.btn-book,
.btn-warning,
.btn-accent {
  background: linear-gradient(90deg, #4e9f3d 0%, #1e5128 100%) !important;
  color: #ffffff !important;
  border: none !important;
  padding: 0.55rem 1.2rem !important;
  font-weight: 800 !important;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(30,81,40,0.18);
  transition: background 0.18s ease, color 0.18s ease, transform 0.12s ease;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active,
.btn-book:hover,
.btn-book:focus,
.btn-book:active,
.btn-warning:hover,
.btn-warning:focus,
.btn-warning:active {
  background: linear-gradient(90deg, #d9534f 0%, #c3272b 100%) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217,83,79,0.16);
}

/* Safari Neutrals */
.btn-safari {
  background: var(--sand-beige);
  color: var(--earth-brown);
  border: 2px solid var(--earth-brown);
}

.btn-safari:hover {
  background: var(--earth-brown);
  color: var(--white);
}

/* Beaded (stylish) button styles for Eden Resort */
.btn-beaded {
  position: relative;
  display: inline-block;
  padding: 0.6em 2.2em;
  font-family: 'Lato', Arial, sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  background: linear-gradient(90deg, #b8894b 0%, #a67c52 100%);
  border: none;
  border-radius: 999px;
  box-shadow: 0 2px 12px rgba(174, 139, 81, 0.12);
  transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
  outline: none;
  cursor: pointer;
  letter-spacing: 0.03em;
  overflow: hidden;
}
.btn-beaded:before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 2em;
  border: 2px dotted #fff8dc;
  pointer-events: none;
  box-sizing: border-box;
}
.btn-beaded:hover, .btn-beaded:focus {
  background: linear-gradient(90deg, #a67c52 0%, #b8894b 100%);
  box-shadow: 0 4px 20px rgba(174, 139, 81, 0.18);
  transform: translateY(-2px) scale(1.03);
}
.btn-beaded:active {
  background: linear-gradient(90deg, #8d6e3a 0%, #b8894b 100%);
  box-shadow: 0 2px 8px rgba(174, 139, 81, 0.10);
  transform: scale(0.98);
}

/* Accent buttons: green -> red on hover for Book Now and page buttons */
.btn-book,
.btn-accent,
.btn-primary {
  --accent-green: #28a745; /* adjust green */
  --accent-red:   #d9534f; /* adjust hover red */
  background-color: var(--accent-green);
  border-color: var(--accent-green);
  color: #fff;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .12s ease;
  box-shadow: 0 6px 18px rgba(40,167,69,0.12);
}

.btn-book:hover,
.btn-accent:hover,
.btn-primary:hover {
  background-color: #c41e3a; /* Eden red */
  border-color: #c41e3a;
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(217,83,79,0.14);
}

/* Outline variant uses green border and turns red on hover */
.btn-outline-primary {
  color: var(--accent-green);
  border-color: var(--accent-green);
  background-color: transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn-outline-primary:hover {
  background-color: var(--accent-red);
  color: #fff;
  border-color: var(--accent-red);
}

/* Small accessibility tweak: keep focus visible */
.btn-book:focus,
.btn-primary:focus,
.btn-outline-primary:focus {
  outline: 3px solid rgba(40,167,69,0.18);
  outline-offset: 2px;
}

/* ===== CULTURAL TOUCHES ===== */
.section-divider {
  height: 20px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 120" preserveAspectRatio="none"><path d="M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z" opacity=".25" fill="%23C3272B"/></svg>');
  margin: 2rem 0;
}

.testimonial-card {
  border-left: 5px solid var(--maasai-red);
  background: var(--white);
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
}

.testimonial-card::before {
  content: "”";
  font-size: 5rem;
  color: var(--maasai-red);
  opacity: 0.2;
  position: absolute;
  top: 10px;
  right: 20px;
}

/* ===== GALLERY ===== */
.gallery-item {
  border: 3px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.03);
  border-color: var(--maasai-red);
}

/* ===== RESPONSIVENESS ===== */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
}

/* ===== GENERAL PAGE STYLES ===== */
/* Reset body and header margins/padding */
body {
  margin: 0;
  padding: 0; /* Remove padding-top */
}

header, #header-container {
  margin: 0;
  padding: 0;
}

/* Main headings (h1, h2) in gold */
h1, h2 {
  color: gold;
}

/* Lesser headings (h3, h4, h5, h6) with adaptive color */
h3, h4, h5, h6 {
  color: #333; /* Dark color for light backgrounds */
}

/* Optional: Adjust heading colors for dark backgrounds */
body.dark-theme h3, 
body.dark-theme h4, 
body.dark-theme h5, 
body.dark-theme h6 {
  color: #f8f9fa; /* Light color for dark backgrounds */
}

/* ===== HIGHLIGHTS & BOOKING SECTION ===== */
.highlights-section, .booking-section {
  background-color: var(--white);
  padding: 4rem 0;
}

.highlights-section {
  background-color: rgba(255, 255, 255, 0.8);
}

/* ===== MOBILE MENU ANIMATIONS ===== */
@media (max-width: 991.98px) {
  .navbar-collapse {
    transition: all 0.4s ease;
    overflow: hidden;
  }
  .navbar-collapse:not(.show) {
    max-height: 0 !important;
    display: block !important;
    opacity: 0;
  }
  .navbar-collapse.show {
    max-height: 100vh;
    opacity: 1;
  }
  .nav-item {
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
  }
  .navbar-collapse.show .nav-item {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== LOADING SCREEN ===== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.3);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ===== ACCESSIBILITY: SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--dark-gray);
  color: var(--white);
  padding: 8px;
  z-index: 100;
  transition: top 0.3s;
}

.skip-link:focus {
  top: 0;
}
/* ===== BOOKING FORM STYLES ===== */
.booking-form {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.booking-form h2 {
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: #343a40;
  text-align: center;
}

.booking-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #495057;
}

.booking-form input,
.booking-form select,
.booking-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1.5rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 1rem;
  background-color: #fdfdfd;
}

.booking-form textarea {
  resize: vertical;
  min-height: 100px;
}

.booking-form button[type="submit"] {
  width: 100%;
  background-color: var(--accent-color);
  color: var(--white);
  padding: 0.75rem;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background var(--transition-speed) ease;
}

.booking-form button[type="submit"]:hover {
  background-color: #c19b2e;
}

/* Change "Book Now" button to red */
.btn-primary {
  background-color: red !important;
  border-color: red !important;
}

/* Booking Form */
.booking-form {
  background: rgba(255, 255, 255, 0.9); /* Semi-transparent white background */
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  max-width: 800px;
  width: 100%;
  color: var(--earth-brown); /* Ensure text is visible */
}

.booking-form .form-label {
  color: var(--earth-brown); /* Dark text for labels */
  font-weight: bold;
}

.booking-form input,
.booking-form textarea {
  color: var(--earth-brown); /* Dark text for input fields */
  border: 1px solid #ced4da;
  border-radius: 5px;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: #6c757d; /* Subtle placeholder text */
}

.booking-form button {
  background: var(--maasai-red);
  color: var(--white);
  font-size: 1.2rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.booking-form button:hover {
  background: #9A1F22; /* Darker red on hover */
}

/* Booking Title */
.booking-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white); /* Ensure the title is visible over the background */
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5); /* Add a shadow for better readability */
  margin-bottom: 2rem;
}

/* ===== ENHANCED FLOATING WIDGET ===== */
.floating-widget {
  position: fixed;
  bottom: 30px; /* Distance from the bottom */
  right: 30px; /* Position it on the right */
  z-index: 9999; /* Ensure it appears above other elements */
  display: block; /* Ensure it is visible */
  animation: fadeIn 0.8s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

.chat-toggle {
  display: none;
}

.chat-btn {
  width: 60px;
  height: 60px;
  background: linear-gradient(90deg, var(--eden-green-light), var(--eden-green)) !important;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all var(--transition-speed) ease;
  font-size: 1.5rem;
}

.chat-btn:hover {
  background: linear-gradient(90deg, var(--eden-green), var(--eden-green-light)) !important;
  color: var(--white);
  transform: scale(1.1);
}

/* To use blue instead, comment out the line above and uncomment below: */
/* background: var(--maasai-blue); */
.chat-options {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 200px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.chat-toggle:checked ~ .chat-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.chat-option {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s ease;
}

.chat-option:hover {
  background: #f8f9fa;
}

.chat-option i {
  margin-right: 10px;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.chat-option.whatsapp i { color: #25D366; }
.chat-option.phone i { color: #007bff; }
.chat-option.email i { color: #6c757d; }

/* Change chat button to red */
.floating-widget .chat-toggle {
  background-color: red !important;
  border-color: red !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .floating-widget {
    bottom: 20px;
    left: 20px;
    display: block; /* Ensure it is visible */
  }
  .chat-btn {
    width: 50px; /* Adjust size for smaller screens */
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Gallery Section Styles */
.gallery-section {
  padding: 4rem 0;
  background: var(--light-gray); /* Light gray background */
}

.gallery-section h2 {
  margin-top: 0; /* Remove unnecessary space above the header */
}

.gallery-container {
  min-height: 60vh; /* Ensure space is visible */
}

.gallery-item {
  margin-bottom: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

.event-card {
  transition: all var(--transition-speed) ease;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
}
.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.event-img {
  height: 250px;
  object-fit: cover;
}
.capacity-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
}
.amenities-list {
  list-style-type: none;
  padding-left: 0;
}
.amenities-list li {
  padding: 4px 0;
}
.amenities-list li i {
  width: 20px;
  text-align: center;
  margin-right: 8px;
  color: var(--secondary-color);
}
.package-card {
  border-left: 4px solid var(--primary-color);
}

/* ===== Accommodation Page Styles ===== */
.accommodation-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.accommodation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.accommodation-img {
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

.price-badge {
  font-size: 1.1rem;
  background-color: #f8f9fa;
  color: #212529;
}

.amenities-list {
  list-style-type: none;
  padding-left: 0;
}

.amenities-list li {
  padding: 4px 0;
}

.amenities-list li i {
  width: 20px;
  text-align: center;
  margin-right: 8px;
  color: #6c757d;
}

/* ===== Blog Section Styles ===== */
.blog-header {
  margin-bottom: 2rem;
}

/* Blog Card Layout */
.blog-card {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-img-container {
  flex: 0 0 auto;
}

.blog-card-body {
  flex: 1 1 auto;
}

.blog-card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

/* Scope all blog styles under .blog-section */
.blog-section .blog-card {
  background: var(--white);
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  transition: transform var(--transition-speed), box-shadow var(--transition-speed);
}

.blog-section .blog-img-container {
  max-height: 250px;
  overflow: hidden;
}

.blog-section .blog-img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ===== Blog Image Styles ===== */
.blog-img-container {
  overflow: hidden;
  max-height: 300px; /* Adjust as needed */
}

.blog-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-img {
  transform: scale(1.03); /* Adds a subtle zoom effect on hover */
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .blog-img {
    height: 150px; /* Reduce height for smaller screens */
  }
}

.blog-img-container {
  position: relative;
  overflow: hidden; /* Ensures images do not overflow their container */
  border-radius: 8px; /* Optional: Adds rounded corners */
}

.blog-img {
  width: 100%; /* Ensures the image scales to fit the container width */
  height: 200px; /* Sets a fixed height for consistency */
  object-fit: cover; /* Ensures the image covers the container without distortion */
  display: block; /* Removes inline spacing issues */
}

.blog-card-body {
  padding: 1.5rem;
}

.blog-meta {
  font-size: 0.9rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.blog-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.blog-excerpt {
  font-size: 1rem;
  color: #555;
  margin-bottom: 1.5rem;
}

.read-more {
  background: var(--primary-color);
  color: var,--white;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background var(--transition-speed);
}

.read-more:hover {
  background: #0056b3;
}

/* Featured post image */
.featured-post .blog-img-container {
  max-height: 100%; /* Adjust this value as needed */
  overflow: hidden; /* Ensures any excess image is cropped */
}

.featured-post .blog-img {
  width: 100%; /* Ensures the image scales to fit the container width */
  height: auto; /* Maintains the aspect ratio */
  object-fit: cover; /* Ensures the image fills the container without distortion */
}

/* Responsive Adjustment */
@media (max-width: 768px) {
  .featured-post .blog-img-container {
    max-height: 350px; /* Reduce height for smaller screens */
  }
}

/* Regular post images */
.blog-card .blog-img-container {
  max-height: 250px;
}

@media (max-width: 768px) {
  .featured-post .blog-img-container {
    max-height: 350px;
  }
  
  .blog-card .blog-img-container {
    max-height: 200px;
  }
}

/* Newsletter Section */
.newsletter-section {
  background: var(--light-gray);
  padding: 2rem;
}

.newsletter-section h3 {
  font-size: 1.8rem;
  font-weight: bold;
}

.newsletter-section p {
  font-size: 1rem;
  color: #555;
}

.newsletter-section .form-control {
  border-radius: 4px;
}

.newsletter-section .btn {
  background: var(--accent-color);
  color: var(--white);
  border-radius: 4px;
}

.newsletter-section .btn:hover {
  background: #c19b2e;
}

/* Optional: Customize buttons */
.btn {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
}

/* Footer h5 styling */
footer h5 {
  color: gold; /* Set the color to gold */
}

/* Responsive Map Container */
.map-responsive {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
  border-radius: 10px; /* Optional: Add rounded corners */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Optional: Add shadow for better appearance */
}

.map-responsive iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* Remove iframe border */
}

/* Embossed 3D Wooden Heading Styles */
.wooden-heading {
  background: url('../images/wood-bg.webp') center/cover no-repeat;
  color: #fffbe6;
  padding: 1rem 2rem;
  border-radius: 16px;
  box-shadow:
    0 4px 12px rgba(60, 40, 10, 0.25), /* outer shadow */
    inset 0 2px 8px rgba(255,255,255,0.18), /* top inner light */
    inset 0 -4px 16px rgba(60, 40, 10, 0.35); /* bottom inner shadow */
  text-shadow:
    1px 2px 2px #7a5c2e, /* dark shadow for emboss */
    0 1px 0 #fffbe6,     /* highlight */
    0 2px 6px #000;      /* deep shadow */
  font-family: 'Playfair Display', serif;
  letter-spacing: 1px;
  margin-bottom: 2rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* Responsive adjustment */
@media (max-width: 600px) {
  .wooden-heading {
    padding: 0.7rem 1rem;
    font-size: 1.3rem;
  }
}

/* Testimonial Carousel Card Spacing */
#testimonialCarousel .card {
  margin-bottom: 1.5rem;
}

.navbar-wood {
  position: relative;
  background: rgba(233, 228, 213, 0.97); /* Use light earthy shade instead */
  background-size: cover;
  z-index: 1;
}
.navbar-wood::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* no background image — use a subtle translucent earthy tint instead */
  background: linear-gradient(to top, rgba(233,228,213,0.15), rgba(233,228,213,0.15));
  z-index: -1;
  pointer-events: none;
  filter: none;
}
.navbar-wood .container,
.navbar-wood .navbar-nav,
.navbar-wood .navbar-brand,
.navbar-wood .nav-link,
.navbar-wood .btn {
  position: relative;
  z-index: 3;
}

/* Make navbar links white and larger */
.navbar-wood .nav-link {
  color: #fff !important;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.25);
  transition: color 0.2s, text-shadow 0.2s, background 0.2s;
  border-radius: 999px;
  padding: 0.3em 1.1em;
}

/* Highlight on hover: add background and color change */
.navbar-wood .nav-link:hover,
.navbar-wood .nav-link:focus {
  color: #fff !important;
  background: var(--maasai-red) !important;
  text-shadow: 0 2px 8px #000, 0 0 10px #ffe082;
  box-shadow: 0 2px 8px rgba(195,39,43,0.12);
}

/* Make the "Book Now" button in the header green with white text for maximum visibility */
.navbar-wood .btn-warning,
header .btn-warning,
#header-container .btn-warning {
  background: linear-gradient(90deg, var(--eden-green-light), var(--eden-green)) !important;
  color: #ffffff !important;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s, color 0.2s;
}

/* ADDED: Override header link colors specifically for buttons */
.navbar-wood .btn-warning,
header .btn-warning,
#header-container .btn-warning {
  color: #ffffff !important;
}

.navbar-wood .btn-warning:hover,
header .btn-warning:hover,
#header-container .btn-warning:hover {
  background: linear-gradient(90deg, var(--eden-green), var(--eden-green-light)) !important;
  color: #ffffff !important;
}

/* Headings */
h1, .wooden-heading {
  color: var(--accent-gold);
}
h2, h3, h4, h5, h6 {
  color: var(--earth-brown);
}

/* Body text */
body {
  color: var(--earth-brown);
}

/* Buttons */
.btn-primary,
.booking-form button,
.navbar-wood .btn-warning {
  background: var(--maasai-red) !important;
  color: var,--white !important;
  border: none;
}
.btn-primary:hover,
.booking-form button:hover,
.navbar-wood .btn-warning:hover {
  background: #9A1F22 !important;
}

/* ===== BOOKING FORM WRAPPER ===== */
.booking-form-wrapper {
  background: none !important;
  backdrop-filter: none !important;
  box-shadow: none;
  padding: 2.5rem 2rem;
  margin: 0;
  width: 100vw;
  min-height: 100vh;
  border-radius: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.booking-form {
  width: 100vw;
  max-width: none;
  margin: 0;
}

@media (max-width: 768px) {
  .booking-form-wrapper {
    padding: 1.2rem 0.5rem;
    width: 100vw;
    min-height: 100vh;
  }
  .booking-form {
    width: 100vw;
    max-width: none;
  }
}

/* Pill-shaped border-radius for buttons */
.btn,
.btn-beaded,
.btn-warning,
.btn-primary,
.btn-outline-primary,
.btn-lg {
  border-radius: 999px !important;
}

/* ===== GLOBAL HEADER (EARTHY SHADE, TRANSPARENT TO OPAQUE ON SCROLL) ===== */
header, #header-container, .navbar-wood {
  position: sticky;
  top: 0;
  width: 100%;
  background: rgba(233, 228, 213, 0.15); /* Light earthy shade, mostly transparent */
  backdrop-filter: blur(8px);
  z-index: 1030;
  transition: background 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 16px rgba(0,0,0,0.04);
  color: var(--earth-brown); /* Ensure header text is earthy brown for visibility */
}

header a, #header-container a, .navbar-wood a,
header .nav-link, #header-container .nav-link, .navbar-wood .nav-link {
  color: var(--earth-brown) !important;
  text-shadow: none !important;
  transition: color 0.2s, background 0.2s, text-shadow 0.2s;
}

header .nav-link:hover,
#header-container .nav-link:hover,
.navbar-wood .nav-link:hover,
header .nav-link:focus,
#header-container .nav-link:focus,
.navbar-wood .nav-link:focus {
  color: #fff !important;
  background: var(--maasai-red) !important;
  text-shadow: 0 2px 8px #000, 0 0 10px #ffe082;
  box-shadow: 0 2px 8px rgba(195,39,43,0.12);
}

.header-opaque, .navbar-wood.header-opaque, header.header-opaque, #header-container.header-opaque {
  background: rgba(233, 228, 213, 0.99) !important; /* More opaque earthy shade */
  box-shadow: 0 2px 16px rgba(0,0,0,0.10) !important;
  color: var(--earth-brown);
}

/* ===== BOOKING FORM STYLES (HEADER SPECIFIC) ===== */
.navbar-wood .btn-warning,
header .btn-warning, #header-container .btn-warning {
  background: var(--maasai-red) !important;
  color: var(--white) !important;
  border: none;
  font-size: 1.1rem;
  font-weight: bold;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  transition: background 0.2s, color 0.2s;
}
.navbar-wood .btn-warning:hover,
header .btn-warning:hover, #header-container .btn-warning:hover {
  background: #9A1F22 !important; /* Darker red on hover */
  color: var(--white) !important;
}

/* ===== FAQ PAGE STYLES ===== */
:root {
    /* Maasai Colors */
    --maasai-red: #C3272B;
    --maasai-orange: #E68364;
    --maasai-blue: #1E88C7;
    --maasai-yellow: #F9C80E;
    /* Safari Neutrals */
    --earth-brown: #6B4423;
    --sand-beige: #E1C7A8;
    --accent-gold: #D4AF37;
    /* Backgrounds */
    --light-bg: #F7F3E9;
    --dark-bg: #2C2721;
    --white: #ffffff;
    --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    --transition-speed: 0.3s;
}

/* ===== TYPOGRAPHY ===== */
body {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--earth-brown);
    background-color: var(--light-bg);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

h1 {
    color: var(--accent-gold);
}

h2 {
    color: var(--earth-brown);
}

h3, h4, h5, h6 {
    color: var(--earth-brown);
}

/* ===== FAQ SECTION ===== */
.faq-section {
    background: linear-gradient(rgba(247,243,233,0.92), rgba(247,243,233,0.92)),
                url('images/faq-bg.webp') center center/cover no-repeat fixed;
    padding: 4rem 0;
    min-height: 100vh;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 1s ease-out;
}

.faq-header h1 {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.1);
}

.faq-header p {
    font-size: 1.3rem;
    color: var(--earth-brown);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===== SEARCH BOX ===== */
.faq-search {
    margin-bottom: 3rem;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.search-box {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-input {
    width: 100%;
    padding: 18px 60px 18px 25px;
    font-size: 1.1rem;
    border: 2px solid var(--sand-beige);
    border-radius: 50px;
    background: var(--white);
    box-shadow: var(--box-shadow);
    transition: all var(--transition-speed) ease;
    outline: none;
    color: var(--earth-brown);
}

.search-input:focus {
    border-color: var(--maasai-red);
    box-shadow: 0 0 0 3px rgba(195, 39, 43, 0.1), var(--box-shadow);
    transform: translateY(-2px);
}

.search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--earth-brown);
    font-size: 1.2rem;
}

/* ===== FAQ CATEGORIES ===== */
.faq-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.faq-category {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--box-shadow);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: fadeInUp 1s ease-out;
    position: relative;
    overflow: hidden;
    border-top: 5px solid var(--maasai-red);
}

.faq-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
    border-top-width: 8px;
}

.category-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--earth-brown);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.category-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--maasai-red), var(--maasai-orange));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(195, 39, 43, 0.3);
}

/* ===== FAQ ITEMS ===== */
.faq-item {
    margin-bottom: 1rem;
    border-radius: 15px;
    overflow: hidden;
    background: rgba(248,249,250,0.8);
    transition: all var(--transition-speed) ease;
    border: 1px solid var(--sand-beige);
}

.faq-item:hover {
    background: var(--sand-beige);
    border-color: var(--maasai-red);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 3.75rem 1.25rem 1.5rem;
    background: transparent;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--earth-brown);
    cursor: pointer;
    position: relative;
    transition: all var(--transition-speed) ease;
    outline: none;
}

.faq-question:hover {
    color: var(--maasai-red);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--maasai-red);
    transition: transform var(--transition-speed) ease;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
}

.faq-answer.active {
    max-height: 500px;
    padding: 1.5rem;
}

.faq-answer p {
    color: var(--earth-brown);
    font-size: 1rem;
    line-height: 1.8;
    margin: 0;
}

/* ===== CONTACT CTA ===== */
.contact-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: var(--white);
    border-radius: 25px;
    box-shadow: var(--box-shadow);
    animation: fadeInUp 1s ease-out 0.6s both;
    border: 2px solid var(--sand-beige);
}

.contact-cta h3 {
    font-size: 2rem;
    color: var(--earth-brown);
    margin-bottom: 1rem;
}

.contact-cta p {
    color: var(--earth-brown);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    background: var(--maasai-red);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all var(--transition-speed) ease;
    box-shadow: 0 8px 25px rgba(195, 39, 43, 0.3);
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    background: #9A1F22;
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(195, 39, 43, 0.4);
    text-decoration: none;
}

/* ===== UTILITIES ===== */
.hidden {
    display: none !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2.5rem;
    }
    
    .faq-categories {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .category-title {
        font-size: 1.5rem;
    }

    .faq-container {
        padding: 0 15px;
    }

    .contact-cta {
        padding: 2rem 1rem;
    }
}

/* Make the newsletter subscribe button rectangular */
footer .input-group .btn {
    border-radius: 0 !important;
}

/* Stylish badge on activity image */
.activity-card .position-relative {
    overflow: hidden;
}

.activity-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(90deg, #C3272B 60%, #E68364 100%);
    color: #fff;
    padding: 0.5em 1.2em;
    border-radius: 2em;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    letter-spacing: 0.03em;
    z-index: 2;
    transition: transform 0.2s;
}

.activity-card .position-relative:hover .activity-badge {
    transform: scale(1.08) rotate(-2deg);
}

/* Uniform size and style for signature dish images */
.menu-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 1rem 1rem 0 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: block;
}

/* Stylish badge for dishes */
.dish-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(90deg, #C3272B 60%, #E68364 100%);
    color: #fff;
    padding: 0.45em 1.1em;
    border-radius: 2em;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    letter-spacing: 0.03em;
    z-index: 2;
    transition: transform 0.2s;
}

.position-relative:hover .dish-badge {
    transform: scale(1.08) rotate(-2deg);
}

/* Stylish badge for accommodation images */
.room-img-wrapper {
    position: relative;
    overflow: hidden;
}

.room-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: linear-gradient(90deg, #C3272B 60%, #E68364 100%);
    color: #fff;
    padding: 0.45em 1.1em;
    border-radius: 2em;
    font-size: 1rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    letter-spacing: 0.03em;
    z-index: 2;
    transition: transform 0.2s;
}

.room-img-wrapper:hover .room-badge {
    transform: scale(1.08) rotate(-2deg);
}

/* Enhance the room title overlay */
.room-title-overlay {
    bottom: 0;
    left: 0;
    padding: 0.75rem 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 80%, rgba(0,0,0,0.1) 100%);
    z-index: 1;
}
.room-title-overlay h3 {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.25);
    margin: 0;
}

/* Bolden h5 titles in the Signature Dishes (specialty dishes) section */
.menu-card .h5,
.menu-card h5 {
    font-weight: 800;
    letter-spacing: 0.01em;
}
.signature-dish-img {
  width: 100%;
  height: 420px;            /* larger desktop height */
  max-height: 520px;
  object-fit: cover;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.10);
  display: block;
}

/* Responsive: keep smaller on narrow screens */
@media (max-width: 768px) {
  .signature-dish-img {
    height: 260px;
  }
}

/* ===== FOOTER STYLES ===== */
footer {
  background: var(--dark-bg);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* darker overlay so the footer image isn't too light */
  background:
    linear-gradient(to top, rgba(0,0,0,0.55), rgba(0,0,0,0.30)),
    url('../images/night-view.webp') center/cover no-repeat;
  background-blend-mode: normal;
  z-index: -1;
  pointer-events: none;
  /* subtle brightness tweak if needed */
  filter: brightness(0.98) saturate(1.02);
}
footer h5 {
  color: var(--accent-gold);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

footer h5::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

footer a {
  color: var(--white);
  transition: color 0.3s;
}

footer a:hover {
  color: var(--accent-gold);
}

/* Footer Widgets */
.footer-widget {
  margin-bottom: 2rem;
}

.footer-widget h6 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.footer-widget h6::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.footer-social a:hover {
  transform: translateY(-3px);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  footer {
    padding: 2rem 0;
  }

  footer h5 {
    font-size: 1rem;
  }

  footer a {
    font-size: 0.9rem;
  }

  .footer-widget h6 {
    font-size: 1rem;
  }
}

/* ===== SPECIFIC PAGE STYLES ===== */
/* About Page */
.about-section {
  padding: 4rem 0;
  background: var(--light-bg);
}

.about-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.about-section h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, transparent, var(--maasai-red), transparent);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.about-content img {
  max-width: 100%;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Contact Page */
.contact-info {
  margin-bottom: 2rem;
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.contact-info h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, transparent, var(--maasai-red), transparent);
}

.contact-info p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.contact-info a {
  color: var(--maasai-red);
  font-weight: 600;
  transition: color 0.3s;
}

.contact-info a:hover {
  color: #9A1F22;
}

/* Gallery Page */
.gallery-page {
  padding: 4rem 0;
  background: var(--light-bg);
}

.gallery-page h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.gallery-page h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: linear-gradient(90deg, transparent, var(--maasai-red), transparent);
}

.gallery-page .gallery-item {
  margin-bottom: 1.5rem;
  transition: transform 0.3s;
}

.gallery-page .gallery-item:hover {
  transform: scale(1.05);
}

/* Room sections with fading image carousel */
.room-section { padding: 1.5rem 0; }
.room-carousel { border-radius: 0.5rem; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.room-carousel .accommodation-img { width: 100%; height: 340px; object-fit: cover; display: block; }
@media (max-width: 768px) {
  .room-carousel .accommodation-img { height: 240px; }
}
/* Room copy spacing */
.room-section h3 { margin-bottom: .5rem; }
.amenities-list { list-style: none; padding: 0; margin: .5rem 0 0 0; }
.amenities-list li { margin-bottom: .4rem; color: #333; }
.price-badge { background: #e9e4d5; color: #222; padding: .35rem .6rem; border-radius: .35rem; font-weight:600; }
/* Optional: hide carousel controls for a cleaner look on cards (uncomment to show) */
.room-carousel .carousel-control-prev,
.room-carousel .carousel-control-next { opacity: 0.7; filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2)); }
/* keep fades smooth */
.carousel-fade .carousel-item { transition: opacity .8s ease-in-out; }
.carousel-fade .carousel-item.active { opacity: 1; }
.carousel-fade .carousel-item { opacity: 0; position: relative; }
/* ===== CUSTOM SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-bg);
}

::-webkit-scrollbar-thumb {
  background: var(--maasai-red);
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: #9A1F22;
}

/* ===== ANIMATED PAGE TRANSITIONS ===== */
.page-transition {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-transition-enter-active {
  opacity: 1;
  transform: translateY(0);
}

.page-transition-leave-active {
  opacity: 0;
  transform: translateY(10px);
}

/* ===== FANCY HOVER EFFECTS FOR BUTTONS ===== */
.btn-fancy {
  position: relative;
  overflow: hidden;
  transition: color 0.4s, background-color 0.4s;
}

.btn-fancy::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 300%;
  height: 300%;
  background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0.3), rgba(255,255,255,0.1));
  transition: transform 0.4s;
  transform: translate(-50%, -50%) rotate(30deg) scale(0);
  z-index: 0;
}

.btn-fancy:hover::before {
  transform: translate(-50%, -50%) rotate(30deg) scale(1);
}

.btn-fancy:hover {
  color: var(--maasai-red);
  background-color: rgba(255,255,255,0.1);
}

/* ===== BACK TO TOP BUTTON ===== */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--maasai-red);
  color: var(--white);
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: background 0.3s, transform 0.3s;
  z-index: 999;
  transition: transform .16s ease, box-shadow .18s ease, background .16s ease;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);

}

#back-to-top:hover {
  background: #9A1F22;
  transform: translateY(-3px);
}

/* Smooth scrolling for anchor links */
html {
  scroll-behavior: smooth;
}

/* Green Theme Overrides */
:root {
  /* Green Theme */
  --eden-green: #1e5128;
  --eden-green-light: #4e9f3d;
  --accent-gold: #D4AF37;
  --earth-brown: #6B4423;
  --sand-beige: #E1C7A8;
  --white: #ffffff;
  --light-bg: #F7F3E9;
  --dark-bg: #2C2721;
  --box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  --transition-speed: 0.3s;
}

/* Buttons */
.btn-primary,
.booking-form button,
.navbar-wood .btn-warning {
  background: linear-gradient(90deg, var(--eden-green-light), var(--eden-green)) !important;
  color: var(--white) !important;
  border: none;
}
.btn-primary:hover,
.booking-form button:hover,
.navbar-wood .btn-warning:hover {
  background: linear-gradient(90deg, var(--eden-green), var(--eden-green-light)) !important;
}

/* Navbar link highlight */
.navbar-wood .nav-link:hover,
.navbar-wood .nav-link:focus,
header .nav-link:hover,
#header-container .nav-link:hover,
header .nav-link:focus,
#header-container .nav-link:focus {
  color: #fff !important;
  background: linear-gradient(90deg, var(--eden-green-light), var(--eden-green)) !important;
  text-shadow: 0 2px 8px #000, 0 0 10px #ffe082;
  box-shadow: 0 2px 8px rgba(30,81,40,0.12);
}

/* Custom green scrollbar */
::-webkit-scrollbar-thumb {
  background: linear-gradient(90deg, var(--eden-green-light), var(--eden-green));
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--eden-green);
}
html {
  scrollbar-color: var(--eden-green-light) var(--light-bg);
  scrollbar-width: thin;
}

/* Activity, dish, room badges */
.activity-badge,
.dish-badge,
.room-badge {
  background: linear-gradient(90deg, var(--eden-green-light) 60%, var(--eden-green) 100%);
}

/* Category icon */
.category-icon {
  background: linear-gradient(135deg, var(--eden-green), var(--eden-green-light));
}

/* FAQ category border */
.faq-category {
  border-top: 5px solid var(--eden-green);
}
.faq-category:hover {
  border-top-width: 8px;
}

/* FAQ question hover */
.faq-question:hover {
  color: var(--eden-green);
}
.faq-question::after {
  color: var(--eden-green);
}

/* Gallery item hover border */
.gallery-item:hover {
  border-color: var(--eden-green);
}

/* Contact info link */
.contact-info a {
  color: var(--eden-green);
}
.contact-info a:hover {
  color: #17401c;
}

/* Back to top button */
#back-to-top {
  background: linear-gradient(90deg, var(--eden-green-light), var(--eden-green));
}
#back-to-top:hover {
  background: var(--eden-green);
}

/* Ensure footer/social icons don't show stray underscores or pseudo-content */
footer .social-links a,
.footer .social-links a,
.social-links a {
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  font-size: 1.15rem;
  position: relative;
  color: inherit;
}

/* Remove any injected pseudo-content */
footer .social-links a::after,
footer .social-links a::before,
.footer .social-links a::after,
.footer .social-links a::before,
.social-links a::after,
.social-links a::before {
  content: none !important;
  display: none !important;
}

/* Keep accessible focus state */
footer .social-links a:focus,
.social-links a:focus {
  outline: 3px solid rgba(78,159,61,0.18);
  outline-offset: 4px;
  text-decoration: none !important;
}

/* Ensure "Book Now" button text is white */
.navbar-wood .btn-book,
.btn-book {
  color: #ffffff !important;
}

.navbar-wood .btn-book:hover,
.btn-book:hover,
.navbar-wood .btn-book:focus,
.btn-book:focus {
  color: #ffffff !important;
}

/* Increase global header and footer text sizes (place near EOF so it overrides earlier rules) */
header, #header-container, .navbar-wood {
  font-size: 1.125rem; /* base increase for header area */
}

.navbar-wood .navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-wood .nav-link {
  font-size: 1.25rem; /* larger nav links for desktop */
  padding: 0.4rem 1.25rem;
}

/* Footer text larger and clearer */
footer {
  font-size: 1.05rem;
}

footer h5 {
  font-size: 1.4rem;
  line-height: 1.2;
}

footer p,
footer a,
.footer-widget h6,
.footer-social a {
  font-size: 1.05rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-wood .nav-link { font-size: 1rem; padding: 0.35rem .9rem; }
  .navbar-wood .navbar-brand { font-size: 1.25rem; }
  footer h5 { font-size: 1.1rem; }
  footer p, footer a { font-size: 0.98rem; }
}

/* ===== END OF STYLES ===== */

/* ===== TYPOGRAPHY CLEANUP FOR CONSISTENCY ===== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Lato:wght@300;400;700&display=swap');

/* Headings use Playfair Display */
h1, h2, h3, h4, h5, h6, .wooden-heading, .display-4, .header-highlight, .booking-title {
  font-family: 'Playfair Display', serif !important;
  font-weight: 700;
  letter-spacing: 0.01em;
}

/* Body, nav, buttons, forms use Lato */
body, p, li, .lead, .card-text, .form-control, .form-select, .btn, .nav-link, .btn-beaded {
  font-family: 'Lato', Arial, sans-serif !important;
  font-weight: 400;
}

/* Remove Cormorant Garamond, Trochut, Comic Sans, and any other font-families from headings/body */
.hero-content .lead {
  font-family: 'Lato', Arial, sans-serif !important;
}

/* Remove duplicate or conflicting font-family rules for headings and body below this line */

/* ===== END TYPOGRAPHY CLEANUP ===== */

/* BOOK NOW: white text, stylish green gradient; turns red on hover */
.btn-book,
.navbar-wood .btn-book,
.navbar-wood .btn-warning {
  color: #ffffff !important;
  background: linear-gradient(90deg, #4e9f3d 0%, #1e5128 100%) !important;
  border: none !important;
  padding: .55rem 1.2rem !important;
  font-weight: 800 !important;
  letter-spacing: .3px;
  border-radius: 999px !important;
  box-shadow: 0 8px 24px rgba(30,81,40,0.18);
  transition: background .18s ease, color .18s ease, transform .12s ease;
}

/* Hover: swap to red gradient (keep white text) */
.btn-book:hover,
.btn-book:focus,
.btn-book:active,
.navbar-wood .btn-book:hover,
.navbar-wood .btn-book:focus,
.navbar-wood .btn-book:active,
.navbar-wood .btn-warning:hover,
.navbar-wood .btn-warning:focus,
.navbar-wood .btn-warning:active {
  background: linear-gradient(90deg, #d9534f 0%, #c3272b 100%) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(217,83,79,0.16);
  color: #fff !important;
}

/* All primary buttons turn red on hover */
.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
  background: linear-gradient(90deg, #d9534f 0%, #c3272b 100%) !important;
  border-color: #c3272b !important;
  color: #fff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(217,83,79,0.14);
}

/* Accommodation page buttons also turn red */
.room-section .btn:hover,
.room-section .btn:focus,
.room-section .btn:active {
  background: linear-gradient(90deg, var(--maasai-red) 0%, #9A1F22 100%);.
  overflow: hidden; /* keep rounded corners clean */
}

#diningCarousel .carousel-item img {
  width: 100%;
  height: 420px; /* fixed visual height for all slides */
  object-fit: cover; /* crop to fill, preserving aspect ratio */
  display: block;
  border-radius: 0.5rem;
}

/* smaller screens */
@media (max-width: 768px) {
  #diningCarousel .carousel-item img {
    height: 260px;
  }
}

/* make captions readable over images */
#diningCarousel .carousel-caption {
  background: rgba(0,0,0,0.45);
  padding: 0.6rem 0.9rem;
  border-radius: 0.5rem;
  bottom: 16px;
  left: 16px;
  right: auto;
  width: auto;
  text-align: left;
}

#diningCarousel .carousel-caption h5,
#diningCarousel .carousel-caption p {
  margin: 0;
  color: #fff;
  text-shadow: none;
}

/* ===== GALLERY CAROUSEL ===== */
#gallery-carousel {
  padding: 2rem 0 !important;
  margin: 0;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.gallery-train-wrapper {
  width: 100vw;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
}

.gallery-train {
  width: 100%;
  gap: 1rem;
  padding: 0 2rem;
}

.gallery-img-train {
  min-width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Hide honeypot field visually but keep it in the DOM for spam checks */
.honeypot-field {
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    border: 0 !important;
    padding: 0 !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}
.honeypot-field:focus {
    outline: none !important;
}

/* Increase header and footer text sizes (override) */
header, #header-container, .navbar-wood {
  font-size: 1.25rem !important;
}
.navbar-wood .navbar-brand {
  font-size: 1.75rem !important;
  font-weight: 700;
}
.navbar-wood .nav-link {
  font-size: 1.35rem !important;
  padding: 0.45rem 1.25rem;
}

/* Footer larger & headings */
footer {
  font-size: 1.15rem !important;
}
footer h5 {
  font-size: 1.6rem !important;
  line-height: 1.2;
}
footer p,
footer a,
.footer-widget h6,
.footer-social a {
  font-size: 1.05rem !important;
}

/* Responsive scaling */
@media (max-width: 768px) {
  .navbar-wood .nav-link { font-size: 1rem !important; padding: 0.35rem .9rem; }
  .navbar-wood .navbar-brand { font-size: 1.25rem !important; }
  footer h5 { font-size: 1.2rem !important; }
  footer p, footer a { font-size: 1rem !important; }
}
// ...existing code...