/* Home Page */

/* Hero section */
.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url("/images/beach-114814-banner.jpg") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: left;
  align-items: start;
  text-align: left;
  padding: 2rem;
  color: #fff; /* "color" in CSS */
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.407);
}

.hero .hero-overlay {
  position: relative;
  z-index: 1;
  padding: 0 1rem;
}

.hero-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 600px;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}

.hero .cta-button {
  padding: 0.75rem 1.5rem;
  background-color: rgba(0, 0, 0, 0.7);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.3s;
}

.hero .cta-button:hover {
  background-color: rgba(0, 0, 0, 0.9);
}

/* Featured Destinations */
.featured-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 3rem 2rem;
  background-color: #fff;
}

.featured-section h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.featured-destinations {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
}

.destinations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
}

.destination {
  background-color: #f1f1f1;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.destination img {
  width: 100%;
  height: 450px;
  display: block;
  object-fit: cover;
}

.destination h3 {
  margin: 1rem;
  font-size: 1.2rem;
}

.destination p {
  margin: 0 1rem 1rem;
  line-height: 1.4;
}

/* Reviews Section */
.reviews {
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 3rem 2rem;
  background-color: #fff;
}

.reviews h2 {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
}

.review-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.review-item {
  background-color: #f1f1f1;
  padding: 1rem;
  border-radius: 4px;
  box-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
  font-style: italic;
}

/* Call-to-action for more info */
.cta-info {
  text-align: center;
  padding: 3rem 2rem;
}

.cta-button {
  padding: 0.75rem 1.5rem;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.3s;
  box-shadow: 0px 4px 0px rgba(161, 161, 161, 0.356);
}
.cta-button a {
  text-decoration: none;
  color: #fff;
  text-align: center;
}
.cta-button:hover {
  background-color: #00b3aa;
}