.carousel-cs-caption {
  position: relative;
  height: 100%;
}
.content-cs-wrapper {
  position: absolute; 
  left: 0;
  z-index: 2;
  width: 50%;
  top: 50%;
  transform: translateY(-50%);
}
.carousel-cs-caption h1 {    
    font-weight: 700;
    /* font-size: 48px; */
    font-size: clamp(0.8rem, 2vw + 1rem, 4.5rem);
    /* font-size: 4vw; */
    margin-bottom: 15px;
}
.carousel-cs-caption p {
    /* font-size: 18px; */
    font-size: clamp(0.8rem, 0.8vw + 0.5rem, 1.4rem);
}
.carousel-cs-caption a {
    color: #fff;
}
.slide-cs-button:hover {
  filter: brightness(1.5);
}
.slide-cs-control {
  display: inline-block;
  width: 60px;
  height: 60px;
  background-color: #ffffff32;
  text-align: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  line-height: 84px;
}
.slide-cs-control:hover {
  background-color: #ffffff54;
}
.slide-cs-control.ctrl-prev {
  left: 0;
}
.slide-cs-control.ctrl-next {
  right: 0;
}
.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;     /* tam genişlik */
  height: 100%;    /* tam yükseklik */
  background: linear-gradient(to right, rgb(60 137 225) 0%, rgb(60 137 225 / 62%) 31%, rgba(255, 255, 255, 0) 85%);
  pointer-events: none; /* tıklanabilir öğeleri etkilemesin */
  z-index: 2; /* görsellerin üstünde, yazıların altında istersen ayarlayabilirsin */
}
.carousel-cs-bg-image {
  height: calc(100vh - 138px); 
  width: 100%; 
  background-position: center;
  -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  background-repeat: no-repeat;
  position: relative;
}
.carousel-item .carousel-cs-caption .content-cs-wrapper>* {
    opacity: 0;
}
.carousel-item.active .carousel-cs-caption .anm-1 {
  animation: slideAnimation1 1s ease .2s forwards;
}
.carousel-item.active .carousel-cs-caption .anm-2 {
  animation: slideAnimation1 1s ease .6s forwards;
}
.carousel-item.active .carousel-cs-caption .anm-3 {
  animation: slideAnimation1 1s ease 1s forwards;
}

@keyframes slideAnimation1 {
  0% {
    opacity: 0;
    top: 50px;
    transform: translateX(20px); /* 👈 sağdan sola 20px kayarak başla */
  }
  100% {
    opacity: 1;
    top: 0;
    transform: translateX(0);    /* 👈 konum normale gelsin */
  }
}
.carousel-cs-caption:after {
  content: "";
  display: block;
  padding-top: 70%;
}
@media (max-width: 1299px){
   .carousel-cs-bg-image {
      height: 100%; 
   }
}
@media (max-width: 1199px){
   .content-cs-wrapper {
      width: 70%;
   }
   .carousel-cs-caption:after {
    padding-top: 80%;
   }
}
@media (max-width: 576px){
   .content-cs-wrapper p {
      display: none;
   }
   .content-cs-wrapper {
      width: 80%;
      padding: 0 20px;
   }
}