/* assets/css/safari.css - Premium styles for safari.html */

/* Hero Section */
/* ---------- HERO SECTION ---------- */
.hero-section {
  position: relative;
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #000;
}

.hero-image-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05);
  background-color: #D9B99B;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.1) 40%, rgba(0, 0, 0, 0.3) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: #fff;
  padding: 2.5rem 0.85rem;
  max-width: 900px;
  margin: 0 auto;
  animation: fadeInUp 1s ease forwards;
}

.hero-content h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: 0.7rem;
  line-height: 0.9;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.4);
}

.hero-content p {
  font-size: 1rem;
  opacity: 0.9;
  margin-bottom: 1.5rem;
}

/* --- Button Styling --- */
.btn-primary {
  display: inline-block;
  padding: 0.65rem 2.1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #fff;
  background: linear-gradient(135deg, #d8a903, #a68a64);
  border: none;
  border-radius: 0.75rem;
  text-decoration: none;
  
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover,
.btn-primary:focus {
  background: linear-gradient(135deg, #e8bb2b, #b9935c);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(216, 169, 3, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(216, 169, 3, 0.3);
}

/* Optional: add slight glowing animation for premium touch */
@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 rgba(216, 169, 3, 0.4); }
  70% { box-shadow: 0 0 15px rgba(216, 169, 3, 0.6); }
  100% { box-shadow: 0 0 0 rgba(216, 169, 3, 0.4); }
}

.btn-primary.glow {
  animation: pulseGlow 2.5s infinite;
}


@media (max-width: 768px) {
  .hero-section {
    min-height: 65vh;
  }
}

/* Safari Category */
.safari-category {
  padding: 4rem 0;
  background: var(--bg);
}

.category-title {
  font-size: 2.5rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--earth-brown);
  text-align: center;
  margin-bottom: 1rem;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.category-lead {
  font-size: 1.2rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  color: var(--muted);
  text-align: center;
  margin-bottom: 3rem;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.package-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  height: 420px;
  position: relative;
}

.package-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(216, 169, 3, 0.2);
}

.package-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.package-info {
  padding: 1rem;
  text-align: center;
}

.package-info h3 {
  font-size: 1.3rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--giraffe-gold);
}

.package-info .price {
  font-size: 1.1rem;
  color: var(--earth-brown);
  margin-bottom: 0.5rem;
}

.btn-view {
  background: #fff;
  color: var(--giraffe-gold);
  border: 1px solid var(--giraffe-gold);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-block;
  margin-right: 0.5rem;
}

.btn-view:hover {
  background: var(--giraffe-gold);
  color: #fff;
}

.btn-book {
  background: #fff;
  color: var(--giraffe-gold);
  border: 1px solid var(--giraffe-gold);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.btn-book:hover {
  background: var(--giraffe-gold);
  color: #fff;
}

/* Top Safari Destinations */
.top-destinations {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--leopard-tan), var(--bg));
}

.destination-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.destination-card {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  height: 250px; /* Uniform height for all cards */
}

.destination-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(216, 169, 3, 0.2);
}

.destination-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.destination-info {
  position: relative;
  z-index: 2;
  padding: 1rem;
  text-align: center;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent); /* Darker gradient for text visibility */
  height: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.destination-info h3 {
  font-size: 1.0rem;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  margin: 0;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7); /* Enhanced shadow for readability */
}

/* Responsive Design for Top Destinations */
@media (max-width: 768px) {
  .destination-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .destination-card {
    height: 200px; /* Slightly reduced height for mobile to maintain layout */
  }
  .destination-info h3 {
    font-size: 1.1rem;
  }
}

/* CTA Section */
.cta-section {
  padding: 4rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--leopard-tan), var(--bg));
}

.cta-section .section-heading {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-section .lead {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeInUp 0.6s ease-out forwards;
}

.fade-in-delay-1 {
  animation-delay: 0.2s;
}

.fade-in-delay-2 {
  animation-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 768px) {
  .safari-hero {
    min-height: 50vh;
  }
  .hero-content {
    padding: 1.5rem;
  }
  .hero-content h1 {
    font-size: 2.5rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .package-grid, .destination-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .package-card img {
    height: 150px;
  }
  .destination-card img {
    height: 120px;
  }
  .category-title, .section-heading {
    font-size: 2rem;
  }
  .category-lead, .lead {
    font-size: 1rem;
  }
  .package-info .btn-view,
  .package-info .btn-book {
    display: block;
    margin: 0.25rem 0;
  }
}