@charset "UTF-8";
/* CSS Document */

/* Genel Sıfırlama ve Font Ayarı */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 24px; /* Kenarlarda boşluk */
}

.text-center {
    text-align: center;
}

/* 1. BÖLÜM: ÜST MENÜ (HEADER) */
/* ------------------------------ */
.site-header {
    background-color: #fff;
    padding: 0;
    border-bottom: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    text-decoration: none;
    display: flex; /* Logo ve metnin yan yana durması için */
    align-items: center; /* Dikeyde ortala */
    gap: 10px; /* Logo ile metin arası boşluk */
}

/* YENİ EKLENECEK LOGO STİLİ */
.logo-image {
    height: 40px; /* Logonun yüksekliği */
    width: auto; /* Oranı koru */
    vertical-align: middle; /* Metinle hizala */
}
.nav-menu {
    display: flex;
    list-style: none;
}

.nav-menu li {
    margin: 0 15px;
}

.nav-menu li a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu li a:hover {
    color: #1B2F6B; /* İlgi çekici bir renk */
}

.nav-auth a {
    margin-left: 10px;
}
.nav-item {
    position: relative; /* Açılır menü için bu şart! */
    margin: 0;
}

.nav-item a {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s ease, background-color 0.3s ease;
    padding: 28px 18px; /* Dikeyde 28px padding (header'ı doldurur) */
    display: block; /* Padding'in çalışması için */
}

.nav-item a:hover {
    color: #1B2F6B;
    background-color: #f9f9f9;
}
.dropdown-menu {
    display: none; /* Varsayılan olarak gizli */
    position: absolute; /* Ana linke göre konumlan */
    top: 100%; /* Ana linkin tam altına */
    left: 0;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-top: 3px solid #1B2F6B; /* Üstte mavi çizgi */
    border-radius: 0 0 8px 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    min-width: 220px; /* Minimum genişlik */
    list-style: none;
    z-index: 1000; /* Diğer her şeyin üstünde */
    
    /* İnce animasyon için (display:none yerine) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease-in-out;
}

/* Ana linkin (li.has-dropdown) üzerine gelince */
.nav-item.has-dropdown:hover .dropdown-menu {
    display: block; /* Görünür yap (animasyon için bu satıra gerek yok) */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Açılır menü içindeki linkler */
.dropdown-menu li {
    margin: 0;
}

.dropdown-menu li a {
    color: #333;
    padding: 12px 20px; /* İç boşluk */
    font-size: 15px;
    font-weight: 500;
}

.dropdown-menu li a:hover {
    background-color: #f0f8ff; /* Hafif mavi */
    color: #1B2F6B;
}

/* Ayıraç Çizgisi */
.dropdown-divider {
    height: 1px;
    background-color: #f0f0f0;
    margin: 5px 0;
}

/* Genel Buton Stilleri */
.btn {
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: #1B2F6B;
    color: #fff;
}

.btn-primary:hover {
    background-color: #12204D;
}

.btn-secondary {
    background-color: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background-color: #dcdcdc;
}

/* ------------------------------ */
/* 2. BÖLÜM: ANA KARŞILAMA ALANI (HERO) (GÜNCELLENDİ) */
/* ------------------------------ */
.hero-section {
    /* background-color: #f9f9f9; <-- Artık buna gerek yok */
    padding: 80px 0;
    text-align: center;
    position: relative; /* Pseudo-elementleri konumlandırmak için GEREKLİ */
    overflow: hidden; /* Bulanık kenarların taşmasını önlemek için */
    z-index: 0;
}

/* YENİ: Arka plan resmini ekler ve blurlar */
.hero-section::before {
    content: '';
    position: absolute;
    top: -10px; /* Bulanık kenarların kötü görünmemesi için dışarı taşır */
    left: -10px;
    width: calc(100% + 20px);
    height: calc(100% + 20px);
    
    /* === BURAYI DEĞİŞTİRİN === */
    background-image: url('İmages/arka-plan.png'); 
    /* ======================== */
    
    background-size: cover;
    background-position: center;
    filter: blur(4px); /* Bulanıklık seviyesi (8px) */
    z-index: -2; /* En arkaya gönder */
}

/* YENİ: Resmin üzerine koyu bir katman ekler (okunabilirlik için) */
.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Siyah, %50 opaklık */
    z-index: -1; /* Resmin üstünde, içeriğin altında */
}

/* YENİ: İçeriğin (container) katmanların ÜSTÜNDE kalmasını sağlar */
.hero-section .container {
    position: relative;
    z-index: 1;
}

/* GÜNCELLENDİ: Metin renkleri artık BEYAZ olmalı */
.hero-section h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff; /* <<< DEĞİŞTİ */
    max-width: 600px;
    margin: 0 auto 20px auto;
}

/* GÜNCELLENDİ: Metin renkleri artık BEYAZ olmalı */
.hero-subtitle {
    font-size: 18px;
    color: #f0f0f0; /* <<< DEĞİŞTİ (hafif kırık beyaz) */
    max-width: 550px;
    margin: 0 auto 30px auto;
}

.btn-large {
    padding: 15px 30px;
    font-size: 18px;
}
/* ------------------------------ */
/* 3. BÖLÜM: KARTLI ÖZELLİKLER */
/* ------------------------------ */

.features-section {
    padding: 70px 0;
    background-color: #fff; /* Arka planı beyaz yapalım */
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    /* 3 sütunlu bir ızgara oluştur, her biri eşit genişlikte (1fr) */
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px; /* Kartlar arası boşluk */
}

.feature-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05); /* Hafif bir gölge */
    overflow: hidden; /* Köşeleri düzgün göstermek için */
    display: flex;
    flex-direction: column; /* İçeriği dikey sırala */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px); /* Kartın üzerine gelince hafifçe yükselsin */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.card-image {
    height: 200px;
    background-color: #f0f4f8; /* Görsel yer tutucu rengi */
    /* Gerçek bir görsel eklediğinizde:
    background-image: url('resminizin_yolu.jpg');
    background-size: cover;
    background-position: center;
    */
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    padding: 0 25px; /* İç boşluk */
    margin-top: 25px;
}

.feature-card p {
    font-size: 16px;
    color: #555;
    padding: 0 25px;
    margin-top: 15px;
    flex-grow: 1; /* Paragrafın esneyerek butonu aşağı itmesini sağlar */
}

.card-btn {
    margin: 25px; /* Her taraftan 25px boşluk */
    text-align: center; /* Butonu ortala */
    background-color: #f0f0f0; /* Buton rengini nav'daki gibi yapalım */
}
/* ------------------------------ */
/* 4. BÖLÜM: KONULARA GÖRE KEŞFET */
/* ------------------------------ */

.topics-section {
    padding: 70px 0;
    background-color: #f9f9f9; /* Hafif gri arka plan */
}

.topics-section .section-title {
    margin-bottom: 20px; /* Başlık ve açıklama arasına boşluk */
}

.section-description {
    text-align: center;
    font-size: 18px;
    color: #555;
    max-width: 700px;
    margin: 0 auto 50px auto; /* Ortala ve alttan boşluk bırak */
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Esnek sütunlar */
    gap: 20px; /* Kartlar arası boşluk */
    margin-bottom: 50px;
}

.topic-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    text-decoration: none; /* Link alt çizgisini kaldır */
    color: #333;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex; /* İçeriği ortalamak için */
    flex-direction: column; /* Dikey sırala */
    align-items: center; /* Yatayda ortala */
    justify-content: center; /* Dikeyde ortala */
}

.topic-card:hover {
    transform: translateY(-3px); /* Hafifçe yüksel */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #1B2F6B; /* Hover'da kenarlık rengi değişsin */
}

.topic-icon {
    width: 60px;
    height: 60px;
    background-color: #e6f2ff; /* İkon yer tutucu rengi */
    border-radius: 50%; /* Yuvarlak ikon alanı */
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Gerçek ikon eklemek için font-awesome gibi kütüphaneler kullanılabilir */
    /* Örneğin: <i class="fas fa-calculator" style="font-size: 28px; color: #1B2F6B;"></i> */
}

.topic-card h4 {
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    margin: 0;
}

.view-all-btn {
    margin-top: 30px; /* Butonun üstünden boşluk */
}
/* ... Önceki KONULARA GÖRE KEŞFET CSS kodunuz ... */

/* ------------------------------ */
/* 5. BÖLÜM: EĞİTMENLERİMİZ */
/* ------------------------------ */
.tutors-section {
    padding: 70px 0;
    background-color: #fff; /* Beyaz arka plan */
}

.tutors-grid {
    display: grid;
    /* Dört sütunlu bir ızgara, sığmazsa 3 veya 2'ye düşer */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.tutor-card {
    text-align: center;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 30px 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tutor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.tutor-image {
    width: 140px;
    height: 140px;
    border-radius: 50%; /* Resimleri yuvarlak yapar */
    border: 3px solid #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    object-fit: cover; /* Resmin orantısını korur */
}

.tutor-card h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
}

.tutor-card span {
    font-size: 15px;
    font-weight: 500;
    color: #1B2F6B; /* Ana tema rengi */
    display: block;
    margin-bottom: 10px;
}

.tutor-card p {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}

/* ------------------------------ */
/* 6. BÖLÜM: ÖĞRENCİ YORUMLARI */
/* ------------------------------ */
.testimonials-section {
    padding: 70px 0;
    background-color: #f9f9f9; /* Hafif gri arka plan */
}

.testimonials-grid {
    display: grid;
    /* İlham aldığımız sitedeki gibi 3 sütunlu yapı */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 35px;
    display: flex;
    flex-direction: column; /* İçeriği dikey sırala */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.testimonial-card .comment {
    font-size: 16px;
    font-style: italic;
    color: #333;
    line-height: 1.6;
    flex-grow: 1; /* Yorum metninin alanı doldurmasını sağlar */
    margin-bottom: 25px;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
    border-top: 1px solid #f0f0f0; /* Yorumdan ayırmak için ince çizgi */
    padding-top: 20px;
}

.student-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.student-info div {
    display: flex;
    flex-direction: column;
}

.student-info strong {
    font-size: 16px;
    font-weight: 600;
    color: #2c3e50;
}

.student-info span {
    font-size: 14px;
    color: #555;
}


/* ------------------------------ */
/* 7. BÖLÜM: ÇALIŞMA ORTAKLARI (CSS'i zaten ekli) */
/* ------------------------------ */

/* ------------------------------ */
/* 8. BÖLÜM: ALT BİLGİ (FOOTER) (CSS'i zaten ekli) */
/* ------------------------------ */
/* ------------------------------ */
/* 5. BÖLÜM: ÇALIŞMA ORTAKLARI */
/* ------------------------------ */
.partners-section {
    padding: 60px 0;
    background-color: #fff;
    border-top: 1px solid #e0e0e0; /* Önceki bölümden ayırmak için */
}

.partners-section .section-title {
    margin-bottom: 50px;
}

.partners-grid {
    display: grid;
    /* Logoların boyutuna göre minmax(150px, 1fr) ayarlanabilir */
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
    align-items: center;
}

.partner-logo-box {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
    color: #888;
    /* Gerçek logolar geldiğinde (<img> tagi ile):
       background: #fff;
       padding: 0;
       border: none;
       img { max-width: 100%; height: auto; }
    */
}

/* ------------------------------ */
/* 6. BÖLÜM: ALT BİLGİ (FOOTER) */
/* ------------------------------ */
.site-footer {
    background-color: #2c3e50; /* Koyu lacivert/siyah tonu */
    color: #ccc; /* Genel metin rengi (açık gri) */
    padding: 70px 0 20px 0; /* Üstten 70, alttan 20px boşluk */
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* İstediğiniz gibi 4 sütun */
    gap: 30px; /* Sütunlar arası boşluk */
    margin-bottom: 50px; /* Alt bardan ayırmak için */
}

.footer-col {
    font-size: 15px;
}

.footer-logo {
    font-size: 26px;
    font-weight: 700;
    text-decoration: none;
    color: #fff; /* Logo rengi beyaz */
    display: block;
    margin-bottom: 15px;
}

.footer-tagline {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Sosyal Medya İkonları */
.social-media-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%; /* Yuvarlak ikon */
    background: #4a5b6c; /* Arka plan rengi (koyunun bir ton açığı) */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.social-icon:hover {
    background-color: #1B2F6B; /* Ana renk ile vurgu */
}

/* Footer Başlıkları (Site Haritası, İletişim vb.) */
.footer-col h4 {
    font-size: 18px;
    font-weight: 600;
    color: #fff; /* Başlıklar beyaz */
    margin-bottom: 20px;
}

/* Footer Link Listeleri */
.footer-col ul {
    list-style: none; /* Noktaları kaldır */
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a,
.footer-col address a {
    text-decoration: none;
    color: #ccc; /* Linklerin normal rengi */
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-col ul li a:hover,
.footer-col address a:hover {
    color: #fff; /* Üzerine gelince beyaz */
    padding-left: 5px; /* Hafif sağa kayma efekti */
}

.footer-col address {
    font-style: normal;
    line-height: 1.7;
}

/* Footer Alt Bar (Copyright) */
.footer-bottom-bar {
    border-top: 1px solid #4a5b6c; /* Ayıraç çizgisi */
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #aaa;
}

.footer-bottom-bar div a {
    color: #aaa;
    text-decoration: none;
    margin-left: 15px;
}

.footer-bottom-bar div a:hover {
    color: #fff;
    text-decoration: underline;
}
/* ------------------------------ */
/* 10. BÖLÜM: DERSLER SAYFASI STİLLERİ */
/* ------------------------------ */

/* Sayfa Başlığı (Tüm Dersler) */
.page-header {
    background-color: #f9f9f9; /* Hafif gri arka plan */
    border-bottom: 1px solid #e0e0e0;
    padding: 50px 0;
    text-align: center;
}
.page-header h1 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}
.page-header p {
    font-size: 18px;
    color: #555;
    max-width: 500px;
    margin: 0 auto;
}

/* Dersler Ana İçerik Alanı */
.dersler-content {
    padding: 70px 0;
}

/* 2 Sütunlu Layout (Filtre + Kartlar) */
.dersler-layout {
    display: grid;
    grid-template-columns: 260px 1fr; /* Sol: 260px, Sağ: kalan alan */
    gap: 40px; /* Aradaki boşluk */
}

/* Sol Sidebar (Filtreler) */
.dersler-sidebar {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    align-self: flex-start; /* Kendi yüksekliğinde kalsın */
}

.dersler-sidebar h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.dersler-sidebar .filter-list {
    list-style: none;
    padding: 0;
    margin-bottom: 20px; /* Her filtre grubu arası boşluk */
}

.dersler-sidebar .filter-list li {
    margin-bottom: 10px;
}

.dersler-sidebar .filter-list a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    display: block;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.dersler-sidebar .filter-list a:hover {
    background-color: #e6f2ff; /* Hafif mavi */
    color: #1B2F6B;
}

.dersler-sidebar .filter-list a.active {
    background-color: #1B2F6B;
    color: #fff;
    font-weight: 600;
}

/* Sağ Taraf (Ders Kartları Izgarası) */
.dersler-grid {
    display: grid;
    /* 3 sütunlu ızgara */
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Ders Kartı Tasarımı */
.course-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.course-image {
    height: 180px;
    background-color: #e0e0e0; /* Resim yer tutucu */
    /* Gerçek resim için:
    background-image: url('...');
    background-size: cover;
    */
}

.course-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* İçeriğin kartı doldurmasını sağlar */
}

.course-category {
    font-size: 13px;
    font-weight: 600;
    color: #1B2F6B;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.course-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.course-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1; /* Paragrafı esnetir, butonu aşağı iter */
}

.course-meta {
    font-size: 14px;
    color: #777;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
    margin-bottom: 20px;
}

.card-btn-full {
    width: 100%; /* Buton kartın tamamını kaplasın */
    text-align: center;
}
/* ------------------------------ */
/* 11. BÖLÜM: HAKKIMIZDA SAYFASI STİLLERİ */
/* ------------------------------ */

/* Hikayemiz Bölümü */
.about-story-section {
    padding: 70px 0;
    background: #fff;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 sütunlu yapı */
    gap: 50px; /* Sütunlar arası boşluk */
    align-items: center; /* İçerikleri dikeyde ortala */
}

.story-image {
    width: 100%;
    height: 450px;
    background-color: #e0e0e0; /* Resim yer tutucu */
    border-radius: 8px;
    /* Gerçek resim için:
    background-image: url('...');
    background-size: cover;
    background-position: center;
    */
}

.story-content h2 {
    font-size: 36px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.story-content p {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

.story-content ul {
    list-style-type: '✓'; /* Tik işareti */
    padding-left: 20px; /* Liste işaretini içe al */
}

.story-content ul li {
    font-size: 17px;
    color: #333;
    margin-bottom: 10px;
    padding-left: 10px; /* İşaret ile metin arasına boşluk */
}


/* Kapanış (CTA) Bölümü */
.cta-section {
    background-color: #f0f4f8; /* Hafif mavi/gri arka plan */
    padding: 70px 0;
    text-align: center;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: #2c3e50;
}
/* ------------------------------ */
/* 12. BÖLÜM: İLETİŞİM SAYFASI STİLLERİ */
/* ------------------------------ */
.contact-section {
    padding: 70px 0;
    background: #fff;
}

.contact-grid {
    display: grid;
    /* 2 Sütun: Form (2 birim), Bilgi (1 birim) */
    grid-template-columns: 2fr 1fr; 
    gap: 50px; /* Sütunlar arası boşluk */
}

/* Sol Taraf: Form */
.contact-form-wrapper h2 {
    font-size: 30px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 30px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1; /* Alanı eşit paylaş */
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group textarea {
    width: 100%;
    padding: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="tel"]:focus,
.form-group textarea:focus {
    border-color: #1B2F6B; /* Odaklanınca mavi kenarlık */
    outline: none;
    box-shadow: 0 0 5px rgba(27,47,107,0.3);
}

.form-group textarea {
    resize: vertical; /* Sadece dikeyde boyutlandırma */
    min-height: 140px;
}

.contact-form button.btn-large {
    width: 100%;
    padding: 15px;
}

/* Sağ Taraf: Bilgi Kutusu */
.contact-info {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 35px;
    align-self: flex-start; /* Kendi yüksekliğinde kalsın */
}

.contact-info h2 {
    font-size: 30px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.contact-info p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 30px;
}

.info-item {
    margin-bottom: 25px;
}

.info-item strong {
    display: block;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.info-item a,
.info-item span {
    font-size: 17px;
    color: #1B2F6B;
    text-decoration: none;
}
.info-item a:hover {
    text-decoration: underline;
}
.info-item span {
    color: #555; /* "Online, Her Yerde!" için */
}

/* Footer'daki sosyal medya ikon stilini burada da kullanmak için */
.social-media-links.footer-style .social-icon {
    background: #e0e0e0; /* Arka planı biraz değiştir */
    color: #333;
}
.social-media-links.footer-style .social-icon:hover {
    background: #1B2F6B;
    color: #fff;
}
/* ------------------------------ */
/* 9. BÖLÜM: MOBİL UYUMLULUK (MEDIA QUERIES) */
/* ------------------------------ */

/* Tablet ve büyük telefonlar (992px ve altı) */
@media (max-width: 992px) {
    
    /* Navigasyon menüsünü basitleştir (JS olmadan en basit yöntem) */
    .nav-menu {
        display: none; /* Orta menüyü gizle (Burası normalde hamburger menü olur) */
    }

    .navbar {
        justify-content: space-between; /* Logo ve Butonları iki uca yasla */
    }

    /* Ana Başlığı küçült */
    .hero-section h1 {
        font-size: 38px;
    }

    /* 3'lü Kartları 2'li yap */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Yorum Kartlarını 1'li yap (daha iyi okunur) */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Eğitmen Kartlarını 2'li yap */
    .tutors-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Footer'ı 2'li yap */
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Sadece mobil cihazlar (768px ve altı) */
@media (max-width: 768px) {
    
    /* Bölüm başlıklarını küçült */
    .section-title {
        font-size: 30px;
    }

    /* Ana Başlığı daha da küçült */
    .hero-section h1 {
        font-size: 32px;
    }
    .hero-subtitle {
        font-size: 16px;
    }

    /* Tüm ızgara (grid) yapılarını tek sütuna düşür */
    .features-grid,
    .tutors-grid,
    .testimonials-grid {
        grid-template-columns: 1fr; /* Tüm kartlar alt alta sıralansın */
    }

    /* Footer'ı tek sütuna düşür */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center; /* Mobilde ortalansın */
    }

    .footer-col .social-media-links {
        justify-content: center; /* Sosyal ikonları ortala */
    }

    /* Footer alt barı alt alta gelsin */
    .footer-bottom-bar {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .footer-bottom-bar div {
        margin-left: 0;
    }
}


/* Küçük mobil cihazlar (576px ve altı) */
@media (max-width: 576px) {
}
    /* Navigasyondaki 'Giriş Yap' butonunu gizle, sadece ana eylem (Kayıt Ol) kalsın */
/* ... (Mevcut diğer @media 992px kodları) ... */

/* HAKKIMIZDA SAYFASI UYUMU */
.about-story-grid {
    grid-template-columns: 1fr; /* 2 sütunu tek sütuna düşür */
    gap: 30px;
}
.story-image {
    height: 300px; /* Mobilde resim yüksekliğini azalt */
    order: -1; /* Resmi metnin üstüne taşı */
}
/* ------------------------------ */
/* 13. BÖLÜM: NASIL ÇALIŞIR (SSS) STİLLERİ */
/* ------------------------------ */
.faq-section {
    padding: 70px 0;
    background-color: #f9f9f9; /* Hafif gri arka plan */
}

.faq-container {
    max-width: 800px; /* SSS bölümü çok geniş olmamalı */
    margin: 0 auto; /* Ortala */
}

.faq-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px; /* Sorular arası boşluk */
    overflow: hidden; /* Animasyon/açılma için */
}

.faq-question {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    padding: 20px 25px;
    cursor: pointer;
    list-style: none; /* Varsayılan oku kaldır */
    display: block; /* Tam satırı kapla */
    position: relative; /* Ok ikonu için */
}

/* Ok ikonu ekleme */
.faq-question::after {
    content: '+'; /* Kapalıyken '+' */
    font-size: 24px;
    font-weight: 400;
    color: #1B2F6B;
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.2s ease;
}

/* Soru açıkken... */
.faq-item[open] .faq-question {
    background-color: #f0f8ff; /* Hafif mavi arka plan */
    border-bottom: 1px solid #e0e0e0;
}

.faq-item[open] .faq-question::after {
    content: '−'; /* Açıkken '-' (eksi) */
    transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    padding: 25px;
}
/* ------------------------------ */
/* 14. BÖLÜM: GİRİŞ & KAYIT (AUTH) SAYFALARI */
/* ------------------------------ */
.auth-section {
    padding: 70px 0;
    background-color: #f9f9f9; /* Tüm sayfayı kaplayan gri arka plan */
    min-height: calc(100vh - 160px); /* Ekranı kapla (header/footer hariç) */
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-form-container {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.07);
}

.auth-form-container h2 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

/* Şifremi Unuttum linki */
.auth-password-helper {
    text-align: right;
    margin: -10px 0 20px 0;
}
.auth-password-helper a {
    font-size: 15px;
    color: #1B2F6B;
    text-decoration: none;
}
.auth-password-helper a:hover {
    text-decoration: underline;
}

/* "Hesabın yok mu?" metni */
.auth-helper-text {
    font-size: 16px;
    color: #555;
    text-align: center;
    margin-top: 25px;
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
}
.auth-helper-text a {
    font-weight: 600;
    color: #1B2F6B;
    text-decoration: none;
}
.auth-helper-text a:hover {
    text-decoration: underline;
}
/* ------------------------------ */
/* 15. BÖLÜM: DERS DETAY SAYFASI */
/* ------------------------------ */
.course-detail-section {
    padding: 50px 0;
    background-color: #fff;
}

.course-detail-layout {
    display: grid;
    /* Ana içerik daha geniş (2 birim), playlist dar (1 birim) */
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

/* Sol Taraf: Ana İçerik */
.course-main-content {
    /* Ana içerik */
}

/* Video Oynatıcı */
.video-player-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 oranını koru */
    height: 0;
    overflow: hidden;
    background: #000;
    border-radius: 8px;
}
.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    font-weight: 600;
}
/* Gerçek bir video için:
.video-player-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
*/

/* Ders Başlığı */
.course-title {
    font-size: 34px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* Eğitmen Bilgisi Kutusu */
.course-instructor-info {
    display: flex;
    align-items: center;
    gap: 15px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}
.instructor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.course-instructor-info div {
    display: flex;
    flex-direction: column;
}
.course-instructor-info strong {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.course-instructor-info span {
    font-size: 15px;
    color: #555;
}

/* Sekmeli (Tab) Yapı */
.tab-headers {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 25px;
}
.tab-link {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #555;
    background: none;
    border: none;
    padding: 15px 25px;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transform: translateY(2px); /* Çizgiyle hizala */
}
.tab-link.active {
    color: #1B2F6B;
    border-bottom-color: #1B2F6B;
}

.tab-content {
    display: none; /* JS ile açılır */
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}
.tab-content.active {
    display: block;
}
.tab-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}
.tab-content ul {
    list-style-type: '✓';
    padding-left: 25px;
}
.tab-content ul li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Yorumlar Sekmesi */
.review-item {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}
.review-author {
    font-size: 17px;
    font-weight: 600;
}
.review-rating {
    font-size: 18px;
    color: #f39c12; /* Altın sarısı */
    margin-left: 10px;
}
.review-text {
    margin-top: 10px;
    font-size: 16px;
    color: #555;
}


/* Sağ Taraf: Oynatma Listesi */
.course-playlist-sidebar {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    align-self: flex-start; /* Kendi yüksekliğinde kal */
    max-height: 80vh; /* Çok uzunsa kaydırma çubuğu çıksın */
    overflow-y: auto;
}
.course-playlist-sidebar h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.playlist {
    list-style: none;
}

.playlist-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 6px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background-color 0.3s ease;
}
.playlist-item:hover {
    background-color: #e9e9e9;
}
.playlist-item.playing {
    background-color: #e6f2ff; /* Aktif video (mavi) */
    border-color: #1B2F6B;
}
.playlist-item.locked {
    opacity: 0.6;
    cursor: not-allowed;
}

.item-icon {
    font-size: 16px;
    font-weight: bold;
    color: #1B2F6B;
    width: 20px;
    text-align: center;
}
.playlist-item.locked .item-icon {
    color: #555;
}

.item-info {
    display: flex;
    flex-direction: column;
}
.item-info strong {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}
.item-info span {
    font-size: 13px;
    color: #555;
}
/* ------------------------------ */
/* 9. BÖLÜM: MOBİL UYUMLULUK (EKLEMELER) */
/* ------------------------------ */

/* Tablet ve büyük telefonlar (992px ve altı) */
@media (max-width: 992px) {
    
    /* ... (Mevcut diğer kodlar) ... */

    /* İLETİŞİM SAYFASI UYUMU */
    .contact-grid {
        grid-template-columns: 1fr; /* 2 sütunu tek sütuna düşür */
        gap: 40px;
    }

}


/* Sadece mobil cihazlar (768px ve altı) */
@media (max-width: 768px) {
    
    /* ... (Mevcut diğer kodlar) ... */

    /* İLETİŞİM SAYFASI UYUMU */
    .form-row {
        flex-direction: column; /* Ad ve Soyad alt alta gelsin */
        gap: 0; /* Aradaki boşluğu form-group'un margin'i halleder */
    }

    .contact-info {
        padding: 25px;
    }

    .contact-form-wrapper h2,
    .contact-info h2 {
        font-size: 26px; /* Başlıkları küçült */
    }
}
/* Sadece mobil cihazlar (768px ve altı) */
@media (max-width: 768px) {
    
    /* ... (Mevcut diğer kodlar) ... */

    /* SSS SAYFASI UYUMU */
    .faq-question {
        font-size: 16px;
        padding-right: 45px; /* Ok ikonuna yer aç */
    }
}
/* Küçük mobil cihazlar (576px ve altı) */
@media (max-width: 576px) {
    
    /* ... (Mevcut diğer kodlar) ... */

    /* AUTH SAYFALARI UYUMU */
    .auth-section {
        padding: 30px 15px; /* Kenar boşluklarını azalt */
    }
    .auth-form-container {
        padding: 25px; /* İç boşluğu azalt */
    }
    .auth-form-container h2 {
        font-size: 24px;
    }
}
/* ------------------------------ */
/* 16. BÖLÜM: TOPLULUK FORUM SAYFASI */
/* ------------------------------ */
.forum-section {
    padding: 70px 0;
    background-color: #f9f9f9;
}

.forum-layout {
    display: grid;
    /* 1 Birim Sidebar, 3 Birim Akış */
    grid-template-columns: 1fr 3fr; 
    gap: 40px;
}

.new-question-button {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}

.question-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.question-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.question-user-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.question-user-info div {
    display: flex;
    flex-direction: column;
}
.question-user-info strong {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.question-user-info span {
    font-size: 14px;
    color: #555;
}
.question-user-info span a {
    color: #1B2F6B;
    text-decoration: none;
    font-weight: 500;
}

.question-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
}
.question-title a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}
.question-title a:hover {
    color: #1B2F6B;
}

.question-image-placeholder {
    width: 100%;
    height: 250px;
    border-radius: 8px;
    background: #f0f0f0;
    border: 1px dashed #ccc;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #888;
    margin-bottom: 20px;
}

.question-meta {
    display: flex;
    gap: 20px;
    font-size: 15px;
    color: #555;
    font-weight: 500;
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

/* ------------------------------ */
/* 17. BÖLÜM: SORU YÜKLEME SAYFASI */
/* ------------------------------ */
.upload-form-section {
    padding: 70px 0;
    background: #fff;
}
.upload-form-container {
    max-width: 800px;
    margin: 0 auto;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 40px;
}

/* Select (Kategori) kutusu stili */
.form-select {
    width: 100%;
    padding: 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background-color: #fff; /* Arka planı beyaz yap */
}

/* Dosya Yükleme stili */
.form-file-input {
    width: 100%;
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
}
.form-group small {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: #777;
}
/* ------------------------------ */
/* 19. BÖLÜM: NİHAİ FOOTER GÜNCELLEMESİ (4 Sütun) */
/* ------------------------------ */
.site-footer {
    /* ... (Mevcut .site-footer stiliniz) ... */
}
.footer-grid {
    display: grid;
    /* 4 sütunlu ızgara */
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); 
    gap: 30px; 
    margin-bottom: 50px; 
}
/* ... (Mevcut .footer-col, .footer-logo, vb. stilleriniz) ... */

/* ------------------------------ */
/* 20. BÖLÜM: BLOG SAYFASI STİLLERİ */
/* ------------------------------ */

.blog-layout {
    display: grid;
    /* 2 Sütun: Yazılar (2 birim), Sidebar (1 birim) */
    grid-template-columns: 2fr 1fr; 
    gap: 40px;
}

/* Blog Yazı Kartı */
.article-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    margin-bottom: 30px;
}

.article-image {
    display: block;
    height: 250px;
    background-color: #e0e0e0; /* Resim yer tutucu */
    /* Gerçek resim için:
    background-image: url('...');
    background-size: cover;
    */
}

.article-content {
    padding: 30px;
}

.article-category {
    font-size: 13px;
    font-weight: 600;
    color: #1B2F6B;
    text-transform: uppercase;
    text-decoration: none;
    margin-bottom: 10px;
    display: inline-block;
}

.article-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
}
.article-title a {
    text-decoration: none;
    color: #2c3e50;
    transition: color 0.3s ease;
}
.article-title a:hover {
    color: #1B2F6B;
}

.article-meta {
    font-size: 14px;
    color: #555;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.article-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 20px;
}

/* Sidebar Widget Stilleri */
.sidebar-widget {
    /* .dersler-sidebar stili zaten arka planı ayarlıyor */
    margin-bottom: 30px;
}

.sidebar-widget h4 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.search-widget {
    display: flex;
}
.search-widget input {
    flex-grow: 1; /* Alanı doldur */
    padding: 12px;
    font-size: 15px;
    border: 1px solid #ccc;
    border-radius: 6px 0 0 6px; /* Sağı düz */
}
.search-widget button {
    font-family: 'Poppins', sans-serif;
    font-size: 15px;
    padding: 0 15px;
    background: #1B2F6B;
    color: white;
    border: 1px solid #1B2F6B;
    border-radius: 0 6px 6px 0; /* Solu düz */
    cursor: pointer;
}
/* ------------------------------ */
/* 21. BÖLÜM: EĞİTMEN DETAY SAYFASI */
/* ------------------------------ */

.egitmen-profil-header {
    padding: 60px 0;
    background-color: #f9f9f9; /* Hafif gri arka plan */
    border-bottom: 1px solid #e0e0e0;
}

.profil-header-grid {
    display: grid;
    grid-template-columns: 300px 1fr; /* Sol resim, sağ içerik */
    gap: 40px;
    align-items: center;
}

.profil-resim img {
    width: 100%;
    height: 300px;
    border-radius: 8px; /* Hafif köşeli veya 50% ile tam yuvarlak */
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.profil-bilgi h1 {
    font-size: 42px;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
}

.profil-unvan {
    font-size: 20px;
    font-weight: 500;
    color: #1B2F6B; /* Ana renk */
    display: block;
    margin-bottom: 20px;
}

.profil-kisa-ozet {
    font-size: 17px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.egitmen-sosyal .social-icon {
    background: #e0e0e0;
    color: #333;
}
.egitmen-sosyal .social-icon:hover {
    background: #1B2F6B;
    color: #fff;
}


/* Eğitmen Biyografi İçeriği */
.egitmen-detay-icerik {
    padding: 70px 0;
}

.egitmen-detay-icerik h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 20px;
}

.egitmen-detay-icerik p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.egitmen-ayrac {
    border: 0;
    border-top: 1px solid #f0f0f0;
    margin: 40px 0;
}
/* ------------------------------ */
/* 22. BÖLÜM: STATİK METİN SAYFALARI (Gizlilik vb.) */
/* ------------------------------ */

.text-content-section {
    padding: 70px 0;
    background: #fff;
}

.text-content {
    max-width: 800px; /* Metnin okunabilirliğini artırır */
    margin: 0 auto; /* Sayfada ortalar */
}

/* Tüm metin stilleri .text-content içinde */
.text-content p,
.text-content li {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 20px;
}

.text-content h2 {
    font-size: 28px;
    font-weight: 600;
    color: #2c3e50;
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.text-content h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin-top: 30px;
    margin-bottom: 15px;
}

.text-content ul {
    list-style-type: disc; /* Normal madde imleri */
    padding-left: 30px;
    margin-bottom: 20px;
}

.text-content blockquote {
    background: #fffbe6; /* Sarı uyarı kutusu */
    border: 1px solid #ffe58f;
    border-left: 5px solid #ffc107; /* Sol kenar vurgusu */
    border-radius: 8px;
    padding: 20px 25px;
    margin: 20px 0;
    font-size: 16px;
    line-height: 1.7;
}
.text-content blockquote strong {
    color: #a07d00;
}
/* ------------------------------ */
/* 23. BÖLÜM: KOÇLUK SAYFASI (FİYATLANDIRMA) */
/* ------------------------------ */
.pricing-section {
    padding: 70px 0;
    background-color: #f9f9f9; /* Hafif gri arka plan */
}

.pricing-grid {
    display: grid;
    /* 3 sütunlu ızgara */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    display: flex;
    flex-direction: column; /* İçeriği dikey sırala */
    transition: all 0.3s ease;
    position: relative; /* Önerilen bandı için */
    overflow: hidden; /* Önerilen bandı için */
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.pricing-header {
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 20px;
    margin-bottom: 25px;
}
.pricing-header h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}
.pricing-header .price {
    font-size: 38px;
    font-weight: 700;
    color: #1B2F6B;
    display: block;
}
.pricing-header .price small {
    font-size: 16px;
    font-weight: 500;
    color: #555;
}
.pricing-header .saved-text {
    font-size: 15px;
    color: #555;
    margin-top: 5px;
}

.pricing-features {
    list-style-type: '✓'; /* Tik işareti */
    padding-left: 20px;
    margin-bottom: 25px;
    flex-grow: 1; /* Listeyi uzatarak butonu dibe iter */
}
.pricing-features li {
    font-size: 16px;
    color: #333;
    margin-bottom: 12px;
    padding-left: 10px;
    line-height: 1.5;
}

/* Önerilen Paket Stili */
.pricing-card.recommended {
    border: 2px solid #1B2F6B; /* Mavi çerçeve */
}

.recommended-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #1B2F6B;
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 30px;
    transform: rotate(45deg);
    text-align: center;
}
/* ------------------------------ */
/* 24. BÖLÜM: WHATSAPP POPUP STİLLERİ (GÜNCELLENDİ) */
/* ------------------------------ */

/* 1. Kayan Butonun Stili */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    cursor: pointer; /* Tıklanabilir olduğunu göster */
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: #FFF;
}

/* 2. Açılır Pencerenin Stilleri */
.whatsapp-popup {
    position: fixed;
    bottom: 100px; /* Butonun 10px üstünde */
    right: 30px;
    width: 350px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 999;
    font-family: 'Poppins', sans-serif;
    
    /* Başlangıçta gizle (Animasyonlu) */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease-in-out;
}

/* JavaScript tarafından eklenecek 'active' class'ı */
.whatsapp-popup.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.popup-header {
    background: #075E54; /* WhatsApp koyu yeşil */
    color: white;
    padding: 15px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
}
.popup-logo {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: #fff; /* Logonuzun PNG olduğunu varsayarak */
    padding: 5px;
}
.popup-title {
    display: flex;
    flex-direction: column;
}
.popup-title strong {
    font-size: 17px;
    font-weight: 600;
}
.popup-title span {
    font-size: 13px;
    opacity: 0.9;
}
.popup-close {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 30px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.8;
}
.popup-close:hover {
    opacity: 1;
}

.popup-body {
    padding: 20px;
    background: #E5DDD5; /* WhatsApp arka planı */
}
.welcome-message {
    background: #fff;
    padding: 12px 15px;
    border-radius: 0 8px 8px 8px; /* Gelen mesaj balonu */
    font-size: 15px;
    line-height: 1.6;
    color: #333;
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.popup-footer {
    padding: 15px 20px;
    background: #f0f0f0;
    border-top: 1px solid #ddd;
    text-align: center;
}
.popup-footer .btn {
    width: 100%;
}
/* ------------------------------ */
/* 25. BÖLÜM: KOÇLUK (NEDEN BİZ?) STİLLERİ */
/* ------------------------------ */
.why-us-section {
    padding: 70px 0;
    background-color: #fff;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.why-us-item {
    text-align: center;
    padding: 30px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.why-us-icon {
    font-size: 40px;
    font-weight: bold;
    color: #1B2F6B;
    margin-bottom: 20px;
}

.why-us-item h3 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.why-us-item p {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
}
/* ------------------------------ */
/* 26. BÖLÜM: GERİ SAYIM SAYACI */
/* ------------------------------ */
.countdown-section {
    padding: 70px 0;
    background-color: #f9f9f9; /* Hafif gri arka plan */
}

.countdown-grid {
    display: grid;
    /* 3 sütunlu ızgara */
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.countdown-timer {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px;
    text-align: center;
}

.countdown-timer h3 {
    font-size: 24px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.timer-display {
    display: flex;
    justify-content: space-around; /* Kutuları eşit dağıt */
    gap: 10px;
}

.timer-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f0f4f8; /* Hafif mavi-gri */
    padding: 15px 10px;
    border-radius: 6px;
    min-width: 65px; /* Minimum genişlik */
}

.timer-box span {
    font-size: 32px;
    font-weight: 700;
    color: #1B2F6B; /* Ana renk */
    line-height: 1.1;
}

.timer-box {
    font-size: 14px;
    font-weight: 500;
    color: #555;
    margin-top: 5px;
}
/* ------------------------------ */
/* 9. BÖLÜM: MOBİL UYUMLULUK (EKLEMELER) */
/* ------------------------------ */

/* Tablet ve büyük telefonlar (992px ve altı) */
@media (max-width: 992px) {
    
    /* ... (Mevcut diğer kodlar) ... */

    /* DERS DETAY SAYFASI UYUMU */
    .course-detail-layout {
        grid-template-columns: 1fr; /* 2 sütunu tek sütuna düşür */
        gap: 30px;
    }
    
    .course-playlist-sidebar {
        /* Playlist'i video ve açıklamanın altına taşı (doğal akış) */
        max-height: none; /* Yükseklik limitini kaldır */
    }
}


/* Sadece mobil cihazlar (768px ve altı) */
@media (max-width: 768px) {
    
    /* ... (Mevcut diğer kodlar) ... */
    
    /* DERS DETAY SAYFASI UYUMU */
    .course-detail-section {
        padding: 30px 0;
    }
    .course-title {
        font-size: 28px; /* Ana başlığı küçült */
    }
    .tab-link {
        font-size: 16px;
        padding: 12px 15px; /* Sekme butonlarını küçült */
    }
}
/* ------------------------------ */
/* 9. BÖLÜM: MOBİL UYUMLULUK (EKLEMELER) */
/* ------------------------------ */

/* Tablet ve büyük telefonlar (992px ve altı) */
@media (max-width: 992px) {
    
    /* ... (Mevcut diğer kodlar) ... */

    /* TOPLULUK SAYFASI UYUMU */
    .forum-layout {
        grid-template-columns: 1fr; /* 2 sütunu tek sütuna düşür */
        gap: 30px;
    }

}


/* Sadece mobil cihazlar (768px ve altı) */
@media (max-width: 768px) {
    
    /* ... (Mevcut diğer kodlar) ... */
    
    /* SORU KARTI UYUMU */
    .question-title {
        font-size: 18px;
    }
    .question-image-placeholder {
        height: 180px; /* Resim alanını küçült */
    }

    /* YÜKLEME FORMU UYUMU */
    .upload-form-container {
        padding: 25px;
    }

}
/* ------------------------------ */
/* 9. BÖLÜM: MOBİL UYUMLULUK (EKLEMELER) */
/* ------------------------------ */

/* Tablet ve büyük telefonlar (992px ve altı) */
@media (max-width: 992px) {
    
    /* ... (Mevcut diğer kodlar) ... */

    /* BLOG SAYFASI UYUMU */
    .blog-layout {
        grid-template-columns: 1fr; /* 2 sütunu tek sütuna düşür */
        gap: 30px;
    }
    
    /* Sidebar'ı yazıların üstüne taşı */
    .blog-feed {
        order: 2; 
    }
    .dersler-sidebar {
        order: 1;
    }

}



/* ------------------------------ */
/* MENÜ DÜZELTMELERİ + MOBİL HAMBURGER MENÜ */
/* ------------------------------ */
.nav-item a,
.nav-auth .btn {
    white-space: nowrap; /* "Ana Sayfa", "Kayıt Ol" iki satıra bölünmesin */
}
.nav-item a {
    padding: 28px 12px;
}
.nav-auth {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}
.nav-auth a {
    margin-left: 0;
}
.nav-logo {
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    margin-left: 10px;
}
.nav-toggle span {
    display: block;
    width: 26px;
    height: 3px;
    margin: 5px 0;
    background-color: #2c3e50;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1200px) {
    .nav-item a { padding: 28px 8px; font-size: 15px; }
}

@media (max-width: 1100px) {
    .site-header { position: relative; }
    .navbar { flex-wrap: wrap; padding: 12px 0; }
    .nav-toggle { display: block; order: 3; }
    .nav-auth { order: 2; margin-left: auto; }
    .nav-menu {
        display: none;
        order: 4;
        width: 100%;
        flex-direction: column;
        border-top: 1px solid #eee;
        margin-top: 12px;
    }
    .nav-menu.open { display: flex; }
    .nav-menu li { margin: 0; }
    .nav-item a { padding: 14px 4px; }
    /* Mobilde açılır menü alt alta, her zaman görünür */
    .nav-menu .dropdown-menu {
        display: block;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding-left: 15px;
        min-width: 0;
    }
}

@media (max-width: 576px) {
    .container { padding: 0 16px; }
    .nav-logo { font-size: 15px; gap: 6px; }
    .logo-image { height: 32px; }
    .nav-auth .btn { padding: 8px 14px; font-size: 14px; }
    .nav-toggle { margin-left: 2px; padding: 8px 4px; }
    .nav-auth .btn-secondary { display: none; } /* Küçük ekranda sadece "Kayıt Ol" */
}

/* ANA SAYFA KARTLARI: fotoğraf + içerik */
.card-image { overflow: hidden; }
.card-photo {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Fotoğraf ezilmeden alanı doldursun */
    display: block;
}
.card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Yer tutucu avatarlar yuvarlak ve düzgün boyutta */
.student-avatar { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }

/* Menü elemanlarındaki fazladan yan boşluğu kaldır */
.nav-menu .nav-item { margin: 0; }

/* Partner logoları kutudan taşmasın */
.partner-logo-box img {
    max-width: 100%;
    height: auto;
    max-height: 100px;
    object-fit: contain;
}

/* Filtre sonucu boşsa gösterilen mesaj */
.filter-empty {
    grid-column: 1 / -1;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    background: #f9f9f9;
    border: 1px dashed #ddd;
    border-radius: 8px;
}
.filter-empty a { color: #1B2F6B; }
.btn.disabled { pointer-events: none; opacity: 0.7; cursor: not-allowed; }

/* Eğitmen kartlarında link görünümü */
.tutor-card > a { text-decoration: none; color: inherit; display: block; }
.tutor-card > a:hover h4 { color: #1B2F6B; }
.tutor-btn { margin-top: 15px; display: inline-block; }
.tutors-section .tutor-card { display: flex; flex-direction: column; align-items: center; }

/* Eğitmen detay sayfası butonları */
.egitmen-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 20px; }

/* ------------------------------ */
/* BLOG: KART GÖRSELLERİ + YAZI SAYFASI */
/* ------------------------------ */
.article-image { background-size: cover; background-position: center; }

.post-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 90px 0 70px;
    color: #fff;
}
.post-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(rgba(20, 30, 45, 0.55), rgba(20, 30, 45, 0.85));
}
.post-hero .container { position: relative; max-width: 820px; }
.post-hero h1 { font-size: 40px; line-height: 1.25; margin: 10px 0 15px; }
.post-category {
    display: inline-block;
    background: #1B2F6B;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none;
    text-transform: uppercase;
}
.post-meta { font-size: 15px; opacity: 0.9; }

.post-container { max-width: 820px; }
.post-back {
    display: inline-block;
    margin: 30px 0 10px;
    color: #1B2F6B;
    text-decoration: none;
    font-weight: 500;
}
.post-body { padding-bottom: 50px; font-size: 17px; line-height: 1.85; color: #3a3a3a; }
.post-body p { margin-bottom: 18px; }
.post-body h2 { font-size: 24px; color: #2c3e50; margin: 35px 0 12px; }
.post-body ul { margin: 0 0 18px 22px; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: #1B2F6B; }

.related-posts { background: #f9f9f9; padding: 50px 0 60px; border-top: 1px solid #eee; }
.related-posts h3 { font-size: 24px; color: #2c3e50; margin-bottom: 20px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.related-card {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: #2c3e50;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-card:hover { transform: translateY(-4px); box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08); }
.related-image { height: 130px; background-size: cover; background-position: center; }
.related-card .article-category { margin: 15px 15px 5px; }
.related-card strong { padding: 0 15px 18px; font-size: 16px; line-height: 1.4; }

@media (max-width: 768px) {
    .post-hero { padding: 60px 0 45px; }
    .post-hero h1 { font-size: 28px; }
    .post-body { font-size: 16px; }
    .related-grid { grid-template-columns: 1fr; }
}

/* ------------------------------ */
/* ONLINE DERSHANE BÖLÜMLERİ */
/* ------------------------------ */
.hero-buttons { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-light { background-color: #fff; color: #2c3e50; border: 2px solid #fff; }
.btn-light:hover { background-color: transparent; color: #fff; }

.features-grid-4 { grid-template-columns: repeat(4, 1fr); gap: 24px; }
.features-grid-4 .card-image { height: 170px; }
.features-grid-4 .feature-card h3 { font-size: 20px; }
.features-grid-4 .feature-card p { font-size: 15px; }
@media (max-width: 1100px) { .features-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px)  { .features-grid-4 { grid-template-columns: 1fr; } }

.topics-group-title { font-size: 20px; color: #2c3e50; margin: 35px 0 15px; }
.topic-emoji {
    display: flex; align-items: center; justify-content: center;
    font-size: 30px; line-height: 1;
}

.steps-section { padding: 70px 0; background: #fff; }
.steps-section .section-description { margin-bottom: 35px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 30px; }
.step-item {
    text-align: center;
    padding: 30px 25px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
}
.step-number {
    width: 56px; height: 56px; margin: 0 auto 15px;
    border-radius: 50%;
    background: #e7f1ff; color: #1B2F6B;
    font-size: 24px; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
}
.step-item h3 { font-size: 19px; color: #2c3e50; margin-bottom: 10px; }
.step-item p { color: #555; font-size: 15px; }
.steps-section .view-all-btn { margin: 30px 6px 0; }
@media (max-width: 768px) { .steps-grid { grid-template-columns: 1fr; } }

.course-emoji {
    display: flex; align-items: center; justify-content: center;
    font-size: 54px; height: 130px;
}

/* Form ekleri */
.form-page { padding: 50px 0 70px; }
.check-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px 15px; margin-top: 8px; }
.check-item { display: flex; align-items: center; gap: 8px; font-weight: 400; cursor: pointer; }
.check-item input { width: auto; margin: 0; }
.kvkk { margin: 10px 0 20px; font-size: 14px; color: #555; align-items: flex-start; }
.kvkk input { margin-top: 4px; }
.form-note { font-size: 13px; color: #777; margin-top: 12px; text-align: center; }
.form-success {
    margin-top: 15px; padding: 15px;
    background: #e8f5e9; color: #2e7d32;
    border-radius: 8px; font-size: 15px;
}
.form-success a { color: #2e7d32; font-weight: 600; }
.steps-section .text-center { margin-top: 35px; }
.steps-section .view-all-btn { margin: 0 6px 10px; display: inline-block; }

.form-group label.check-item { font-weight: 400; font-size: 15px; margin-bottom: 0; }
.check-item.kvkk { display: block; }
.check-item.kvkk input { margin-right: 6px; vertical-align: -2px; }
.contact-form button, .btn { font-family: 'Poppins', sans-serif; }

/* TELEFON/TABLET: taşan ızgaraları tek sütuna düşür */
@media (max-width: 992px) {
    .dersler-layout { grid-template-columns: 1fr; gap: 25px; }
    .countdown-grid, .why-us-grid, .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin-left: auto; margin-right: auto; }
}
@media (max-width: 768px) {
    .dersler-grid { grid-template-columns: 1fr; }
    .tutors-grid { grid-template-columns: 1fr; }
    /* Dersler yan menüsü telefonda yatay kaydırılabilir butonlar */
    .dersler-sidebar .filter-list { display: flex; flex-wrap: wrap; gap: 6px; }
    .dersler-sidebar .filter-list li { margin: 0; }
    .dersler-sidebar .filter-list a { padding: 6px 12px; border: 1px solid #ddd; border-radius: 20px; font-size: 14px; }
    .timer-box { padding: 8px 6px; min-width: 0; }
}
@media (max-width: 768px) {
    .profil-header-grid { grid-template-columns: 1fr; text-align: center; }
    .profil-resim img { max-width: 220px; margin: 0 auto; display: block; }
    .profil-bilgi h1 { font-size: 28px; }
    .egitmen-sosyal { justify-content: center; }
}
@media (max-width: 768px) {
    .topics-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .topic-card { padding: 18px 10px; }
    .topic-card h4 { font-size: 15px; }
}
