/* Custom CSS for background images and other styles */

/* Prevent horizontal scrolling on the entire page and add padding for fixed header */
html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  padding-top: 80px; /* Adjust based on your header height */
  font-weight: 400; /* Set default font weight to normal (400) to match original */
  color: #4A4A4A; /* Set default text color to match original */
}

/* Ensure Helvetica font renders with proper weight and color */
.font-helvetica {
  font-family: "Helvetica", Arial, sans-serif;
  font-weight: 400;
  color: #4A4A4A; /* Medium gray color from original */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (min-width: 768px) {
  body {
    padding-top: 90px; /* Slightly larger padding for larger screens */
  }
}

.laundry-bg {
  background-image: url("../images/homepage/laundry.png");
  background-size: cover;
  background-position: center;
}

/* Swiper Custom Styles */
.swiper-pagination-bullet {
  background-color: #e0e0e0;
  width: 15px;
  height: 15px;
  opacity: 1;
  transition: background-color 0.3s ease;
}

.swiper-pagination-bullet-active {
  background-color: #4a4a4a;
}

.custom-swiper-button-next {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background-color: #676766;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-swiper-button-next:hover {
  background-color: #585858;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.custom-swiper-button-next:active {
  transform: translateY(-50%) scale(0.95);
}

.custom-arrowSwiper {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background-color: #676766;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-arrowSwiper:hover {
  background-color: #585858;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.custom-arrowSwiper:active {
  transform: translateY(-50%) scale(0.95);
}

.custom-arrowSwiper-left {
  position: absolute;
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
  z-index: 10;
  width: 50px;
  height: 50px;
  background-color: #676766;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.custom-arrowSwiper-left:hover {
  background-color: #585858;
  box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2);
}

.custom-arrowSwiper-left:active {
  transform: translateY(-50%) scale(0.95);
}

@media screen and (min-width: 600px) and (max-width: 1249px) {
  .swiper-pagination-bullet {
    background-color: #e0e0e0;
    width: 10px;
    height: 10px;
    opacity: 1;
    transition: background-color 0.3s ease;
  }

  .swiper-pagination-bullet-active {
    background-color: #4a4a4a;
  }
  
  .swiper-pagination {
    bottom: 10px !important;
  }
}

/* Range slider styles */
.slider-container {
  position: relative;
  width: 300px;
  text-align: center;
}

.tooltip-container {
  position: relative;
}

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 10px;
  background: #b6a55f;
  border-radius: 5px;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: #4a4a4a;
  border-radius: 50%;
  cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: #4a4a4a;
  border-radius: 50%;
  cursor: pointer;
  border: none;
}
