body {
    font-family: 'Cormorant Garamond', serif;
    color: #4b5563;
}

/* Başlıklar (h1, h2, h3) */
h1, h2, h3 {
    font-family: 'Cormorant Garamond', serif;
}

/* Paragraflar, linkler, span'ler, diğer tüm gövde yazıları */
body, p, a, span, li, td, th, input, button {
    font-family: 'Arapey', serif;
    font-size: 18px;
    line-height: 1.6;
}



.testimonial-section {
    background: url('images/piclumen-1743697013176.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.testimonial-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(239, 239, 239, 0.9); /* Koyu bir katman ekleyerek okunabilirliği artırır */
}

.testimonial-item {
    display: none;
}

.testimonial-item:first-child {
    display: block;
}
.custom-header {
    height: 80px;
}
.scrolled {
    background-color: white !important;
    color: black !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.scrolled a {
    color: black !important;
}
/* Başta siyah logo gizli, hamburger beyaz */
.logo-scrolled {
    display: none;
  }
  .logo-default {
    display: block;
  }
  
  /* Scroll sonrası değişim */
  .scrolled .logo-default {
    display: none !important;
  }
  .scrolled .logo-scrolled {
    display: block !important;
  }
  
  .scrolled #hamburger-icon {
    color: black !important;
  }



  .form-container {
    max-width: 500px;
    margin: 4rem auto;
    padding: 1rem;
  }

  .form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
  }

  .form-subtitle {
    color: #4B5563;
    margin-bottom: 1.5rem;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    font-size: 1rem;
  }

  .form-btn {
    background-color: #F97316; /* Turuncu */
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 9999px;
    font-size: 1.4rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }

  .form-btn:hover {
    background-color: #ea580c; /* Daha koyu turuncu */
  }

  @media (min-width: 768px) {
    .form-group {
      flex-direction: row;
      align-items: center;
    }

    .form-input {
      flex: 1;
    }

    .form-btn {
      flex-shrink: 0;
    }
  }



/* ürün sayfası bilgilendirme */

.premium-info-section {
  background-color: #f3f4f6;
  padding: 4rem 1rem;
}

.premium-container {
  max-width: 1100px;
  margin: 0 auto;
}

.premium-title {
  font-size: 2.25rem;
  font-weight: 700;
  text-align: center;
  color: #1f2937;
  margin-bottom: 3rem;
  position: relative;
}

.premium-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.premium-box {
  background: white;
  border-left: 6px solid #f97316;
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.04);
  font-size: 1.125rem;
  color: #374151;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.premium-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.08);
}

@media (min-width: 768px) {
  .premium-grid {
    grid-template-columns: 1fr 1fr;
  }
}


/* eğitim kurumları */

  .edu-section {
    background-color: #f9fafb;
    padding: 4rem 1rem;
  }

  .edu-container {
    max-width: 1100px;
    margin: 0 auto;
  }

  .edu-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    color: #1f2937;
    margin-bottom: 3rem;
    position: relative;
  }

  .edu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .edu-box {
    background: white;
    border-left: 5px solid #f97316;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    box-shadow: 0 10px 16px rgba(0, 0, 0, 0.03);
    font-size: 1.125rem;
    color: #374151;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }

  .edu-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.06);
  }

  .edu-box strong {
    font-weight: 600;
    color: #111827;
  }

  .edu-note {
    font-size: 0.95rem;
    color: #6b7280;
    font-style: italic;
  }

  @media (min-width: 768px) {
    .edu-grid {
      grid-template-columns: 1fr 1fr;
    }
  }



  /* kredi hesaplama */

  .form-container {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease-in-out;
    max-width: 800px;
    margin: 0 auto;
  }

  .form-container:hover {
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
  }

  input[type="number"],
  select {
    border-radius: 10px;
    border: 1px solid #d1d5db;
    padding: 12px 16px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
  }

  input[type="number"]:focus,
  select:focus {
    border-color: #ef4444;
    outline: none;
  }

  .kredi-hesapla-btn {
    background: linear-gradient(to right, #dc2626, #b91c1c);
    color: white;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
    transition: background 0.3s ease, transform 0.2s ease;
    text-align: center;
    width: 100%;
  }

  .kredi-hesapla-btn:hover {
    background: linear-gradient(to right, #b91c1c, #7f1d1d);
    transform: scale(1.02);
  }

  .kredi-hesapla-btn:active {
    transform: scale(0.98);
  }

  .sonuc-karti {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.logo-alani {
  display: flex;
  justify-content: flex-start;
}

.banka-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 6px;
  background: #f3f4f6;
  padding: 4px;
}

.veri-grubu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.etiketler,
.degerler {
  display: flex;
  gap: 2rem;
  flex-wrap: nowrap;
}

.etiketler span {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
  min-width: 80px;
  text-align: left;
}

.degerler span {
  font-size: 1rem;
  font-weight: bold;
  color: #111827;
  min-width: 80px;
  text-align: left;
}
   .card-step {
     transition: all 0.3s ease;
     border: 1px solid #f3f4f6;
     background-color: #fff;
     border-radius: 1rem;
     box-shadow: 0 4px 12px rgba(0,0,0,0.05);
     text-align: center;
   }
 
   .card-step:hover {
     transform: translateY(-6px);
     box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
   }
 
   .card-step img {
     border: 3px solid #f3f4f6;
     border-radius: 9999px;
     padding: 6px;
     background-color: #fff;
   }

   

   /* ======================================= */
/* HAREKETE GEÇİRİCİ İLETİŞİM BUTONU STİLLERİ */
/* ======================================= */

/* Ana Kapsayıcı: Balon ve butonu bir arada tutar */
.cta-launcher {
  position: fixed;
  bottom: 24px; /* 1.5rem */
  right: 24px; /* 1.5rem */
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 12px; /* Buton ile balon arasındaki boşluk */
}

/* Ana Buton: Sizin resminizi içeren yuvarlak kısım */
.cta-button {
  width: 94px;  /* 16 -> 4rem */
  height: 94px;
  border-radius: 9999px; /* Tam yuvarlak yapar */
  box-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.2), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 3px solid white; /* Resmin etrafına beyaz bir çerçeve */
  transition: transform 0.3s ease;
  
  /* Kalp Atışı Animasyonu */
  animation: heartbeat 1.5s ease-in-out infinite both;
}

.cta-button:hover {
  transform: scale(1.1); /* Üzerine gelince hafifçe büyür */
}

.cta-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px; /* Resmin de tam yuvarlak olmasını sağlar */
}

/* Mesaj Balonu */
.cta-bubble {
  position: relative;
  background-color: white;
  color: #1f2937; /* Koyu gri */
  padding: 10px 16px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  /* Başlangıçta gizli, animasyonla gelecek */
  opacity: 0;
  transform: translateX(10px);
  animation: slide-in 0.5s forwards;
  animation-delay: 1s; /* Sayfa yüklendikten 1 saniye sonra belirir */
  white-space: nowrap; /* Mesajın tek satırda kalmasını sağlar */
}

/* Balonun oku */
.cta-bubble-arrow {
  position: absolute;
  top: 50%;
  right: -8px; /* Balonun sağına yapışık */
  width: 16px;
  height: 16px;
  background-color: white;
  transform: translateY(-50%) rotate(45deg);
}


/* --- ANİMASYONLAR --- */

/* Kalp Atışı Animasyonu */
@keyframes heartbeat {
  from {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
  10% {
    transform: scale(0.91);
    animation-timing-function: ease-in;
  }
  17% {
    transform: scale(0.98);
    animation-timing-function: ease-out;
  }
  33% {
    transform: scale(0.87);
    animation-timing-function: ease-in;
  }
  45% {
    transform: scale(1);
    animation-timing-function: ease-out;
  }
}

/* Mesaj Balonunun Yandan Gelme Animasyonu */
@keyframes slide-in {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* style.css dosyanıza ekleyin */

/* Butonlar için genel stil */
.btn-auth {
  padding: 8px 20px;
  border: 2px solid white;
  color: white;
  background-color: transparent;
  border-radius: 25px;
  font-weight: 600;
  font-family: 'Arapey', serif; /* Menü fontunuzla aynı */
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap; /* "Giriş Yap" yazısının tek satırda kalmasını sağlar */
}

/* Üzerine gelinceki efekt */
/* style.css sonuna eklenecek */

/* Sadece Auth butonlarını gizlemek için özel bir sınıf */
.auth-hidden {
  display: none !important;
}


/* ======================================= */
/* HEADER VE MENÜ STİLLERİ                 */
/* ======================================= */

/* Ana header yapısı */
.custom-header {
  height: 80px; /* Header için sabit bir yükseklik */
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
}

/* Sayfa aşağı kaydırıldığında header'a eklenecek sınıf */
.custom-header.scrolled {
  background-color: white;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

/* Menü linkleri için genel stil */
.nav-link {
  position: relative;
  padding-bottom: 4px;
  font-weight: 600;
  transition: color 0.3s ease;
}

/* Linklerin altına gelecek çizgi efekti */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor; /* Linkin kendi rengini alır (beyaz veya siyah) */
  transition: width 0.4s ease;
}

/* Linkin üzerine gelince çizginin belirmesi */
.nav-link:hover::after {
  width: 100%;
}

/* Kaydırıldığında menü linklerinin rengi JavaScript ile değişecek */
/* (text-white -> text-gray-800) */


/* ======================================= */
/* MOBİL AÇILIR MENÜ STİLLERİ             */
/* ======================================= */

/* Mobil menü animasyonu ve temel yapısı */
#mobile-menu {
  transition: opacity 0.3s ease, transform 0.3s ease-in-out;
  transform-origin: top;
}

/* Tailwind'in .hidden sınıfı menüyü gizler.
   JavaScript bu sınıfı kaldırınca aşağıdaki stiller görünür olur. */
#mobile-menu:not(.hidden) {
  transform: scaleY(1);
  opacity: 1;
}

/* Mobil menünün başlangıçtaki gizli hali (animasyon için) */
#mobile-menu.hidden {
  transform: scaleY(0.95);
  opacity: 0;
  pointer-events: none;
}

/* ======================================= */
/* AUTH0 GİRİŞ/ÇIKIŞ BUTONU STİLLERİ       */
/* ======================================= */

/* Masaüstü butonları için genel stil */
.btn-auth {
  padding: 8px 20px;
  border: 2px solid; /* Renk JS'den veya header'ın kendi renginden gelecek */
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Kaydırılmamış header'da (transparent) buton stilleri */
.custom-header:not(.scrolled) .btn-auth {
  border-color: white;
  color: white;
}
.custom-header:not(.scrolled) .btn-auth:hover {
  background-color: white;
  color: #111828;
}

/* Kaydırılmış header'da (beyaz) buton stilleri */
.custom-header.scrolled .btn-auth {
  border-color: #111828;
  color: #111828;
}
.custom-header.scrolled .btn-auth:hover {
  background-color: #111828;
  color: white;
}

/* Mobil menüdeki buton */
.btn-auth-mobil {
  background-color: #111828;
  color: white;
  padding: 12px;
  border-radius: 8px;
  text-align: center;
  font-weight: 600;
  transition: background-color 0.3s ease;
}
.btn-auth-mobil:hover {
    background-color: #333;
}

/* JS tarafından butonları gizlemek için kullanılan sınıf */
.auth-hidden {
  display: none !important;
}


/* Header'a .scrolled sınıfı eklendiğinde uygulanacak stiller */
header.scrolled {
  background-color: white !important; /* Arka planı beyaz yap */
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  color: #1f2937 !important; /* Metin rengini koyu gri yap */
}