
#locations {
  padding: 4rem 0;
}
#locations h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.locations-viewport {
  overflow: hidden;
  border-radius: 1rem;
}
.locations-track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.location-card {
  flex: 0 0 calc(25% - 1.125rem);
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: transform 0.3s ease;
}
.location-card:hover {
  transform: translateY(-4px);
}
.location-card img {
  width: 100%;
  height: 18rem;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.location-card:hover img {
  transform: scale(1.08);
}
.location-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.7) 100%
  );
}
.location-info h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}
.location-info p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  margin: 0;
}
.locations-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.5rem;
}
.loc-btn {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  border: 1px solid var(--highlight-dark);
  background: var(--highlight-light);
  color: var(--headings);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.loc-btn:hover {
  background: var(--headings);
  color: #fff;
}
.dark-theme .loc-btn:hover {
  background: var(--waves-color);
  color: #0b1221;
}

#activities {
  padding: 4rem 1.5rem;
}
#activities h2 {
  text-align: center;
  margin-bottom: 3rem;
}
.activities-grid {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 2rem;
}
.activity-card {
  flex: 1;
  position: relative;
  transition: transform 0.3s ease;
}
.activity-card:hover {
  transform: translateY(-4px);
}
.activity-card img {
  border-radius: 1rem;
  width: 100%;
  height: 17.5rem;
  object-fit: cover;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}
.activity-card:hover img {
  transform: scale(1.02);
}
.activity-card h3 {
  font-size: var(--h3);
  margin-bottom: 0.5rem;
}
.activity-card p {
  font-size: 0.85rem;
  max-width: 300px;
  line-height: 1.5;
  color: var(--paragraph);
}

.gallery-cta {
  text-align: center;
  margin-top: 2rem;
}

.gallery-cta .primary-btn {
  padding: 1.1rem 2.4rem;
  font-size: 1.1rem;
}

#testimonials {
  padding: 4rem 0 5rem 0;
}
.testimonials-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}
#testimonials h2 {
  text-align: center;
  margin: 0;
}
.testimonials-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.testimonials-review-btn i {
  font-size: 1rem;
}
.dark-theme .testimonials-review-btn {
  border-color: rgba(245, 201, 79, 0.45);
  background: rgba(245, 201, 79, 0.08);
  color: #f5f7fb;
}
.dark-theme .testimonials-review-btn:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #f5c94f, #ffd872);
  border-color: #ffd872;
  color: #101828;
  box-shadow: 0 14px 30px rgba(245, 201, 79, 0.28);
}
.dark-theme .testimonials-review-btn:hover i {
  color: #101828;
}

.testimonials-slider-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonials-slider-viewport {
  overflow: hidden;
  flex: 1;
}
.testimonials-slider-track {
  display: flex;
  transition: transform 0.4s ease;
}
.testimonials-slider-track .testimonial-card {
  flex: 0 0 calc(33.333% - 1rem);
  margin-right: 1.5rem;
}
.ts-arrow {
  background: var(--highlight-light);
  border: 1px solid var(--highlight-dark);
  color: var(--headings);
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}
.ts-arrow:hover {
  background: var(--waves-color);
  color: #fff;
  border-color: var(--waves-color);
}
.dark-theme .ts-arrow {
  background: #1f2937;
  border-color: #374151;
  color: var(--headings);
}
.dark-theme .ts-arrow:hover {
  background: var(--waves-color);
  color: #fff;
}
.ts-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}
.ts-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--highlight-dark);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.ts-dot.active {
  background: var(--waves-color);
  transform: scale(1.3);
}
.testimonial-card {
  background: var(--highlight-light);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--highlight-dark);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.12);
}
.dark-theme .testimonial-card {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
.dark-theme .testimonial-card:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
}
.testimonial-stars {
  display: flex;
  gap: 0.2rem;
  margin-bottom: 1rem;
}
.testimonial-stars i {
  color: #f5c94f;
  font-size: 1rem;
}
.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--paragraph);
  margin-bottom: 1.5rem;
  font-style: italic;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.testimonial-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--waves-color), var(--accent-amber));
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.testimonial-author h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--headings);
  margin-bottom: 0.15rem;
}
.testimonial-author p {
  font-size: 0.8rem;
  color: var(--paragraph);
  margin: 0;
}

@media screen and (max-width: 1050px) {
  #locations {
    padding: 3rem 0;
  }
  .location-card {
    flex: 0 0 calc(33.333% - 1rem);
  }
  .location-card img {
    height: 15rem;
  }
  .activity-card img {
    height: 14rem;
  }
  #testimonials {
    padding: 3rem 0 4rem 0;
  }
  .testimonials-header {
    flex-direction: column;
    align-items: center;
  }
}
@media screen and (max-width: 768px) {
  .locations-viewport {
    padding: 0 0.25rem;
  }
  .locations-track {
    gap: 1rem;
  }
  .location-card {
    flex: 0 0 calc(50% - 0.5rem);
  }
  .activities-grid {
    flex-wrap: wrap;
  }
  .activity-card {
    flex: 0 0 calc(50% - 1rem);
  }
  .activity-card p {
    max-width: none;
  }
  .testimonials-slider-track .testimonial-card {
    flex: 0 0 100%;
    margin-right: 0;
  }
  .testimonials-review-btn {
    width: 100%;
    justify-content: center;
    max-width: 20rem;
  }
}
@media screen and (max-width: 500px) {
  .locations-viewport {
    padding: 0;
  }
  .location-card {
    flex: 0 0 100%;
  }
  .location-card img {
    height: 20rem;
  }
  .activities-grid {
    flex-direction: column;
  }
  .activity-card {
    flex: 1;
  }
  .activity-card img {
    height: 18rem;
  }
}
