/* Clean and Professional CSS for Deep Africa Mobile Safaris */

/* CSS Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Clean Color Palette */
  --primary-color: #2d5a27;
  --primary-light: #4a7c59;
  --primary-dark: #1a3d1a;
  --primary-rgb: 45, 90, 39;

  --secondary-color: #d4af37;
  --secondary-light: #f4d03f;
  --secondary-dark: #b7950b;

  --accent-color: #e67e22;
  --success-color: #27ae60;
  --warning-color: #f39c12;
  --error-color: #e74c3c;

  --dark-color: #2c3e50;
  --light-color: #ecf0f1;
  --light-bg: #f8f9fa;
  --white: #ffffff;
  --gray: #7f8c8d;
  --gray-light: #bdc3c7;
  --gray-dark: #34495e;

  /* Simple Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
  --gradient-hero: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.3));

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: "Playfair Display", Georgia, serif;

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 3rem;
  --spacing-xl: 4rem;
  --spacing-xxl: 6rem;

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 50%;

  /* Clean Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition: 0.3s ease;

  /* Z-index */
  --z-modal: 1000;
  --z-nav: 100;
  --z-float: 50;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--white);
  overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.lead-text {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section {
  padding: var(--spacing-xxl) 0;
  position: relative;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: var(--spacing-sm);
}

.section-title {
  color: var(--dark-color);
  margin-bottom: var(--spacing-sm);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--primary-color);
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--white);
}

.btn-large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.whatsapp-link {
  background: #25d366 !important;
  color: white !important;
  border-color: #25d366 !important;
}

.whatsapp-link:hover {
  background: #1ebe57 !important;
}

/* Loading Screen */
.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-modal);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.safari-loader {
  text-align: center;
  color: var(--white);
}

.elephant-loader {
  width: 80px;
  height: 80px;
  background: var(--secondary-color);
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: bounce 1.5s infinite;
}

.loader-text {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.loader-progress {
  width: 200px;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}

.progress-bar {
  width: 0%;
  height: 100%;
  background: var(--secondary-color);
  border-radius: 2px;
  transition: width 0.3s ease;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: var(--z-nav);
  transition: var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.brand-logo {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark-color);
  line-height: 1.2;
  font-family: var(--font-heading);
}

.brand-tagline {
  font-size: 11px;
  color: var(--secondary-color);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--dark-color);
  font-weight: 500;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  min-height: 40px;
}

.nav-link i {
  font-size: 14px;
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.1);
}

.nav-link:hover i,
.nav-link.active i {
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--dark-color);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  transition: var(--transition);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
}

.nav-phone:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
  background: rgba(var(--primary-rgb), 0.1);
}

.nav-phone i {
  font-size: 16px;
  color: var(--primary-color);
}

.phone-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.phone-text small {
  font-size: 10px;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.phone-text strong {
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.book-now-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-primary);
  color: var(--white) !important;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 14px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.book-now-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.book-now-btn i {
  font-size: 14px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-toggle:hover {
  background: rgba(var(--primary-rgb), 0.1);
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--dark-color);
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}


.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  max-width: 900px;
  width: 90%;
  z-index: 10;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
  color: var(--white);
  margin-bottom: var(--spacing-md);
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: var(--spacing-lg);
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.6;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--spacing-xl);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.stat-item {
  text-align: center;
  padding: var(--spacing-sm);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  min-width: 120px;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  font-family: var(--font-heading);
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
}

.animate-text {
  animation: fadeInUp 1s ease forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-text:nth-child(2) {
  animation-delay: 0.3s;
}
.animate-text:nth-child(3) {
  animation-delay: 0.6s;
}
.animate-text:nth-child(4) {
  animation-delay: 0.9s;
}
.animate-text:nth-child(5) {
  animation-delay: 1.2s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  color: var(--white);
  z-index: 10;
}

.scroll-arrow {
  font-size: 1.5rem;
  margin-bottom: 8px;
  opacity: 0.8;
  animation: bounce 2s infinite;
}

.scroll-text {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* About Section */
.about {
  background: var(--light-bg);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.about-text {
  padding: var(--spacing-md);
}

.text-content p {
  margin-bottom: var(--spacing-md);
  line-height: 1.8;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature-item {
  background: var(--white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.feature-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: var(--spacing-md);
}

.feature-item h4 {
  color: var(--dark-color);
  margin-bottom: var(--spacing-xs);
  font-size: 1.1rem;
}

.feature-item p {
  color: var(--gray);
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

.about-images {
  position: relative;
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-sm);
  height: 500px;
}

.grid-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.grid-image:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

.grid-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.img1 {
  grid-row: 1 / 2;
}
.img2 {
  grid-column: 2 / 3;
  grid-row: 1 / 2;
}
.img3 {
  grid-column: 2 / 3;
  grid-row: 2 / 3;
}
.img4 {
  grid-row: 2 / 3;
}

/* Safari Section */
.safaris {
  background: var(--white);
}

.pricing-banner {
  margin-bottom: var(--spacing-xl);
  display: flex;
  justify-content: center;
}

.pricing-card {
  background: var(--gradient-primary);
  color: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  text-align: center;
  max-width: 450px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-card.featured {
  transform: scale(1.02);
  border: 2px solid var(--secondary-color);
}

.pricing-icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-md);
  opacity: 0.9;
  color: var(--secondary-color);
}

.pricing-card h3 {
  margin-bottom: var(--spacing-md);
  font-size: 1.5rem;
  color: var(--white);
}

.price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  margin-bottom: var(--spacing-sm);
}

.currency {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.amount {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--white);
  font-family: var(--font-heading);
}

.period {
  font-size: 0.9rem;
  opacity: 0.9;
  color: var(--light-color);
  font-weight: 500;
}

.pricing-note {
  opacity: 0.9;
  margin-bottom: var(--spacing-lg);
  font-size: 0.95rem;
  font-style: italic;
}

.pricing-features {
  text-align: left;
}

.pricing-features .feature {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-sm);
  padding: 10px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}

.pricing-features .feature:last-child {
  border-bottom: none;
}

.pricing-features .feature:hover {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
}

.pricing-features i {
  color: var(--secondary-color);
  font-size: 1.1rem;
  width: 20px;
}

.safari-packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.package-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  position: relative;
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.package-card.featured {
  border: 2px solid var(--secondary-color);
}

.featured-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--secondary-color);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.package-header {
  position: relative;
  height: 250px;
}

.package-image {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.package-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.package-card:hover .package-image img {
  transform: scale(1.05);
}

.package-duration {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: var(--white);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.package-price {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--white);
  color: var(--primary-color);
  padding: 12px 20px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid var(--primary-color);
}

.total-price {
  font-size: 1.4rem;
  font-weight: 800;
  display: block;
  font-family: var(--font-heading);
}

.package-price small {
  font-size: 0.8rem;
  opacity: 0.8;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.package-content {
  padding: var(--spacing-xl);
}

.package-content h3 {
  color: var(--dark-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.4rem;
}

.package-summary {
  color: var(--gray);
  margin-bottom: var(--spacing-lg);
  line-height: 1.7;
  font-size: 1rem;
}

.package-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
}

.highlight {
  background: var(--light-bg);
  color: var(--primary-color);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  border: 1px solid rgba(var(--primary-rgb), 0.2);
  transition: var(--transition);
}

.highlight:hover {
  background: var(--primary-color);
  color: var(--white);
}

.cta-buttons {
  display: flex;
  gap: var(--spacing-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Rules Section */
.rules {
  background: var(--light-bg);
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-lg);
}

.rule-card {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border-left: 4px solid var(--primary-color);
}

.rule-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--secondary-color);
}

.rule-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  margin-bottom: var(--spacing-md);
}

.rule-card h4 {
  color: var(--dark-color);
  margin-bottom: var(--spacing-sm);
  font-size: 1.2rem;
}

.rule-card p {
  color: var(--gray);
  line-height: 1.7;
  margin: 0;
}

/* Gallery Section */
.gallery {
  background: var(--white);
}

.gallery-filter {
  display: flex;
  justify-content: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-xl);
  flex-wrap: wrap;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  color: var(--gray);
  border: 2px solid rgba(var(--primary-rgb), 0.2);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.filter-btn i {
  font-size: 1rem;
  opacity: 0.7;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.filter-btn.active i,
.filter-btn:hover i {
  opacity: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  transition: var(--transition);
  background: var(--light-bg);
  box-shadow: var(--shadow-sm);
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-hero);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
  padding: var(--spacing-md);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay h4 {
  margin-bottom: var(--spacing-xs);
  font-size: 1.2rem;
  color: var(--white);
}

.gallery-overlay p {
  margin-bottom: var(--spacing-md);
  font-size: 0.9rem;
  opacity: 0.9;
}

.gallery-overlay .view-btn {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-overlay .view-btn:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Contact Section */
.contact {
  background: var(--light-bg);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
  font-size: 1.5rem;
}

.contact-items {
  margin-bottom: var(--spacing-lg);
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  color: var(--dark-color);
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--gray);
  margin: 4px 0;
  line-height: 1.6;
}

.contact-details a {
  color: var(--primary-color);
  transition: var(--transition);
  font-weight: 500;
}

.contact-details a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact-form {
  background: var(--white);
  padding: var(--spacing-xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(var(--primary-rgb), 0.1);
}

.contact-form h3 {
  color: var(--primary-color);
  margin-bottom: var(--spacing-lg);
  font-size: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
}

.form-group {
  margin-bottom: var(--spacing-md);
}

.form-group label {
  display: block;
  color: var(--dark-color);
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  transition: var(--transition);
  background: var(--white);
  font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Form Status */
.form-status {
  margin-top: var(--spacing-md);
  padding: var(--spacing-sm);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-success {
  background: rgba(39, 174, 96, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(39, 174, 96, 0.3);
}

.status-error {
  background: rgba(231, 76, 60, 0.1);
  color: var(--error-color);
  border: 1px solid rgba(231, 76, 60, 0.3);
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: var(--spacing-xxl) 0 var(--spacing-md);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
  color: var(--secondary-color);
  margin-bottom: var(--spacing-md);
  font-size: 1.2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-brand .brand-logo {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
}

.footer-section p {
  color: var(--gray-light);
  line-height: 1.7;
  margin-bottom: var(--spacing-sm);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--gray-light);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: 12px;
  color: var(--gray-light);
}

.footer-contact i {
  color: var(--secondary-color);
  width: 20px;
  font-size: 1.1rem;
}

.footer-contact a {
  color: var(--gray-light);
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--secondary-color);
}

.footer-social {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-md);
}

.footer-social a {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: var(--transition);
  font-size: 1.2rem;
}

.footer-social a:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid var(--gray-dark);
  padding-top: var(--spacing-md);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-md);
}

.footer-bottom p {
  color: var(--gray-light);
  margin: 0;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: var(--spacing-lg);
}

.footer-bottom-links a {
  color: var(--gray-light);
  transition: var(--transition);
  font-size: 0.9rem;
}

.footer-bottom-links a:hover {
  color: var(--secondary-color);
}

/* Float Elements */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  right: 30px;
  z-index: var(--z-float);
}

.whatsapp-float a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #25d366;
  color: var(--white);
  border-radius: var(--radius-full);
  font-size: 2rem;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  position: relative;
}

.whatsapp-float a:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.whatsapp-tooltip {
  position: absolute;
  right: 100%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark-color);
  color: var(--white);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  white-space: nowrap;
  font-size: 0.9rem;
  margin-right: 15px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  font-weight: 500;
}

.whatsapp-float a:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 8px solid transparent;
  border-left-color: var(--dark-color);
}

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: var(--radius-full);
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: var(--z-float);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: var(--z-modal);
  backdrop-filter: blur(5px);
}

.modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  position: relative;
  max-width: 90%;
  max-height: 90%;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.7);
  color: var(--white);
  border: none;
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--error-color);
}

#modalImage {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
}

.modal-caption {
  padding: var(--spacing-lg);
  text-align: center;
}

.modal-caption h4 {
  color: var(--dark-color);
  margin-bottom: var(--spacing-xs);
  font-size: 1.3rem;
}

.modal-caption p {
  color: var(--gray);
  margin: 0;
  font-size: 1rem;
}

/* Responsive Design */

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1400px;
  }

  .safari-packages-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-stats {
    gap: var(--spacing-xl);
  }

  .stat-item {
    min-width: 140px;
  }
}

/* Desktop */
@media (max-width: 1199px) {
  .safari-packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-stats {
    gap: var(--spacing-md);
  }
}

/* Tablet */
@media (max-width: 1024px) {
  .nav-phone .phone-text {
    display: none;
  }

  .nav-phone {
    padding: 10px;
    min-width: 44px;
    justify-content: center;
  }

  .hero-content {
    max-width: 700px;
    padding: 0 var(--spacing-md);
  }

  .hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-stats {
    flex-direction: row;
    gap: var(--spacing-sm);
  }

  .stat-item {
    min-width: 100px;
    padding: var(--spacing-xs);
  }

  .stat-number {
    font-size: 1.5rem;
  }

  .about-content,
  .contact-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .safari-packages-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-content {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-lg);
  }
}

/* Large Mobile/Small Tablet */
@media (max-width: 768px) {
  .nav-container {
    padding: 0 var(--spacing-md);
    height: 70px;
  }

  .brand-text {
    display: none;
  }

  .nav-actions {
    gap: var(--spacing-sm);
  }

  .book-now-btn {
    padding: 10px 16px;
    font-size: 12px;
  }

  .book-now-btn span {
    display: none;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding-top: var(--spacing-xl);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    gap: var(--spacing-sm);
    z-index: 999;
  }

  .nav-menu .nav-link {
    width: 250px;
    justify-content: center;
    padding: 16px 20px;
    font-size: 16px;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-xs);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-toggle.active .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  .nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active .bar:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
  }

  .hero {
    height: 100vh;
  }

  .hero-content {
    max-width: 95%;
    padding: 0 var(--spacing-sm);
  }

  .hero-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
  }

  .hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-lg);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    width: 100%;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
  }

  .stat-item {
    min-width: 200px;
  }

  .section {
    padding: var(--spacing-xl) 0;
  }

  .section-header {
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-sm);
  }

  .section-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    line-height: 1.2;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .safari-packages-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
  }

  .features-grid,
  .rules-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .image-grid {
    grid-template-columns: 1fr;
    height: auto;
    gap: var(--spacing-sm);
  }

  .img1,
  .img2,
  .img3,
  .img4 {
    grid-column: 1 / 2;
    grid-row: auto;
    height: 200px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
  }

  .gallery-filter {
    gap: var(--spacing-xs);
    justify-content: center;
    flex-wrap: wrap;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
    min-width: auto;
  }

  .filter-btn span {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: var(--spacing-sm);
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
    text-align: center;
  }

  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: var(--spacing-sm);
  }

  .whatsapp-float {
    bottom: 80px;
    right: 20px;
  }

  .whatsapp-float a {
    width: 60px;
    height: 60px;
    font-size: 1.8rem;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 1.1rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .container {
    padding: 0 var(--spacing-sm);
  }

  .nav-container {
    padding: 0 var(--spacing-sm);
    height: 65px;
  }

  .brand-logo {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }

  .nav-menu {
    top: 65px;
    height: calc(100vh - 65px);
    padding-top: var(--spacing-lg);
  }

  .hero {
    height: 100vh;
  }

  .hero-content {
    max-width: 95%;
  }

  .hero-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
  }

  .hero-subtitle {
    font-size: 1rem;
    margin-bottom: var(--spacing-md);
    line-height: 1.5;
  }

  .hero-buttons {
    gap: var(--spacing-sm);
  }

  .hero-buttons .btn {
    padding: 14px 24px;
    font-size: 0.9rem;
    width: 100%;
    max-width: 280px;
  }

  .hero-stats {
    gap: var(--spacing-xs);
  }

  .stat-item {
    min-width: 80px;
    padding: var(--spacing-xs);
  }

  .stat-number {
    font-size: 1.3rem;
  }

  .stat-label {
    font-size: 0.8rem;
  }

  .section {
    padding: var(--spacing-lg) 0;
  }

  .section-title {
    font-size: clamp(1.3rem, 5vw, 1.9rem);
    margin-bottom: var(--spacing-sm);
  }

  .section-subtitle {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }

  .btn-large {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
  }

  .gallery-filter {
    gap: 6px;
    padding: 0 var(--spacing-xs);
  }

  .filter-btn {
    padding: 8px 12px;
    font-size: 0.75rem;
    min-width: auto;
  }

  .contact-form {
    padding: var(--spacing-lg);
    margin: 0 var(--spacing-xs);
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 14px;
    font-size: 14px;
  }

  .modal-content {
    max-width: 95%;
    max-height: 95%;
    margin: var(--spacing-sm);
  }

  .whatsapp-float {
    bottom: 70px;
    right: 15px;
  }

  .whatsapp-float a {
    width: 55px;
    height: 55px;
    font-size: 1.6rem;
  }

  .back-to-top {
    bottom: 15px;
    right: 15px;
    width: 45px;
    height: 45px;
    font-size: 1rem;
  }
}

/* Extra Small Mobile */
@media (max-width: 360px) {
  .container {
    padding: 0 12px;
  }

  .nav-container {
    padding: 0 12px;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.1;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-buttons .btn {
    padding: 12px 20px;
    font-size: 0.85rem;
    max-width: 260px;
  }

  .section-title {
    font-size: 1.2rem;
  }

  .section-subtitle {
    font-size: 0.85rem;
  }

  .whatsapp-float a {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
  }

  .back-to-top {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-slide {
    transition: none;
  }

  .scroll-indicator {
    animation: none;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  :root {
    --primary-color: #000080;
    --secondary-color: #800000;
    --dark-color: #000000;
    --gray: #666666;
  }
}

/* Focus styles */
*:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Print styles */
@media print {
  .navbar,
  .scroll-indicator,
  .back-to-top,
  .whatsapp-float,
  .loader {
    display: none !important;
  }

  .hero-content {
    position: static;
    transform: none;
    color: var(--dark-color);
  }

  .hero-overlay {
    display: none;
  }

  body {
    font-size: 12pt;
    line-height: 1.4;
  }

  .section {
    padding: 20pt 0;
    page-break-inside: avoid;
  }
}
