/*********************************************
  DESTINATIONS PAGE STYLES
**********************************************/

/* HERO SECTION */
.destinations-hero {
  position: relative;
  height: 80vh; /* Adjust if you want a taller/shorter hero */
  overflow: hidden;
}
.destinations-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.destinations-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3); /* dark overlay for text readability */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  padding: 1rem;
}
.destinations-hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}
.destinations-hero-overlay p {
  font-size: 1.2rem;
}

/* OVERVIEW SECTION */
.destinations-overview {
  padding: 2rem 5%;
  background: #fff;
  text-align: left;
}
.destinations-overview h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brown);
}
.destinations-overview p {
  max-width: 900px;
  margin: 0 auto 1rem auto;
  line-height: 1.8;
}

/* SAFARI DESTINATIONS SECTION */
.safari-destinations {
  padding: 2rem 5%;
  background: var(--beige);
  text-align: left;
}
.safari-destinations h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brown);
}
.safari-destinations p {
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.8;
}

/* TREKKING SECTION */
.destinations-trekking {
  padding: 2rem 5%;
  background: #fff;
  text-align: left;
}
.destinations-trekking h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brown);
}
.destinations-trekking p {
  max-width: 900px;
  margin: 0 auto 1rem auto;
  line-height: 1.8;
}

/* BEACHES SECTION */
.destinations-beaches {
  padding: 2rem 5%;
  background: var(--tan);
  text-align: left;
}
.destinations-beaches h2 {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--brown);
}
.destinations-beaches p {
  max-width: 900px;
  margin: 0 auto 1rem auto;
  line-height: 1.8;
}

/* SELECTED DESTINATIONS (WITH PHOTOS) */
.selected-destinations {
  padding: 2rem 5%;
  background: #fff;
}
.selected-destinations h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--brown);
}

/* Each destination item: 2 columns -> photo left, text right */
.dest-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.dest-photo-col {
  flex: 1 1 400px; /* photo column */
  order: 1;        /* photo is first on large screens */
}
.dest-info-col {
  flex: 1 1 600px; /* text column */
  order: 2;
}

.dest-photo {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* Destination info */
.dest-info-col h3 a {
  color: var(--brown);
  text-decoration: underline;
  font-weight: 600;
}
.dest-info-col p {
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* "Discover More" button */
.dest-discover-btn {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  padding: 0.5rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, transform 0.3s;
}
.dest-discover-btn:hover {
  background: var(--burnt-orange);
  transform: translateY(-2px);
}

/* FINAL CTA BANNER */
.final-cta-banner {
  background: var(--sunset-gradient);
  color: #fff;
  padding: 2rem 5%;
  text-align: center;
}
.final-cta-content {
  max-width: 800px;
  margin: 0 auto;
}
.final-cta-content h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #fff;
}
.final-cta-content p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
  line-height: 1.8;
}
.cta-buttons {
  display: flex;
    flex-wrap: wrap; /* allows wrap on smaller devices */
    justify-content: center;
    gap: 1rem;
}
.cta-buttons .btn {
  margin: 0;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .destinations-overview p,
  .safari-destinations p,
  .destinations-trekking p,
  .destinations-beaches p {
    margin: 0 1rem 1rem 1rem;
  }

  .dest-item {
    flex-direction: column; /* stack photo + text */
  }
  .dest-photo-col, 
  .dest-info-col {
    order: unset; /* default order on small screens */
    flex: 1 1 auto;
  }
}