/* FONT YÜKLEMESİ: Gilroy-Light */
@font-face {
  font-family: 'Gilroy-Light';
  /* Ana dizinde gilroy/Gilroy-Light.ttf konumundan fontu yüklüyoruz. */
  /* GÜNCELLEME: Sadece .ttf dosyası olduğu için .woff referansı kaldırıldı. */
  src: url('../gilroy/Gilroy-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap; /* Font yüklenene kadar yedek fontu göster */
}

body {
  font-family: 'Gilroy-Light', sans-serif; /* Tüm siteye uygula */
  margin: 0;
  padding: 0;
  background-color: #f8f8f8; /* Hafif bir arka plan rengi */
}

/* Slider Kapsayıcısından gelen boşluğu azaltmak için margin-top: 0 */
.slogan-section {
  width: 100%;
  margin-top: -40px; /* SLIDER ALTINDAKİ BOŞLUĞU MİNİMİZE ETME */
  padding: 40px 0; /* Üst ve alt boşluk (Puntoyı buradan ayarlayabilirsiniz) */
  box-sizing: border-box;
}

/* Slogan İçerik Kapsayıcısı */
.slogan-container {
  max-width: 1450px; /* Header ile aynı max-width */
  margin: 0 auto;
  padding: 0 20px;
}

/* Ana Başlık Stilleri */
.slogan-title {
  font-size: 56px;
  font-weight: 300; /* GÜNCELLEME: Kalın yazı inceltildi */
  text-align: center;
  line-height: 1.2;
  margin-bottom: 30px;
  display: flex; /* İçindeki resim ve metni yan yana hizala */
  align-items: center;
  justify-content: center;
  color: #1a1a1a; /* GÜNCELLEME: Başlık rengi koyu siyah */
}

/* Başlık İçindeki Resim */
.slogan-title-img {
  height: 1.2em; /* GÜNCELLEME: Resmi bir tık daha büyültmek için 1.2em yapıldı */
  width: auto;
  margin: 0 12px; /* Başlık metinleri arasına boşluk */
  border-radius: 12px; /* OVALLEŞTİRME: Köşeleri yuvarla */
}

/* Açıklama Metni */
.slogan-text {
  max-width: 850px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 17px;
  line-height: 1.6;
  color: #404141;
}

/* Hakkımızda Butonu Grubu */
.about-button-group {
  display: flex;
  align-items: center;
  width: fit-content;
  margin: 0 auto;
  
  /* Buton Stili (Arama/Randevu butonu ile aynı) */
  border-radius: 9999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  background-color: #e3f2ff; /* Açık Mavi/Gri Arka Plan */
  border: 1px solid #d4e8ff; 
  text-decoration: none;
  transition: background-color 0.3s;
}

.about-button-group:hover {
  background-color: #d4e8ff;
}

/* Buton Metin Kısmı */
.about-button-text {
  color: #0c4a6e;
  padding: 12px 20px 12px 25px;
  font-weight: 300; /* GÜNCELLEME: Kalın yazı inceltildi */
  font-size: 16px;
}

/* Buton İkon Kısmı */
.about-button-icon {
  background-color: #0c4a6e;
  border-radius: 50%;
  padding: 7px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px 0 0;
}

.about-button-icon svg {
  color: white;
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}


/* YENİ EKLENTİ: KAYDIRMA ANİMASYONU */
/* ------------------------------------------- */

/* Başlangıçta animasyonlu elemanları gizle ve aşağı kaydır */
.slogan-title,
.slogan-text,
.about-button-group {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* JavaScript ile 'visible' sınıfı eklendiğinde animasyonu başlat */
.slogan-section.visible .slogan-title,
.slogan-section.visible .slogan-text,
.slogan-section.visible .about-button-group {
  opacity: 1;
  transform: translateY(0);
}

/* Elemanların sırayla gelmesi için gecikme ekle (stagger effect) */
.slogan-section.visible .slogan-text {
  transition-delay: 0.2s;
}
.slogan-section.visible .about-button-group {
  transition-delay: 0.4s;
}


/* ------------------------------------------- */
/* MOBİL UYUMLULUK */
/* ------------------------------------------- */

@media (max-width: 768px) {
  .slogan-section {
    margin-top: 0; /* Mobil'de gereksiz negatif boşluğu kaldır */
    padding: 30px 0;
  }
  
  /* GÜNCELLENDİ: Mobil'de tam ekran genişliği için yatay padding'i sıfırla */
  .slogan-container {
    padding: 0; 
  }

  .slogan-title {
    font-size: 32px;
    flex-direction: column; /* Mobil'de alt alta diz */
    text-align: center;
    margin-bottom: 20px;
    padding: 0 15px; /* Başlık içeriğine boşluk veriyoruz */
    color: #1a1a1a; /* GÜNCELLEME: Başlık rengi koyu siyah */
  }
  
  /* Resim, mobil akışta metinler arasında yer alacak */
  .slogan-title-img {
    height: auto; 
    width: 80%; /* Resim mobil ekranda daha büyük yer kaplasın */
    max-width: 300px; 
    margin: 10px 0 15px;
    order: -1; /* Resmi en üste taşı */
    object-fit: contain; /* Küçük kutuya sığdır */
    border-radius: 12px; /* OVALLEŞTİRME */
  }

  .slogan-text {
    font-size: 16px;
    padding: 0 20px; /* Metin için kenar boşluğu ekle */
    margin-bottom: 30px;
  }
}

