/* styles.css */
@tailwind base;
@tailwind components;
@tailwind utilities;

html {
  scroll-behavior: smooth;
}

body {
  background-color: #F8FAFC; /* Slate-50 */
  color: #334155; /* Slate-700 */
}

/* --- Modern Scrollbar --- */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 5px;
  border: 2px solid #f1f5f9;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* --- Animasyonlar --- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in-up {
  animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

/* --- Özel Hakkımızda Bölümü Stilleri (YENİ EKLENDİ) --- */
/* Hakkımızda içindeki listeyi (ul) bul ve ızgara (grid) yap */
#hakkimizda-content ul {
    list-style: none !important; /* Standart noktaları kaldır */
    padding: 0 !important;
    margin-top: 2rem;
    display: grid;
    grid-template-columns: 1fr; /* Mobilde tek sütun */
    gap: 1.5rem; /* Kartlar arası boşluk */
}

/* Tablet ve üstü ekranlarda 2 sütun yap */
@media (min-width: 768px) {
    #hakkimizda-content ul {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Her bir maddeyi (li) bir karta dönüştür */
#hakkimizda-content li {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem; /* Yuvarlatılmış köşeler */
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05); /* Hafif gölge */
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Mouse ile üzerine gelince efekt */
#hakkimizda-content li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.1); /* Teal gölge */
    border-color: #0F766E;
}

/* Maddelerin başlık kısmını (Markdown'daki **bold** kısımlar) özelleştir */
#hakkimizda-content li strong {
    color: #0F766E; /* Teal 700 */
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Başlığın başına otomatik ikon ekle */
#hakkimizda-content li strong::before {
    content: '✓';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background-color: #ccfbf1; /* Teal 100 */
    color: #0F766E;
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0; /* İkonun sıkışmasını engelle */
}

/* Hakkımızda paragraf yazı tipi */
#hakkimizda-content p {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #475569;
    margin-bottom: 1.5rem;
}

/* --- Genel Metin (Prose) Ayarları --- */
.prose h2 {
    color: #0F766E;
    font-weight: 800;
    font-size: 2rem;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: -0.025em;
}

.prose h3 {
    color: #334155;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* SSS Bölümü Özelleştirmesi */
#sss-content h3 {
    color: #0f172a;
    background-color: #f1f5f9;
    padding: 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    cursor: default;
}

#sss-content p {
    padding: 0 1rem 1rem 1rem;
    color: #64748b;
}

/* --- Mobil Alt Menü Boşluğu --- */
.pb-safe {
    padding-bottom: env(safe-area-inset-bottom);
}

/* --- Diğer Yardımcı Sınıflar --- */
.glass-effect {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}