/*********************************************
  BEACHES PAGE STYLES
**********************************************/

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

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

/* BEACH DESTINATIONS: text left, image right */
.beach-destination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin: 2rem auto;
  padding: 0 5%;
  max-width: 1200px;
}
.beach-text-col {
  flex: 1 1 400px;
  order: 1; /* text first, image second for wide screens */
}
.beach-text-col h3 {
  margin-bottom: 0.5rem;
  color: var(--brown);
}
.beach-text-col p {
  line-height: 1.8;
  margin-bottom: 1rem;
}
.btn-beach {
  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;
}
.btn-beach:hover {
  background: var(--burnt-orange);
}
.beach-image-col {
  flex: 1 1 400px;
  order: 2;
  text-align: center;
}
.beach-image {
  width: 100%;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
}

/* BEACH ACCOMMODATIONS */
.beach-accommodations {
  padding: 2rem 5%;
  text-align: center;
  background: #fafafa;
}
.beach-accommodations h2 {
  margin-bottom: 1.5rem;
  color: var(--brown);
}
.beach-accommodations p {
  max-width: 900px;
  margin: 0 auto 2rem auto;
  line-height: 1.8;
}
.beach-accommodations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}
.beach-accommodation-item {
  background: #fff;
  border-radius: 6px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  width: 90%;
  max-width: 350px;
  padding: 1rem;
  text-align: left;
}
.beach-accommodation-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}
.beach-accommodation-item h3 {
  margin-bottom: 0.3rem;
  color: var(--brown);
}

/* COMBINE CTA (Safaris, Trekking) */
.combine-cta {
  padding: 2rem 5%;
  background: var(--beige);
  text-align: center;
}
.combine-cta h2 {
  margin-bottom: 1rem;
  color: var(--brown);
}
.combine-cta p {
  max-width: 900px;
  margin: 0 auto 1.5rem auto;
  line-height: 1.8;
}
.combine-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}
.combine-cta-buttons .btn {
  margin: 0;
}

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

/* 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: nowrap;
  gap: 1rem;
  justify-content: center;
  white-space: nowrap;
}

/* FORCE CTA BUTTONS ON A SINGLE LINE FOR LAPTOP+ */
@media (min-width: 992px) {
  .combine-cta-buttons {
    flex-wrap: nowrap; /* all in one line if space allows */
  }
  .cta-buttons {
    flex-wrap: nowrap; /* final CTA banner buttons in one line */
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .beach-destination {
    flex-direction: column;
  }
  .beach-text-col,
  .beach-image-col {
    order: unset;
    flex: 1 1 auto;
  }
  .beach-accommodations-grid {
    grid-template-columns: 1fr; /* single column on mobile */
  }
}