/* Modern ve ilham alınmış carousel stilleri */
.carousel-outer {
  width: 100%;
  max-width: 2200px;
  margin: 0 auto 0px auto;
  overflow: hidden;
  border-radius: 32px;
  box-shadow: 0 16px 48px -12px rgba(60,40,120,0.22), 0 2px 8px 0 rgba(60,40,120,0.08);
  background: rgba(40,44,70,0.82);
  position: relative;
}

.carousel-list {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0;
  transition: transform 0.7s cubic-bezier(.7,-0.2,.3,1.1);
  will-change: transform;
}

.carousel-item {
  position: relative;
  min-width: 440px;
  width: 440px;
  height: 260px;
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  background: none;
  box-shadow: 0 4px 18px 0 rgba(33,150,243,0.10), 0 1.5px 4px 0 rgba(0,0,0,0.08);
  display: block;
  flex-shrink: 0;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.carousel-item:hover {
  box-shadow: 0 8px 32px 0 rgba(33,150,243,0.18), 0 2px 8px 0 rgba(60,40,120,0.18);
  z-index: 1;
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg,rgba(60,40,120,0.72) 0%,rgba(120,80,255,0.62) 100%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-family: 'Segoe UI', 'Montserrat', 'Arial', sans-serif;
  color: #fff;
  font-size: 1.18em;
  font-weight: 600;
  text-align: center;
  padding: 10px 0 8px 0;
  border-radius: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.carousel-item:hover .carousel-caption {
  opacity: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  filter: drop-shadow(0 2px 8px rgba(60,40,120,0.10)) blur(0.5px);
  transition: filter 0.3s ease;
}

.carousel-item:hover img {
  filter: drop-shadow(0 8px 24px rgba(60,40,120,0.18)) blur(0.8px);
}

.carousel-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  background: linear-gradient(120deg,rgba(255,255,255,0.08) 0%,rgba(120,80,255,0.10) 100%);
  opacity: 0.7;
  z-index: 1;
}

@keyframes captionFadeIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.carousel-arrow {
  font-family: 'Segoe UI', 'Montserrat', 'Arial', sans-serif;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(120deg,rgba(60,40,120,0.22) 0%,rgba(120,80,255,0.18) 100%);
  border: none;
  color: #fff;
  font-size: 2.4em;
  padding: 0 18px;
  height: 60px;
  cursor: pointer;
  z-index: 10;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 12px 0 rgba(60,40,120,0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
  user-select: none;
  -webkit-user-select: none;
  pointer-events: auto;
  opacity: 0.9;
}

.carousel-arrow:hover {
  background: linear-gradient(120deg,rgba(120,80,255,0.32) 0%,rgba(60,40,120,0.32) 100%);
  box-shadow: 0 4px 18px 0 rgba(33,150,243,0.18), 0 0 0 2px rgba(124,58,237,0.3);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.carousel-arrow:active {
  transform: translateY(-50%) scale(1.05);
}

.carousel-arrow.left {
  left: 8px;
}

.carousel-arrow.right {
  right: 8px;
}

.carousel-pagination {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 12px;
  display: flex;
  justify-content: center;
  gap: 10px;
  z-index: 10;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(120,80,255,0.22);
  box-shadow: 0 2px 8px 0 rgba(60,40,120,0.10);
  transition: background 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  background: linear-gradient(120deg,#7c3aed 0%,#4527a0 100%);
  transform: scale(1.18);
}

.carousel-dot:hover {
  transform: scale(1.1);
  background: rgba(120,80,255,0.35);
}

@media (max-width: 600px) {
  .carousel-outer {
    max-width: 98vw;
    border-radius: 18px;
  }
  
  .carousel-item {
    min-width: 320px;
    width: 320px;
    height: 180px;
  }
  
  .carousel-arrow {
    font-size: 1.8em;
    padding: 0 12px;
    height: 48px;
  }
  
  .carousel-arrow.left {
    left: 4px;
  }
  
  .carousel-arrow.right {
    right: 4px;
  }
  
  .carousel-caption {
    font-size: 1em;
    padding: 8px 0 6px 0;
  }
}
