/* Kenburns Carousel Styles */
.kenburn-slider {
  width: 970px;
  max-width: 100%;
  margin: 30px auto 0px auto;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  height: 550px; /* Increased height */
}

.kenburn-slider .slides {
  list-style: none;
  overflow: hidden;
  margin: 0;
  padding: 0;
  position: relative;
  height: 550px; /* Increased height */
}

.kenburn-slider .slides > li {
  width: 100%;
  height: 550px; /* Increased height */
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transition: opacity 1s;
}

.kenburn-slider .slides > li.flex-active-slide {
  opacity: 1;
  z-index: 2;
}

.slide-image {
  background-size: cover;
  background-position: center;
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  animation: zoomout 5s;
}

@keyframes zoomout {
  0% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

/* Add these styles for the horizontal carousel */
.slides-horizontal {
  display: flex;
  transition: transform 0.6s cubic-bezier(.77,0,.18,1);
  width: 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}

.slides-horizontal li {
  min-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

.slides-horizontal img {
  width: 100%;
  height: 550px; /* Increased height */
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 8px 32px 0 rgba(0,0,0,0.12);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.7);
  border: none;
  font-size: 2rem;
  color: #481B79;
  padding: 8px 18px;
  border-radius: 100%;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s;
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-btn:hover {
  background: #c7a46e;
  color: #fff;
}