/* ================================================================
   KursYonetim — Public Site Stilleri
================================================================ */

:root {
    --ana-renk: #1e3a5f;          /* derin lacivert */
    --ana-renk-koyu: #14283f;
    --ana-renk-acik: #2d4f7a;
    --vurgu-renk: #f59e0b;         /* amber accent */
    --vurgu-renk-koyu: #d97706;
    --metin-koyu: #0f172a;
    --metin-orta: #475569;
    --metin-acik: #94a3b8;
    --arka-acik: #f8fafc;
    --kenar: #e2e8f0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--metin-koyu);
    background: #fff;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--metin-koyu);
    letter-spacing: -0.01em;
}

a { color: var(--ana-renk); text-decoration: none; transition: color .15s ease-in-out; }
a:hover { color: var(--ana-renk-koyu); }

.text-muted, .text-secondary { color: var(--metin-orta) !important; }

/* =====================================================
   Navbar
===================================================== */
.site-nav {
    background: #fff;
    border-bottom: 1px solid var(--kenar);
    padding: 0.85rem 0;
}
.site-nav .navbar-brand {
    color: var(--ana-renk);
    font-weight: 700;
    font-size: 1.25rem;
}
.site-nav .navbar-brand:hover { color: var(--ana-renk-koyu); }
.site-nav .nav-link {
    color: var(--metin-koyu);
    font-weight: 500;
    padding: 0.5rem 0.9rem;
}
.site-nav .nav-link:hover { color: var(--ana-renk); }
.btn-ana {
    background: var(--ana-renk);
    color: #fff;
    border: none;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    font-weight: 500;
    transition: background-color .15s ease-in-out;
}
.btn-ana:hover { background: var(--ana-renk-koyu); color: #fff; }
.btn-ana-cizgi {
    background: transparent;
    color: var(--ana-renk);
    border: 1.5px solid var(--ana-renk);
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    font-weight: 500;
}
.btn-ana-cizgi:hover { background: var(--ana-renk); color: #fff; }
.btn-vurgu {
    background: var(--vurgu-renk);
    color: #fff;
    border: none;
    padding: 0.65rem 1.4rem;
    border-radius: 8px;
    font-weight: 600;
}
.btn-vurgu:hover { background: var(--vurgu-renk-koyu); color: #fff; }

/* =====================================================
   Hero
===================================================== */
.hero {
    position: relative;
    min-height: 540px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4f7a 50%, #14283f 100%);
    overflow: hidden;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(45, 79, 122, 0.4) 0%, transparent 50%);
    pointer-events: none;
}
.hero-icerik {
    position: relative;
    max-width: 760px;
    padding: 4rem 1.5rem;
}
.hero h1 {
    color: #fff;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.15;
}
.hero .lead {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: 2rem;
}
.hero .cta-grup { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

/* =====================================================
   Bölüm başlığı
===================================================== */
.bolum {
    padding: 4.5rem 0;
}
.bolum-baslik {
    text-align: center;
    margin-bottom: 3rem;
}
.bolum-baslik .ust { color: var(--vurgu-renk); font-weight: 600; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; }
.bolum-baslik h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin: 0.4rem 0 0.5rem; }
.bolum-baslik p { color: var(--metin-orta); max-width: 560px; margin: 0 auto; }

/* =====================================================
   Kategoriler
===================================================== */
.kategori-kart {
    background: #fff;
    border: 1px solid var(--kenar);
    border-radius: 14px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
    height: 100%;
    color: var(--metin-koyu);
}
.kategori-kart:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
    border-color: var(--ana-renk);
    color: var(--ana-renk);
}
.kategori-kart .ikon {
    width: 60px;
    height: 60px;
    margin: 0 auto 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 58, 95, 0.08);
    color: var(--ana-renk);
    border-radius: 50%;
    font-size: 1.6rem;
}
.kategori-kart .ad { font-weight: 600; font-size: 1rem; margin-bottom: 0.2rem; }
.kategori-kart .ks { color: var(--metin-orta); font-size: 0.82rem; }

/* =====================================================
   Kurs kartı
===================================================== */
.kurs-kart {
    background: #fff;
    border: 1px solid var(--kenar);
    border-radius: 14px;
    overflow: hidden;
    transition: transform .15s ease, box-shadow .15s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.kurs-kart:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
}
.kurs-kart .kapak {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #2d4f7a 0%, #1e3a5f 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background-size: cover;
    background-position: center;
}
.kurs-kart .govde { padding: 1.1rem; flex-grow: 1; display: flex; flex-direction: column; }
.kurs-kart .kategori-rozet {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(30, 58, 95, 0.08);
    color: var(--ana-renk);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.18rem 0.55rem;
    border-radius: 100px;
    margin-bottom: 0.55rem;
    align-self: flex-start;
}
.kurs-kart h5 { font-size: 1.05rem; margin: 0 0 0.45rem; line-height: 1.3; }
.kurs-kart .aciklama { color: var(--metin-orta); font-size: 0.88rem; flex-grow: 1; margin-bottom: 0.8rem; }
.kurs-kart .fiyat { display: flex; align-items: center; justify-content: space-between; }
.kurs-kart .fiyat .tutar { font-weight: 700; color: var(--metin-koyu); font-size: 1.05rem; }
.kurs-kart .fiyat .ucretsiz { background: #10b981; color: #fff; padding: 0.2rem 0.65rem; border-radius: 6px; font-size: 0.78rem; font-weight: 600; }

/* =====================================================
   Nasıl çalışır
===================================================== */
.nasil-cisbo { background: var(--arka-acik); }
.adim {
    text-align: center;
    padding: 0 1rem;
}
.adim .numara {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: var(--ana-renk);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
}
.adim h5 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.adim p { color: var(--metin-orta); font-size: 0.92rem; }

/* =====================================================
   Ücretsiz önizleme
===================================================== */
.onizleme-kart {
    position: relative;
    background: #0f172a;
    border-radius: 14px;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    color: #fff;
    transition: transform .15s ease;
}
.onizleme-kart:hover { transform: translateY(-4px); }
.onizleme-kart .play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.9;
}
.onizleme-kart .alt {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 0.85rem 1rem;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.85) 100%);
    color: #fff;
}
.onizleme-kart .alt .ders-ad { font-weight: 600; font-size: 0.95rem; }
.onizleme-kart .alt .kurs-ad { color: rgba(255, 255, 255, 0.75); font-size: 0.78rem; }
.ucretsiz-rozet { position: absolute; top: 0.75rem; right: 0.75rem; background: #10b981; color: #fff; padding: 0.18rem 0.55rem; border-radius: 6px; font-size: 0.72rem; font-weight: 700; }

/* =====================================================
   İletişim
===================================================== */
.iletisim { background: var(--arka-acik); }
.iletisim-kart {
    background: #fff;
    border-radius: 14px;
    padding: 2rem;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}
.iletisim-bilgi {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.4rem;
}
.iletisim-bilgi .ikon {
    width: 42px; height: 42px;
    background: rgba(30, 58, 95, 0.08);
    color: var(--ana-renk);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.iletisim-bilgi .baslik { font-weight: 600; font-size: 0.85rem; color: var(--metin-orta); margin: 0; }
.iletisim-bilgi .deger { font-size: 1rem; color: var(--metin-koyu); margin: 0; }

/* =====================================================
   Footer
===================================================== */
.site-footer {
    background: #0f172a;
    color: rgba(255, 255, 255, 0.7);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}
.site-footer a { color: rgba(255, 255, 255, 0.7); }
.site-footer a:hover { color: #fff; }
.site-footer h6 { color: #fff; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 1rem; }
.site-footer .marka { color: #fff; font-weight: 700; font-size: 1.15rem; margin-bottom: 0.5rem; }
.site-footer .sosyal a { display: inline-flex; width: 36px; height: 36px; background: rgba(255, 255, 255, 0.08); border-radius: 50%; align-items: center; justify-content: center; margin-right: 0.5rem; transition: background .15s ease; }
.site-footer .sosyal a:hover { background: var(--ana-renk-acik); }
.site-footer .telif { border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 1.25rem; margin-top: 2rem; font-size: 0.85rem; }

/* =====================================================
   Animasyon (scroll fade)
===================================================== */
.gorunum-girisi {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}
.gorunum-girisi.aktif {
    opacity: 1;
    transform: translateY(0);
}
