/* Slider container */
.hero{
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100vh; /* Tam ekran için */
}
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh; /* Tam ekran için */
  overflow: hidden;
  margin: 0;
  padding: 0;
}

/* Slaytların yatay dizimi */
.hero-slides {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.6s ease-in-out;
  margin: 0;
  padding: 0;
}

/* Her bir slayt */
.hero-slide {
  min-width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Resim */
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Container’ı doldurur, taşma yapmaz */
  display: block;
  margin: 0;
  padding: 0;
  border: none;
   filter: brightness(0.7);
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(100%, -50%);
  font-size: 45px;
  font-weight: bold;
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  /*background: linear-gradient(90deg, #888796, #928c36, #a2a63b, #dfc5cf);*/
  background-size: 300%;
  box-shadow: 0 0 20px rgba(255,255,255,0.5);
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
  opacity: 0;
  /*animation: slideIn 2.5s ease-out forwards,linear infinite 2.5s;*/
}
.hero-text2 {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(100%, -50%);
  font-size: 40px;
  font-weight: bold;
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  background: linear-gradient(90deg, #68686b, #d4ca3d, #eef534, #7b7b78);
  background-size: 300%;
  box-shadow: 0 0 20px rgba(251, 250, 250, 0.5);
  text-shadow: 0 0 15px rgba(255,255,255,0.8);
  opacity: 0;
  /*animation: slideIn 2.5s ease-out forwards,linear infinite 2.5s;*/
}
.hero-text3 {
  position: absolute;
  top: 50%;
  left: 30%;
  transform: translate(100%, -50%);
  font-size: 45px;
  font-weight: bold;
  color: #fff;
  padding: 10px 25px;
  border-radius: 10px;
  /*background: linear-gradient(90deg, #7c6969, #ffffff, #8e8282, #fefefe);*/
  background-size: 300%;
  box-shadow: 0 0 20px rgba(109, 106, 106, 0.993);
  text-shadow: 0 0 15px rgba(253, 253, 253, 0.997);
  opacity: 0;
  /*animation: slideIn 2.5s ease-out forwards,linear infinite 2.5s;*/
}
/* Kayan giriş efekti */
@keyframes slideIn {
  0% {
    transform: translate(120%, -50%);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
@keyframes slideDown {
  0% {
    transform: translate(-50%, -100%);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%);
    opacity: 1;
  }
}
/* animasyon sınıfı */
.slide-in {
  animation: slideIn 2.5s ease-out forwards,linear infinite 2.5s; 
}
.slide-down {
  animation: slideDown 2.5s ease-out forwards,linear infinite 2.5s; 
}

/* DOTS */
.hero-dots {
  position: absolute;
  bottom: 20px;
  width: 100%;
  text-align: center;
  z-index: 10;
}

.hero-dots span {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: #fff;
  opacity: 0.5;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.hero-dots span.active {
  opacity: 1;
}

/* Responsive mobil */
@media (max-width: 768px){
  .hero-text { font-size: 2rem; }
  .hero-slider { height: 60vh; }
}
@media (max-width: 768px) {

  /* Slider yüksekliği daha kısa */
  .hero-slider {
    height: 80vh;
  }

  /* Slayt resimleri */
  .hero-slide img {
    object-fit: cover;
  }

  /* METİNLER */
  .hero-text,
  .hero-text2,
  .hero-text3 {
    font-size: 24px;         /* Daha küçük yazı */
    padding: 8px 15px;
    top: 50%;
    left: 50%;               /* Ortala */
    transform: translate(-50%, -50%);
    text-align: center;
    width: 90%;
  }
}

/* ==========================
   DAHA KÜÇÜK EKRANLAR (max 480)
========================== */
@media (max-width: 480px) {

  .hero-slider {
    height: 60vh;
  }

  .hero-text,
  .hero-text2,
  .hero-text3 {
    font-size: 18px;  
    padding: 6px 12px;
    width: 95%;
  }

  .hero-dots span {
    width: 8px;
    height: 8px;
    margin: 0 3px;
  }
  
}