<style>
/* Genel stil */
body {
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 0;
  height: 100vh;
  background-color: #0d0d0d;
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-container {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  position: relative;
}

.carousel {
  display: flex;
  transition: transform 0.8s ease-in-out;
  width: 100%;
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide img {
  width: 100%;
  height: 100vh; /* Tam ekran yüksekliği için */
  object-fit: cover;
}

/* Navigasyon düğmeleri */
.carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  z-index: 10;
}

.carousel-nav i {
  cursor: pointer;
  font-size: 30px;
  color: #fff;
  padding: 15px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  margin: 0 20px;
  transition: background 0.3s ease;
}

.carousel-nav i:hover {
  background: rgba(255, 255, 255, 0.8);
  color: #333;
}

/* Turuncu arka plan başlangıçta görünmez */
.slide-bg {
  position: absolute;
  top: 0;
  left: -20cm;
  width: 20cm;
  height: 100%;
  background: linear-gradient(to right, rgba(255, 140, 0, 0.8), rgba(255, 140, 0, 0));
  z-index: 1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active .slide-bg {
  animation: slide-right 1.5s ease forwards;
  opacity: 1;
}

@keyframes slide-right {
  from {
    left: -20cm;
  }
  to {
    left: 0;
  }
}

/* Ana başlık stili */
.text {
  position: absolute;
  z-index: 3;
  top: 0;
  left: 0;
  font-size: 38px;
  color: #232359;
  padding: 15px 30px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: translate(-200px, -200px);
}

.animated-text {
  opacity: 0;
  transform: translate(-200px, -200px) scale(0.8) rotate(-15deg);
  transition: transform 1s ease-in-out, opacity 0.8s ease-in-out;
}

.slide.active .animated-text {
  opacity: 1;
  transform: translate(100px, 100px) scale(1) rotate(0deg);
}

/* Alt başlık (sub_text) stili */
.sub_text {
  font-size: 20px; /* Daha küçük yazı boyutu */
  color: #232359; /* Koyu mavi renk */
  font-style: italic; /* İtalik stil */
  margin-top: 10px;
  text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3); /* Daha hafif gölge */
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s;
  transform: translate(-200px, -200px);
}

/* Animasyonlu görünürlük */
.slide.active .sub_text {
  opacity: 1;
  transform: translate(0, 0);
}


.animated-sub_text {
  opacity: 0;
  transform: translate(-200px, -200px) scale(0.8) rotate(-15deg);
  transition: transform 1s ease-in-out, opacity 0.8s ease-in-out;
}

.slide.active .animated-sub_text {
  opacity: 1;
  transform: translate(100px, 100px) scale(1) rotate(0deg);
}
</style>
