/*=========================================
  Location Slider CSS
=========================================*/

.location-slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.location-slider {
  position: relative;
  z-index: 1;
}

/* Ensure Slick slider works properly */
.location-slider .slick-list {
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.location-slider .slick-track {
  display: flex !important;
  height: 100% !important;
}

.location-slider .slick-slide {
  height: auto !important;
  float: none !important;
}

.location-slider .slick-slide > div {
  height: 100%;
}

.location-slide {
  outline: none;
  padding: 20px;
  height: 100%;
}

.location-title {
  text-align: center;
  margin-bottom: 20px;
  padding: 20px;
  background: linear-gradient(135deg, #2c5aa0 0%, #667eea 100%);
  border-radius: 10px;
  color: white;
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.location-title h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 8px;
  color: white;
  font-family: 'Rubik', sans-serif;
}

.location-title .address {
  font-size: 16px;
  margin: 0;
  opacity: 0.9;
  font-family: 'Albert Sans', sans-serif;
}

.location-slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  z-index: 2;
  pointer-events: none;
}

.location-slider-nav button {
  width: 50px;
  height: 50px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: #2c5aa0;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
  pointer-events: all;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  border: 2px solid #2c5aa0;
}

.location-slider-nav button:hover {
  background: #2c5aa0;
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.location-slider-nav button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.3);
}

.location-slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.location-slider-dots .slick-dots {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.location-slider-dots .slick-dots li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid #2c5aa0;
}

.location-slider-dots .slick-dots li.slick-active {
  background: #2c5aa0;
  transform: scale(1.2);
}

.location-slider-dots .slick-dots li button {
  display: none;
}

/* Hide default slick arrows when using custom ones */
.location-slider .slick-prev,
.location-slider .slick-next {
  display: none !important;
}

/* Responsive adjustments */
@media screen and (max-width: 767.98px) {
  .location-title h3 {
    font-size: 20px;
  }
  
  .location-title .address {
    font-size: 14px;
  }
  
  .location-slider-nav button {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .location-slider-nav {
    padding: 0 10px;
  }
  
  .location-slide {
    padding: 15px;
  }
  
  .location-title {
    padding: 15px;
    margin-bottom: 15px;
  }
}

@media screen and (max-width: 575.98px) {
  .location-slider-nav button {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
  
  .location-slider-dots .slick-dots li {
    width: 10px;
    height: 10px;
  }
  
  .location-title h3 {
    font-size: 18px;
  }
  
  .location-title .address {
    font-size: 13px;
  }
}
