/* Slider Ana Kapsayıcı */
    .slider {
        position: relative;
        width: 100%;
        /* Masaüstü için banner yüksekliği. 
           Görselin ince uzun olduğu için 100vh yerine sabit piksel daha iyi durur. */
        height: 600px; 
        background-color: #f9f9f9; /* Görselin arka planı ile aynı renk */
        overflow: hidden;
        padding-top: 35px;
    }

    /* Slide (Görsel Alanı) */
    .slide {
        position: absolute;
        height: 100%;
        width: 100%;
        background-size: contain; 
        
        background-position: center center;
        background-repeat: no-repeat;
        
        opacity: 0;
        transition: opacity 1s ease;
    }



.slide .overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background: rgba(0, 0, 0, 0.5); /* adjust opacity here */
  z-index: 1;
}

.slide .content {
  position: relative;
  z-index: 2; /* Make sure text appears above overlay */
}

.slide.active {
  opacity: 1;
  transform: scale(1.0);
  z-index: 2;
}

.content {
  max-width: 100%;
  animation: fadeIn 1s ease-out forwards;
	    font-family: "Montserrat", sans-serif;
    font-size: 25px;
    font-weight: 400;
    color: #fff;
    line-height: normal;
    letter-spacing: normal;
	text-align: center;

}

.content h1{
    color: #fff;
}

.content h1 span{
     color: #fff;
    font-weight: 700;
    font-size: 120px;
    letter-spacing: -3px;
}

.content .index {
  font-size: 0.8em;
  opacity: 0.7;
  margin-bottom: 1rem;
}

.content h1 {
  font-size: 4.5em;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 1rem;
}

.content .meta {
  font-size: 0.6em;
  margin-bottom: 2rem;
  display: flex;
  gap: 2rem;
  justify-content: center; /* ← Centers the items horizontally */
  text-align: center; /* Optional: Helps with centering text inside flex items */
  width: 100%; /* Ensures it spans the full width */
}

.content .cta {
  text-decoration: none;
  color: white;
  border-bottom: 2px solid white;
  font-weight: bold;
  font-size: 0.9em;
}

.top-nav {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 2rem 5vw;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  z-index: 10;
}

.top-nav .logo {
  font-weight: bold;
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.top-nav nav a {
  margin-left: 2rem;
  font-size: 0.8em;
  text-decoration: none;
  color: white;
  opacity: 0.8;
}

footer.social {
  position: absolute;
  bottom: 2rem;
  right: 5vw;
  z-index: 10;
}

footer.social a {
  color: white;
  margin-left: 1rem;
  font-size: 1em;
  text-decoration: none;
  opacity: 0.8;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


    /* --- RESPONSIVE (MOBİL) AYARLAR --- */
    @media screen and (max-width: 768px) {
        .slider {
            /* Mobilde 600px çok yüksek olur, boşluk çok kalır.
               Bu yüzden yüksekliği azaltıyoruz. */
            height: 300px !important; 
        }
        
        /* İsteğe bağlı: Mobilde görsel çok küçülürse, 
           biraz daha yaklaştırmak için mobilde 'cover' yapabilirsin.
           Ama yazılar kesilmesin diyorsan burayı elleme. */
    }

    /* Çok küçük telefonlar için */
    @media screen and (max-width: 480px) {
        .slider {
            height: 220px !important;
        }
    }