/* ===== Section Spacing ===== */
section {
  margin-bottom: 60px !important;
  margin-top: 0 !important;
}

section:first-of-type {
  margin-top: 0;
}

section:last-child {
  margin-bottom: 0 !important;
}

/* Remove no-bottom class effect */
section.no-bottom {
  margin-bottom: 60px !important;
}

/* Add spacing after carousel section */
.mh-800 {
  margin-bottom: 40px !important;
}

/* ===== Text & Typography Spacing ===== */
p {
  line-height: 1.8 !important;
  word-spacing: 0.1em !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 1.5rem !important;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3 !important;
  letter-spacing: 0.5px !important;
  margin-bottom: 1rem !important;
  word-spacing: 0.05em !important;
}

/* Subtitle and descriptive text */
.subtitle {
  line-height: 1.6 !important;
  word-spacing: 0.1em !important;
}

/* Form labels and smaller text */
label, .tefs-18, small {
  line-height: 1.6 !important;
  word-spacing: 0.05em !important;
}

/* Cards and boxes text */
.room-item p, .amenity-feature p, .day-card .day-desc {
  line-height: 1.8 !important;
  word-spacing: 0.1em !important;
}

/* List items */
li {
  line-height: 1.7 !important;
  word-spacing: 0.1em !important;
  margin-bottom: 0.5rem !important;
}

@media (max-width: 768px) {
  section {
    margin-bottom: 40px !important;
  }
  
  .mh-800 {
    margin-bottom: 30px !important;
  }
  
  p {
    font-size: 15px !important;
    line-height: 1.7 !important;
  }
  
  h2, h3 {
    line-height: 1.4 !important;
  }
}

/* ===== Swiper Pagination - Pill Style ===== */
.swiper-pagination {
  width: auto !important;
  position: absolute;
  left: 50% !important;
  transform: translateX(-50%);
  right: auto !important;
  bottom: 30px !important;
  display: flex !important;
  gap: 3px;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.15) !important;
  padding: 12px 20px !important;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 15px;
  color: #ffffff;
  font-weight: 600;
  z-index: 10;
  text-align: center;
  line-height: 1.2;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.4) !important;
  border-radius: 50%;
  opacity: 1 !important;
  transition: all 0.4s ease;
  cursor: pointer;
  margin: 0 !important;
  display: none;
}

.swiper-pagination-bullet-active {
  background: #ffffff !important;
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 4px 12px rgba(250, 106, 46, 0.3);
  display: none;
}

/* ===== Fraction Pagination Styling ===== */
.swiper-pagination-fraction {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  bottom: auto !important;
  position: static !important;
  width: auto;
  display: flex;
  gap: 3px;
}

.swiper-pagination-current,
.swiper-pagination-total {
  font-size: 16px;
  color: #ffffff;
  font-weight: 600;
  display: inline;
  position: static;
  background: none;
  padding: 0;
  min-width: auto;
}

.swiper-pagination-current::after {
  content: ' / ';
  margin: 0 2px;
}

/* ===== Carousel Navigation Buttons ===== */
.swiper-button-next,
.swiper-button-prev {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  top: 50%;
  position: absolute;
  z-index: 5;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
  font-weight: bold;
}

.swiper-button-next {
  right: 20px;
  transform: translateY(-50%);
}

.swiper-button-prev {
  left: 20px;
  transform: translateY(-50%);
}

.slider-light .swiper-button-next,
.slider-light .swiper-button-prev {
  background: rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.slider-light .swiper-button-next:hover,
.slider-light .swiper-button-prev:hover {
  background: rgba(0, 0, 0, 0.15);
  border-color: rgba(0, 0, 0, 0.3);
}

/* ===== Bootstrap Carousel Indicators ===== */
.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  gap: 8px;
}

.carousel-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  opacity: 1;
  transition: all 0.4s ease;
  cursor: pointer;
}

.carousel-indicators .active {
  width: 28px;
  border-radius: 5px;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(250, 106, 46, 0.3);
}

/* ===== Owl Carousel Dots ===== */
.owl-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
  padding: 15px 0;
  margin-top: 20px;
}

.owl-dot {
  width: 10px;
  height: 10px;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.4s ease;
  border: none;
  opacity: 1;
}

.owl-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(250, 106, 46, 0.3);
}

/* ===== Smooth Slide Transitions ===== */
.swiper-slide {
  transition-property: transform, opacity;
  transition-duration: 0.6s;
  transition-timing-function: ease-out;
}

.carousel-item {
  transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
}

/* ===== Light Slider Support ===== */
.slider-light .carousel-indicators {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
}

.slider-light .carousel-indicators [data-bs-target] {
  background: rgba(0, 0, 0, 0.2);
}

.slider-light .carousel-indicators .active {
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ===== Mobile Responsive ===== */
@media (max-width: 768px) {
  .swiper-pagination {
    bottom: 15px;
    padding: 8px 14px;
    font-size: 13px;
    gap: 0;
  }

  .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
  }

  .swiper-pagination-bullet-active {
    width: 24px;
  }

  .swiper-pagination-current {
    font-size: 13px;
    padding: 4px 10px;
    min-width: 40px;
  }

  .swiper-pagination-total {
    font-size: 13px;
  }

  .swiper-button-next,
  .swiper-button-prev {
    width: 36px;
    height: 36px;
  }

  .swiper-button-next:after,
  .swiper-button-prev:after {
    font-size: 14px;
  }

  .swiper-button-next {
    right: 10px;
  }

  .swiper-button-prev {
    left: 10px;
  }

  .carousel-indicators {
    bottom: 10px;
    padding: 8px 12px;
    gap: 6px;
  }

  .carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
  }

  .carousel-indicators .active {
    width: 24px;
  }

  .owl-dot {
    width: 8px;
    height: 8px;
  }

  .owl-dot.active {
    width: 24px;
  }
}

/* ===== Light Slider - Dark Text Pagination ===== */
.slider-light .swiper-pagination {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.15);
  color: var(--primary-color);
}

.slider-light .swiper-pagination-current {
  background: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.slider-light .swiper-pagination-total {
  color: rgba(0, 0, 0, 0.6);
}

.slider-light .swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.2);
}

.slider-light .swiper-pagination-bullet-active {
  background: var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ===== Animation for Slide Entry ===== */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.swiper-slide-active {
  animation: slideInUp 0.6s ease-out;
}

/* ===== Swiper Container Overflow Fix ===== */
.swiper {
  overflow: hidden;
}

.swiper-wrapper {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ===== Gradient Overlay on Pagination (Optional) ===== */
.carousel-overlay::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent);
  pointer-events: none;
}
