/* =================================
   Homepage Destinations Slider Section - Eternal Roam
   ================================= */

.immersive-destinations {
  position: relative;
  padding: 5rem 2rem;
  overflow: hidden;
  background: linear-gradient(135deg, #f8f7f2 0%, #f0efea 50%, #f8f7f2 100%); /* Subtle gradient background */
  border-top: 1px solid rgba(175, 138, 86, 0.2); /* Subtle top border */
  border-bottom: 1px solid rgba(175, 138, 86, 0.2); /* Subtle bottom border */
}

.destinations-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(175, 138, 86, 0.05) 0%, transparent 70%); /* Subtle radial overlay */
  z-index: -1;
}

.destination-showcase {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 60px;
}

.destination-slider {
  position: relative;
  width: 100%;
  height: 550px;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.destination-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transform: translateX(50px);
  box-shadow: var(--shadow-md);
  border-radius: var(--radius-lg);
  background-color: var(--bg-alt);
  overflow: hidden;
}

.destination-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.destination-visual {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.destination-image {
  width: 100%;
  height: 100%;
}

.destination-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}

.destination-slide:hover .destination-image img {
  transform: scale(1.1);
}

.location-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background-color: var(--accent-primary);
  color: var(--text-light);
  font-size: var(--er-fs-floor);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.destination-details {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.details-content {
  max-width: 800px;
  margin: 0 auto;
}

.destination-type {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-primary);
  font-size: var(--er-fs-floor);
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.destination-highlights {
  margin-bottom: 1.5rem;
}

.highlights-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 0, 0, 0.03);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-size: var(--er-fs-floor);
}

.highlight-item i {
  color: var(--tertiary-color);
}

.prev-destination {
  left: 0;
}

.next-destination {
  right: 0;
}

.prev-destination i,
.next-destination i {
  color: var(--accent-primary);
  font-size: var(--er-fs-floor);
}

.view-more-wrapper {
  text-align: center;
  margin-top: 2rem;
}

/* Responsiveness */
@media (min-width: 992px) {
  .destination-slide {
    flex-direction: row;
    height: 400px;
  }
  
  .destination-visual {
    width: 50%;
    height: 100%;
  }
  
  .destination-details {
    width: 50%;
  }
}

@media (max-width: 768px) {
  .destination-showcase {
    padding: 0 40px;
  }
  
  .destination-slide {
    height: auto;
    min-height: 650px;
  }
}
