/*
Theme Name: Stockholm Child
Theme URI: https://stockholmlanding.qodeinteractive.com/
Description: A child theme of Stockholm Theme
Author: Select Themes
Author URI: https://qodeinteractive.com/
Version: 1.1.2
Text Domain: stockholm
Template: stockholm
*/

.custom-slider {
  position: relative;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
}

.slides {
  position: relative;
  width: 100%;
  height: 500px; /* adjust as needed */
}

.slide {
  position: absolute;
  top: 0;
  left: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.6s ease-in-out;
}

.slide.active {
  left: 0;
  opacity: 1;
  z-index: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

/* Arrows */
.custom-slider button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 50%;
  transition: background 0.3s;
  z-index: 2;
}
.custom-slider button:hover {
  background: rgba(0,0,0,0.8);
}
.prev { left: 15px; }
.next { right: 15px; }

/* Dots */
.dots {
  text-align: center;
  position: absolute;
  bottom: 15px;
  width: 100%;
  z-index: 2;
}
.dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}
.dots span.active {
  background: white;
}

