/* Why to visit */
.why-to-visit {
  padding: 50px;
  background: #fff;
  border-radius: 1rem;
}

.why-to-visit__wrapper {
  display: flex;
  gap: 160px;
}

.why-to-visit-text-title h2 {
  /* Dynamic color set inline or via CSS variable */
}

.why-to-visit-text-desc p {
  /* Dynamic color set inline or via CSS variable */
}

.why-to-visit-feature-list {
  max-width: 450px;
}

.why-to-visit-feature {
  margin-top: 28px;
}

.why-to-visit-feature-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-to-visit-feature-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.why-to-visit-feature-title {
  font-weight: 600;
  margin: 12px 0;
}

.why-to-visit-feature-desc {
  font-size: 95%;
  margin-bottom: 0;
}

.why-to-visit-media {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 1rem;
}

.why-to-visit-media-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #eee;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2;
}

.why-to-visit-media-image > img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
}

.why-to-visit-media-image-btn {
  width: 100%;
  position: absolute;
  left: 0;
  bottom: 40px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-secondary);
  font-size: 50px;
  cursor: pointer;
}

/* When to go section */
.when-to-go {
  margin-top: 50px;
  padding-top: 80px;
  border-top: 1px solid rgba(237, 237, 237, 1);
}

.when-to-go__header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.when-to-go__legend {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: #444;
}

.when-to-go__dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 6px;
}

.when-to-go__dot.excellent { background: #007499; }
.when-to-go__dot.good { background: #c79c19; }
.when-to-go__dot.poor { background: #d9edf5; border: 1px solid #7aa4b2; }

.when-to-go__content {
  justify-content: space-between;
  background: #e9f4f9;
  border-radius: 10px;
  padding: 20px;
  gap: 2rem;
  flex-wrap: nowrap;
}

.when-to-go__info {
  padding-top: 20px;
  margin-bottom: 0;
  font-size: 16px;
  font-weight: 350;
}

.when-to-go__months {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.when-to-go__month {
    width: 50px;
    height: 50px;
    border-radius: 20px;
    font-size: 14px;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #007499;
    color: #fff;
}
.when-to-go__month.active {
    background-color: #cd9e0f;
}


.when-to-go__month.poor {
  background: #d9edf5;
  color: #7aa4b2;
}

.when-to-go__month.good {
  background: #c79c19;
  color: #fff;
}

.when-to-go__month.excellent {
  background: #007499;
  color: #fff;
}

/* Specialists Section */
.why-wayfarer-planning-section {
  margin-top: 50px;
  padding-top: 80px;
  border-top: 1px solid rgba(237, 237, 237, 1);
}

.why-wayfarer-planning-inner {
  margin: 0 auto;
  background-color: #ffffff;
  border-radius: 20px;
}

/* Container and Layout */
.why-wayfarer-planning-container {
  display: flex;
  gap: 40px;
  background: #e9f4f9;
  padding: 20px;
  border-radius: 10px;
}

.why-wayfarer-content {
  flex: 1;
  min-width: 220px;
}

.why-wayfarer-description {
  margin-bottom: 10px;
  font-size: 16px;
}

.why-wayfarer-slider-area {
  flex: 2;
  max-width: 65%;
}

.why-wayfarer-planning-title {

}

.why-wayfarer-planning-description {
}

.why-wayfarer-enquire-button {
    background-color: rgb(191, 160, 40);
    color: rgb(255, 255, 255);
    display: inline-block;
    font-size: 16px;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
    border-radius: 30px;
    padding: 15px 35px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.why-wayfarer-enquire-button:hover {
  background-color: var(--primary-color);
}

.why-wayfarer-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.why-wayfarer-team-member-slide {
  flex: 0 0 20%; /* Show 5 slides at a time */
  box-sizing: border-box;
  padding: 0 10px;
  text-align: center;
}

.why-wayfarer-member-image-wrapper {
  margin-bottom: 15px;
}

.why-wayfarer-member-image {
    aspect-ratio: 1 / 1;
    width: 150px;
    height: auto;
    border-radius: 40px;
    object-fit: cover;
    display: block;
}

.why-wayfarer-member-name {
  color: #008c99;
  font-weight: 600;
  font-size: 0.9rem;
}

.why-wayfarer-slider-navigation {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

.why-wayfarer-slider-button {
  border: none;
  border-radius: 50%;
  background: none;
}

.why-wayfarer-slider-button circle{
  fill: #2997be;
  transition: fill .2s ease-in-out;
}

.why-wayfarer-slider-button:hover circle{
  fill: #ffff;
  transition: fill .2s ease-in-out;
}

.why-wayfarer-slider-button svg{
  fill: #ffffff;
  transition: fill .2s ease-in-out;
}

.why-wayfarer-slider-button:hover svg{
  fill: #2997be;
  transition: fill .2s ease-in-out;
}

.why-wayfarer-slider-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background-color: #ccc;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .why-wayfarer-planning-container {
    flex-direction: column;
  }
  .why-wayfarer-slider-area {
    max-width: 100%;
    width: 100%;
  }
  .why-wayfarer-team-member-slide {
    flex-basis: 33.33%; 
  }
  .why-wayfarer-member-image {
    aspect-ratio: 1 / 1;
    width: 150px;
    height: auto;
    border-radius: 40px;
    object-fit: cover;
    display: block;
  } 
}

@media (max-width: 576px) {
  .why-wayfarer-planning-inner {
    padding: 5px;
  }
  .why-wayfarer-team-member-slide {
    flex-basis: 50%; 
  }
  .why-wayfarer-member-image {
    aspect-ratio: 1 / 1;
    border-radius: 50px;
    height: 130px;
    object-fit: cover;
    width: 100%;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .when-to-go__content {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 992px) {
  .swiper-pagination{
  display: none;
  }
  
  .when-to-go__months {
    flex-wrap: wrap;
  }
  .why-to-visit__wrapper {
    gap: 80px;
  }
}

@media (max-width: 767px) {
  .why-to-visit {
    padding: 30px;
    gap: 50px;
  }
  .why-to-visit__wrapper {
    flex-direction: column;
  }

  @media (max-width: 992px) {
   .swiper-wrapper {
    justify-content: flex-start !important;
    }
}

