@import url("https://fonts.googleapis.com/css?family=Open+Sans&display=swap");
/* Yeni eklenen el yazısı fontu */
@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500;700&display=swap');
/* Logo için kurumsal ve şık font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;800&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Open Sans", sans-serif;
  height: 100vh;
  overflow: hidden; /* Sayfanın genelinde kaydırma çubuğu çıkmasını engeller */
}

.slider-container {
  position: relative;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

.left-slide {
  height: 100%;
  width: 35%;
  position: absolute;
  top: 0;
  left: 0;
  transition: transform 0.5s ease-in-out;
}

/* Slayt Kutu Özellikleri (Uzaması ve üst üste binmesi KESİN olarak engellendi) */
.left-slide > div {
  height: 100vh !important;
  max-height: 100vh !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  overflow: hidden; /* Slaytın dışına taşmayı yasaklar */
}

/* --- YENİ METİN ALANI STİLLERİ VE KAYDIRMA (SCROLL) AYARLARI --- */
.left-slide .text-content {
  padding: 40px;
  text-align: center;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  width: 100%;
  
  /* Yazı çok uzunsa kendi içinde kaydırılabilir olmasını sağlar */
  max-height: 85vh; 
  overflow-y: auto; 
}

/* Kendi içinde kaydırma (scroll) çubuğunun çirkin görünmemesi için gizlenmesi */
.left-slide .text-content::-webkit-scrollbar {
  width: 0px;
  background: transparent;
}

.left-slide .text-content h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
  letter-spacing: 1px;
}

.left-slide .text-content p {
  font-size: 18px;
  line-height: 1.6;
  font-weight: 300;
  font-style: italic; /* Alıntı görünümü vermek için italik yapıldı */
  margin-bottom: 20px;
}

.left-slide .text-content .student-name {
  font-family: 'Dancing Script', cursive; /* El yazısı fontu tanımlandı */
  font-size: 32px; /* El yazısı fontları küçük durduğu için boyutu büyütüldü */
  font-weight: 700;
  color: #f1f1f1;
  margin-top: 15px; /* Üstündeki yazı ile arasına biraz boşluk bırakıldı */
}

/* SAĞ SLAYT (GÖRSELLER) */
.right-slide {
  height: 100%;
  position: absolute;
  top: 0;
  left: 35%;
  width: 65%;
  transition: transform 0.5s ease-in-out;
}

.right-slide > div {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  height: 100%;
  width: 100%;
}

/* BUTONLAR */
button {
  background-color: #fff;
  border: none;
  color: #aaa;
  cursor: pointer;
  font-size: 16px;
  padding: 15px;
}

button:hover {
  color: #222;
}

button:focus {
  outline: none;
}

.slider-container .action-buttons button {
  position: absolute;
  left: 35%;
  top: 50%;
  z-index: 100;
}

.slider-container .action-buttons .down-button {
  transform: translateX(-100%);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
}

.slider-container .action-buttons .up-button {
  transform: translateY(-100%);
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

/* ESKİ CREDIT ALANI (Silmediğiniz için düzenli tutuldu) */
.credit {
  margin-top: 20px;
  text-align: center;
  color: #fff;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.credit a {
  text-decoration: none;
  color:#fff;
  font-weight: bold;
}

.credit img {
  width: 100%;
  height: 100%;
  object-fit: contain;
} 

/* GERİ DÖNÜŞ (CHAT) BUTONU */
.right-container {
  position: absolute;
  right: 0;
  bottom: 0;
}

#icon-chat {
  font-size: 30px;
}

.right-container .right-container-button {
  width: 100px;
  height: 60px;
  border: none;
  background-color: #21416a;
  transition: all 300ms;
  cursor: pointer;
  padding: 10px;
  color: white;
  font-family: roboto, sans-serif;
}

.right-container .right-container-button span {
  color: white;
  position: absolute;
  left: 25px;
  top: 20px;
  line-height: 28px;
}

.right-container .right-container-button:hover {
  transition: all 400ms cubic-bezier(.62, .1, .5, 1);
  width: 250px;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;
}

.right-container .right-container-button .long-text {
  transition: opacity 1000ms;
  opacity: 0;
  color: white;
  white-space: nowrap;
  font-size: 0;
  width: 0;
  margin: 0;
}

.right-container .right-container-button .long-text.show-long-text {
  transition: opacity 700ms, width 1ms linear 270ms, font-size 1ms linear 270ms;
  opacity: 1;
  margin-left: 45px;
  font-size: 14px;
  width: auto;
}

/* =========================================
   SABİT LOGO / BAŞLIK TASARIMI (GÜNCELLENDİ)
   ========================================= */
.slider-logo {
  position: absolute;
  top: 40px;
  /* Masaüstünde sol panelin (%35) tam ortasına hizalar */
  left: 17.5%; 
  transform: translateX(-50%); 
  
  z-index: 100;
  display: flex;
  flex-direction: column; /* İkonu ve yazıyı alt alta dizer */
  align-items: center;    /* Tamamen ortalar */
  text-align: center;
  gap: 8px; /* İkon ile yazı arasındaki boşluk */
}

.slider-logo i {
  font-size: 30px;
  /* Tüm arka plan renklerine uyum sağlayacak yarı saydam zarif beyaz */
  color: rgba(255, 255, 255, 0.85); 
}

.slider-logo .logo-text {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.slider-logo .logo-title {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800; /* Kalın ve vurgulu logo adı */
  font-size: 16px;
  letter-spacing: 3px; /* Harf arası açık logo görünümü */
  color: #ffffff;
  margin-bottom: 4px;
}

.slider-logo .logo-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300; /* İnce, zarif alt başlık */
  font-size: 10px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.7); /* Daha silik ve sade */
}

/* =========================================
   MOBİL GÖRÜNÜM (MEDIA QUERIES)
   ========================================= */
@media (max-width: 768px) {
  
  .left-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
  }
  
  .left-slide > div {
    /* Yarı saydam siyah arka plan ayarı (Resim üstü karanlık görünüm) */
    background-color: rgba(0, 0, 0, 0.7) !important; 
    opacity: 1; 
  }
  
  .left-slide .text-content {
    /* Butonların üstüne gelmemesi için alt ve üstten 90px güvenli boşluk eklendi */
    padding: 90px 20px; 
    max-height: 100vh; 
  }
  
  /* Mobil için yazı boyutlandırmaları */
  .left-slide .text-content h1 {
    font-size: 28px;
  }
  
  .left-slide .text-content p {
    font-size: 16px;
  }
  
  .left-slide .text-content .student-name {
    font-size: 26px;
  }

  .right-slide {
    width: 100%;
    left: 0;
  }
  
  .slider-container .action-buttons {
    position: absolute;
    left: 50%;
    top: 0; 
    z-index: 100;
  }
  
  .slider-container .action-buttons .up-button {
    transform: translateY(0); 
  }
  
  .right-container {
    z-index: 100;
  }

  .slider-logo {
    top: 25px;
    left: 50%; /* Mobilde ekranın tam ortasına hizalar */
    width: 100%; /* Metinlerin sıkışmasını engeller */
  }
  
  .slider-logo i {
    font-size: 24px;
  }
  
  .slider-logo .logo-title {
    font-size: 14px;
  }
  
  .slider-logo .logo-subtitle {
    font-size: 9px;
  }
}