/* Genel Kapsayıcı */
.landing-karsilama-bg {
    background: white;
    position: relative;
    width: 100%;
    padding: 80px 20px 90px 20px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    border-bottom-left-radius: 50% 60px;
    border-bottom-right-radius: 50% 60px;
    box-sizing: border-box;
}

.karsilama-content-wrapper {
  max-width: 700px;
  width: 100%;
  text-align: center;
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.karsilama-ust-metin {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.karsilama-ust-metin span {
  color: black;
  font-size: 1.1rem;
  font-weight: 500;
}

.expo-button {
  background-color: #252525;
  color: white;
  border: 1px solid #444;
  padding: 10px 25px;
  border-radius: 8px;
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.expo-button:hover {
  background-color: #333;
}

/* --- Dinamik Slider Stilleri --- */
.ana-mesaj-container {
  position: relative;
  width: 100%;
  height: 410px; /* Masaüstü için sabit kalabilir, mobilde değişecek */
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: grab;
  user-select: none;
  border-style: none;
  box-shadow: none;
}

.ana-mesaj-container.grabbing {
  cursor: grabbing;
}

.ana-mesaj-content {
  position: relative;
  z-index: 5;
  padding: 50px 160px 40px 50px;
  width: 100%;
  color: white;
  text-decoration: none;
  box-sizing: border-box;
  border-style: none;
  box-shadow: none;
  border: none;
  outline: none;
}

.ana-mesaj-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 0;
  text-align: left;
  color: white;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none;
  box-shadow: none;
  border-style: none;
  outline: none;
}

.anim-card {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 15px;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.state-front {
  transform: rotate(0deg) scale(1);
  z-index: 3;
  opacity: 1;
}

.state-middle {
  transform: rotate(-4deg) scale(0.95);
  z-index: 2;
  opacity: 1;
}

.state-back {
  transform: rotate(-8deg) scale(0.9);
  z-index: 1;
  opacity: 1;
}

.state-hidden {
  transform: rotate(-12deg) scale(0.85);
  z-index: 0;
  opacity: 0;
}

/* --- Slider Navigasyon Noktaları Stilleri --- */
.slider-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.dot {
  width: 10px;
  height: 10px;
  background-color: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s;
}

.dot:hover {
  background-color: #aaa;
  transform: scale(1.2);
}

.dot.active {
  background-color: #4c2a85;
  transform: scale(1.2);
}

.turuncu-badge {
  position: absolute;
  top: -20px;
  right: -35px;
  width: 150px;
  height: 150px;
  background-image: url("/assets/img/promopazar-title-icon-large.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

.turuncu-badge-sayi {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  padding-bottom: 1.5rem;
}

.alt-metin {
  color: black;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  margin-top: 1rem;
}

.arama-kutusu-wrapper {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.arama-kutusu-wrapper input {
  width: 100%;
  padding: 15px 50px 15px 20px;
  border-radius: 10px;
  border: 1px solid lightgray;
  background-color: #d8d8d8;
  font-size: 1rem;
  color: #333;
  box-sizing: border-box;
}

.arama-kutusu-wrapper input::placeholder {
  color: #666;
}

.arama-kutusu-wrapper i {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  font-size: 1.5rem;
}

/* Video bölümü stilleri */
.video-section {
  position: relative;
  z-index: 1;
  background: #000000;
  padding: 0;
  overflow: hidden;
  margin-top: -60px; /* border-radius ile uyumlu */
  line-height: 0; /* img altındaki boşluğu kaldırır */
}

.video-container {
  width: 100%;
  height: 800px;
  position: relative;
  overflow: hidden;
}

.background-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.kesfet-butonu {
  position: absolute;
  bottom: 30px;
  right: 30px;
  background-color: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 2px 2px rgba(255, 255, 255, 0.05);
  color: white;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  z-index: 4; /* Above the card, below the main content */
}

.kesfet-butonu:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.card-logo {
  position: absolute;
  top: 30px;
  left: 30px;
  z-index: 4;
}

.card-logo img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.scrolling-columns-container {
    height: 80vh;
    width: 100%;
    position: relative;
    background: #fff;
    overflow: hidden;
}

.scrolling-columns-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background: linear-gradient(to top, #f5f5f5, transparent);
  z-index: 2;
}

.scrolling-columns {
  display: flex;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 100%;
}

.scrolling-column {
  flex-grow: 1;
  flex-basis: 0;
  height: 120%;
  transition: transform 0.5s ease;
  overflow: hidden;
}

.scrolling-column-content {
  display: flex;
  flex-direction: column;
  animation: scroll var(--scroll-speed) linear infinite;
}

.scrolling-column-content img {
  width: 100%;
  height: auto;
  margin-bottom: 10px;
  user-select: none;
}

@keyframes scroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

/* --- RESPONSIVE TASARIM --- */

@media (max-width: 1200px) {
  .arama-kutusu-wrapper input {
    padding: 15px 50px 15px 20px;
  }
}

/* Tablet ve altı */
@media (max-width: 1024px) {
  .ana-mesaj-content h1 {
    font-size: 2.6rem;
  }

  .kesfet-butonu:hover {
    background-color: none;
  }
}

/* Tablet ve altı - Dikey */
@media (max-width: 768px) {
  .landing-karsilama-bg {
    padding: 40px 20px 80px 20px;
    border-bottom-left-radius: 40% 40px;
    border-bottom-right-radius: 40% 40px;
  }

  .video-section {
    margin-top: -40px; /* Yeni radius ile uyumlu */
  }

    .scrolling-columns-container {
        height: 60vh;
    }


    .scrolling-columns-fade {
        height: 120px;
    }

  .ana-mesaj-container {
    height: auto; /* Yüksekliği otomatik yap */
    min-height: 350px; /* Minimum yükseklik ver */
  }

  .ana-mesaj-content {
    padding: 30px 90px 30px 20px; /* Badge için sağdan daha fazla boşluk */
    text-align: center; /* İçeriği ortala */
  }

  .ana-mesaj-content h1 {
    font-size: 2rem; /* clamp(1.8rem, 6vw, 2.2rem) */
  }

  .turuncu-badge {
    width: 120px;
    height: 120px;
    top: -20px;
    right: -25px;
  }

  .turuncu-badge-sayi {
    font-size: 2rem;
    padding-bottom: 1.2rem;
  }

  .video-container {
    height: 600px;
  }

  .background-video {
    object-position: center top;
    object-fit: cover;
  }

  .alt-metin {
    font-size: 1rem;
    padding: 0 1rem;
  }
}

/* Mobil Cihazlar */
@media (max-width: 576px) {
  .landing-karsilama-bg {
    padding-bottom: 60px;
    border-bottom-left-radius: 30% 30px;
    border-bottom-right-radius: 30% 30px;
  }

  .video-section {
    margin-top: -30px;
  }

  .ana-mesaj-container {
    min-height: 300px;
  }

    .scrolling-columns-container {
        height: 40vh;
    }

    .scrolling-columns-fade {
        height: 100px;
    }

  .ana-mesaj-content h1 {
    font-size: 1.8rem;
  }

  .slider-dots {
    margin-top: 10px;
  }

  .turuncu-badge {
    width: 100px;
    height: 100px;
    top: -15px;
    right: -20px;
  }

  .turuncu-badge-sayi {
    font-size: 1.8rem;
    padding-bottom: 1rem;
  }

  .arama-kutusu-wrapper input {
    font-size: 0.9rem;
  }

  .video-container {
    height: 400px;
  }

  .background-video {
    object-position: center 20%;
    object-fit: cover;
  }
}

/* Çok Küçük Mobil Cihazlar */
@media (max-width: 420px) {
  .ana-mesaj-container {
    min-height: 250px;
  }

  .ana-mesaj-content {
    padding: 20px 60px 20px 15px;
  }

  .ana-mesaj-content h1 {
    font-size: 1.5rem;
  }

  .turuncu-badge {
    width: 80px;
    height: 80px;
    top: -10px;
    right: -15px;
  }

    .scrolling-columns-container {
        height: 30vh;
    }

    .scrolling-columns-fade {
        height: 80px;
    }

  .turuncu-badge-sayi {
    font-size: 1.5rem;
    padding-bottom: 0.8rem;
  }

  .alt-metin {
    margin-top: 1rem;
  }

  .arama-kutusu-wrapper input {
    padding: 12px 45px 12px 15px;
    font-size: 0.8rem;
  }

  .arama-kutusu-wrapper i {
    right: 15px;
    font-size: 1.2rem;
  }

  .video-container {
    height: 380px;
  }

  .background-video {
    object-position: left 10%;
  }
}

/* Responsive adjustments for the button */
@media (max-width: 768px) {
  .kesfet-butonu {
    font-size: 0.9rem;
    padding: 8px 16px;
    bottom: 20px;
    right: 20px;
  }

  .card-logo {
    top: 20px;
    left: 20px;
  }

  .card-logo img {
    height: 25px;
  }
}

@media (max-width: 420px) {
  .kesfet-butonu {
    font-size: 0.8rem;
    padding: 6px 12px;
    bottom: 15px;
    right: 15px;
  }

  .card-logo {
    top: 15px;
    left: 15px;
  }

  .card-logo img {
    height: 20px;
  }
}
