/* MeruEcoCamp Safari Page Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  background: #f8f8f8;
  color: #222;
}

/* Hero */
#hero {
  position: relative;
  height: 90vh;
  overflow: hidden;
}
#hero video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#hero .overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.45);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  padding: 20px;
}
#hero h1 {
  font-size: 2.8rem;
  margin-bottom: 10px;
}
#hero p {
  max-width: 700px;
  font-size: 1rem;
  margin-bottom: 20px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn-main,
.btn-secondary {
  text-decoration: none;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 600;
  transition: 0.3s;
}
.btn-main {
  background: #C19A6B;
  color: #fff;
}
.btn-main:hover {
  background: #228B22;
}
.btn-secondary {
  background: #fff;
  color: #006400;
}
.btn-secondary:hover {
  background: #f5f5f5;
}

/* ===== Safari Section ===== */
#safaris {
  padding: 70px 20px;
  text-align: center;
  background: #C19A6B;
}
#safaris h2 {
  font-size: 2.2rem;
  color: #006400;
  margin-bottom: 40px;
}

/* list layout for cards */
.safari-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Individual card */
.safari-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

/* Hover effect */
.safari-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

/* Image inside card */
.safari-card img {
  width: 100%;
  height: 250px; /* default for medium screens */
  object-fit: cover;
  transition: transform 0.4s;
}

/* Image zoom on hover */
.safari-card:hover img {
  transform: scale(1.05);
}

/* Card text */
.safari-text {
  padding: 15px 20px;
  flex: 1; /* make text area take remaining space */
}
.safari-text h3 {
  color: #006400;
  margin-bottom: 8px;
  font-size: 1.3rem;
}
.safari-text p {
  color: #444;
  font-size: 0.95rem;
  margin-bottom: 12px;
}
.safari-text a {
  text-decoration: none;
  background: #006400;
  color: #fff;
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: 0.3s;
}
.safari-text a:hover {
  background: #228B22;
}

/* ===== Responsive Adjustments ===== */
@media (min-width: 768px) {
  .safari-card img {
    height: 280px;
  }
}

@media (min-width: 992px) {
  .safari-card img {
    height: 320px;
  }
}

@media (min-width: 1200px) {
  .safari-card img {
    height: 350px;
  }
}

/* Mobile adjustments */
@media (max-width: 768px) {
  #safaris h2 {
    font-size: 1.8rem;
    margin-bottom: 30px;
  }
  .safari-text h3 {
    font-size: 1.1rem;
  }
  .safari-text p {
    font-size: 0.9rem;
  }
}


/* CTA */
#cta {
  background: linear-gradient(135deg, #006400, #228B22);
  color: #fff;
  text-align: center;
  padding: 60px 20px;
  margin-top: 60px;
}
#cta h2 {
  font-size: 2rem;
  margin-bottom: 15px;
}
#cta p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}
#cta .btn-main {
  background: #fff;
  color: #006400;
}
#cta .btn-main:hover {
  background: #f5f5f5;
}

/* Footer */
footer {
  background: #111;
  color: #ccc;
  text-align: center;
  padding: 25px 15px;
  font-size: 0.9rem;
  margin-top: 60px;
}
footer a {
  color: #9acd32;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  #hero h1 {
    font-size: 2rem;
  }
  #hero p {
    font-size: 0.9rem;
  }
}
