/* Umut Işığı - ek stiller (derlenmiş Tailwind çıktısının üzerine). */

/* Menüden bölüme geçişte yumuşak kaydırma; sabit header için üst boşluk */
html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 90px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

/* Derlenmiş Tailwind çıktısında bulunmayan yardımcı sınıflar.
   (Orijinal React projesinde kullanılmadıkları için purge edilmişler.)
   Değerler Tailwind'in kendi ölçeğiyle birebir aynı. */
.text-white\/70 {
  color: rgba(255, 255, 255, .7);
}

.bg-white\/15 {
  background-color: rgba(255, 255, 255, .15);
}

.bg-white\/20 {
  background-color: rgba(255, 255, 255, .2);
}

.bg-primary-500\/20 {
  background-color: rgba(16, 185, 129, .2);
}

.hover\:bg-white\/20:hover {
  background-color: rgba(255, 255, 255, .2);
}

/* Mobil menüdeki bağlantıların üzerine gelince */
.hover\:bg-gray-50:hover {
  background-color: rgb(249 250 251);
}

/* WhatsApp butonundaki yazı: dar ekranda gizli, sm'den itibaren görünür */
@media (min-width: 640px) {
  .sm\:inline {
    display: inline;
  }
}

.mt-3 {
  margin-top: .75rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-7 {
  margin-top: 1.75rem;
}

/* Yatay logo: yüksekliğe göre ölçeklenir, genişlik orantılı kalır.
   Mobilde daha kısa tutulur ki menü butonuyla çakışmasın. */
.site-logo {
  height: 38px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

@media (min-width: 1024px) {
  .site-logo {
    height: 46px;
    max-width: 260px;
  }
}

/* Sayfa kaydırılınca header küçüldüğü için logo da hafif küçülür */
#site-header.is-scrolled .site-logo {
  height: 34px;
}

@media (min-width: 1024px) {
  #site-header.is-scrolled .site-logo {
    height: 40px;
  }
}

/* Footer logosu koyu zeminde durur */
.site-logo-footer {
  height: 40px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
}

/* Başvuru sonuç kutusu renkleri.
   Bu sınıflar derlenmiş Tailwind çıktısında bulunmuyor (sayfada hiç
   kullanılmadıkları için purge edilmişler); değerler mevcut palete uygun. */
.mx-8 {
  margin-left: 2rem;
  margin-right: 2rem;
}

.mt-8 {
  margin-top: 2rem;
}

.border-primary-200 {
  border-color: rgb(167 243 208);
}

.text-primary-700 {
  color: rgb(4 120 87);
}

.text-primary-800 {
  color: rgb(6 95 70);
}

.bg-red-50 {
  background-color: rgb(254 242 242);
}

.border-red-200 {
  border-color: rgb(254 202 202);
}

.text-red-700 {
  color: rgb(185 28 28);
}

.text-red-800 {
  color: rgb(153 27 27);
}

/* WhatsApp butonları — derlenmiş Tailwind'de olmayan renkler burada tanımlı */
.wa-btn {
  background-color: #25d366;
  color: #fff;
}

.wa-btn:hover {
  background-color: #1ebe5a;
  color: #fff;
}

/* Sabit (sağ alt) WhatsApp butonu */
.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 50;
}

/* Başarı kutusundaki teyit butonu: kırpılmaması için satır içi blok */
.wa-inline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1rem;
  padding: .75rem 1.25rem;
  border-radius: .75rem;
  font-size: .875rem;
  font-weight: 600;
  line-height: 1.25rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .1), 0 4px 6px -4px rgba(0, 0, 0, .1);
  transition: background-color .3s, transform .3s;
}

.wa-inline:hover {
  transform: scale(1.03);
}

/* Sayfa kaydırıldığında header arka planı */
#site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

#site-header.is-scrolled .text-white,
#site-header.is-scrolled .text-white\/90 {
  color: #111827;
}

#site-header.is-scrolled .hover\:bg-white\/10:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
