/* ============================================================================
   VİTRİN — ortak stiller
   1. Temel: Hello Elementor temasının motorların üstüne oturduğu sıfırlama
      (box-sizing, gövde yazı tipi, #FAFAFA sayfa zemini) — motorlar bugün
      bu zeminde çiziliyor, aynısı korunuyor.
   2. Alt bilgi, paylaş düğmesi, "Birlikte Büyütelim": Elementor HTML
      bileşenlerindeki stillerin aynısı (şablon 10857).
   3. Yükleyiciler: snippet'lerin satır-içi <style> blokları buraya alındı.
   4. Yeni: bölüm başlığı ve alt bağlantı bloğu.
   ========================================================================== */

/* ── 1. Temel ───────────────────────────────────────────────────────────── */
*, ::before, ::after { box-sizing: border-box; }
html { line-height: 1.15; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    background-color: #FAFAFA;
    color: #333;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
}
img { max-width: 100%; height: auto; border-style: none; }
.vitrin-atla {
    position: absolute; left: -9999px; top: 0; z-index: 100000;
    background: #fff; color: #0f172a; padding: 8px 14px; border-radius: 6px;
}
.vitrin-atla:focus { left: 8px; top: 8px; }
.vitrin-icerik { display: block; }

/* ── 2a. Alt bilgi ──────────────────────────────────────────────────────── */
.km-minimal-footer {
    --icerik-genisligi: 80%;
    background-color: #f8fafc;
    border-top: 1px solid #e2e8f0;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    width: 100%;
    display: block;
}
.km-footer-container {
    width: var(--icerik-genisligi);
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.km-footer-left .km-copyright { margin: 0; color: #64748b; font-size: 13px; font-weight: 400; }
.km-footer-left .km-copyright strong { color: #0f172a; font-weight: 600; }
/* Kullanım ve Telif bağlantısı (30 Eyl 2026, C8 adım 6) — telif satırının altında, aynı ton */
.km-footer-left .km-footer-telif { display: inline-block; margin-top: 4px; color: #64748b; font-size: 12.5px; text-decoration: none; border-bottom: 1px solid rgba(100, 116, 139, .35); }
.km-footer-left .km-footer-telif:hover { color: #0083b0; border-bottom-color: #0083b0; }
.km-footer-right { display: flex; align-items: center; gap: 16px; }
.km-social-text { font-size: 13px; color: #94a3b8; font-weight: 500; letter-spacing: -0.2px; }
.km-social-icons { display: flex; align-items: center; gap: 10px; }
.km-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background-color: #ffffff;
    color: #64748b;
    text-decoration: none;
    font-size: 16px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.km-custom-udemy-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    filter: brightness(0.9);
}
.km-social-link:hover {
    background-color: #2196F3;
    color: #ffffff;
    border-color: #2196F3;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(33, 150, 243, 0.25);
}
.km-social-link:hover .km-custom-udemy-img { filter: brightness(0) invert(1); }
@media (max-width: 768px) {
    .km-minimal-footer { padding: 16px 0; }
    .km-footer-container { width: 90%; flex-direction: column; gap: 12px; text-align: center; }
    .km-footer-right { flex-direction: column; gap: 8px; }
    .km-footer-left .km-copyright { font-size: 12px; }
    .km-social-text { font-size: 12px; }
    .km-social-icons { flex-wrap: wrap; justify-content: center; gap: 8px; }
    .km-social-link { width: 32px; height: 32px; font-size: 14px; }
    .km-custom-udemy-img { width: 12px; height: 12px; }
}

/* ── 2b. Yapışkan paylaş düğmesi ───────────────────────────────────────── */
.km-floating-share {
    position: fixed;
    left: 20px;
    bottom: -100px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
.km-floating-share.is-visible { bottom: 20px; opacity: 1; visibility: visible; }
.km-share-main-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #2196F3;
    color: white;
    border: none;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.4);
    transition: transform 0.3s ease, background-color 0.3s ease;
    position: relative;
    z-index: 2;
}
.km-share-main-btn:hover { transform: scale(1.08); background-color: #1E88E5; }
.km-share-options {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%) translateY(20px) scale(0.8);
    display: flex;
    flex-direction: column;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: bottom center;
    z-index: 1;
}
.km-share-options.is-open { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0) scale(1); }
.km-share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition: transform 0.2s ease;
}
.km-share-btn:hover { transform: scale(1.15) translateY(-2px); }
/* WP'de .mail/.telegram… genel sınıflardı; motorların sınıflarıyla
   çakışmasın diye paylaş kutusuna kapsandı. */
.km-share-btn.mail { background-color: #7f8c8d; }
.km-share-btn.telegram { background-color: #0088cc; }
.km-share-btn.whatsapp { background-color: #25D366; }
.km-share-btn.facebook { background-color: #1877F2; }
.km-share-btn.instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.km-toast-msg {
    position: absolute;
    left: 70px;
    bottom: 12px;
    background: #0f172a;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.km-toast-msg.show { opacity: 1; visibility: visible; transform: translateX(0); }
@media (max-width: 768px) {
    .km-floating-share { left: 15px; }
    .km-floating-share.is-visible { bottom: 15px; }
}

/* ── 2c. "Birlikte Büyütelim" ──────────────────────────────────────────── */
.kmdv-float-wrapper { position: fixed; bottom: 30px; right: 30px; z-index: 9999; }
.kmdv-float-btn {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    padding: 12px;
    color: #1d1d1f;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
}
.kmdv-float-btn:hover { background: rgba(255, 255, 255, 0.95); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); transform: translateY(-3px); }
.kmdv-float-icon { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.kmdv-float-icon svg { width: 22px; height: 22px; fill: none; stroke: #34C759; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.kmdv-float-text {
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: #1d1d1f;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    margin-left: 0;
}
.kmdv-float-btn:hover .kmdv-float-text { max-width: 200px; opacity: 1; margin-left: 10px; padding-right: 8px; }
@media (max-width: 768px) {
    .kmdv-float-wrapper { bottom: 20px; right: 20px; }
}

/* ── 3. Yükleyiciler (snippet'lerin satır-içi <style>'ları) ─────────────── */
@keyframes spin { 100% { transform: rotate(360deg); } }
.vitrin-donen { animation: spin 1s linear infinite; }
/* Tecvid Ağacı — "sıfır zıplama" iskeleti */
#km-loading-container { width: 100%; display: flex; flex-direction: column; gap: 15px; align-items: center; }
.km-skeleton-dash { width: 100%; height: 58px; background: rgba(255,255,255,0.7); border: 1px solid rgba(0,0,0,0.05); border-radius: 50px; animation: kmPulse 1.5s infinite ease-in-out; }
.km-skeleton-frame { width: 100%; aspect-ratio: 16/9; background: #f8fafc; border-radius: 32px; border: 1px solid rgba(0,0,0,0.04); display: flex; flex-direction: column; justify-content: center; align-items: center; animation: kmPulse 1.5s infinite ease-in-out; box-shadow: inset 0 0 0 1px #fff; }
@media (max-width: 768px) {
    .km-skeleton-dash { height: 90px; border-radius: 24px; }
    .km-skeleton-frame { aspect-ratio: 4/3; min-height: 380px; }
}
@keyframes kmPulse { 0% { opacity: 0.5; } 50% { opacity: 1; } 100% { opacity: 0.5; } }

/* ── 4. Bölüm başlığı + bağlantı bloğu ─────────────────────────────────── */
.vitrin-bolum-ust,
.vitrin-bolum-alt,
.vitrin-bos {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}
.vitrin-bolum-ust { padding-top: 18px; padding-bottom: 10px; }
.vitrin-iz { font-size: 13px; color: #64748b; display: flex; gap: 6px; align-items: center; }
.vitrin-iz a { color: #0083B0; text-decoration: none; }
.vitrin-iz a:hover { text-decoration: underline; }
.vitrin-h1 {
    margin: 4px 0 0;
    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.3px;
}
.vitrin-h1-no { font-weight: 500; color: #64748b; }
.vitrin-konu { margin: 4px 0 0; font-size: 15px; color: #475569; }
.vitrin-konu a { color: #0083B0; font-weight: 600; text-decoration: none; }
.vitrin-konu a:hover { text-decoration: underline; }
.vitrin-konu-ad { font-weight: 600; color: #334155; }
/* Kural adı ortasından bölünmesin ("İdgam-ı Bila / Gunne"); satır adlar arasında kırılır.
   Kırılma yeri ayırıcıdan SONRAKİ boşluk (şablon basar) — boşluksuzken satır hiç
   kırılmıyor, mobilde liste ekrandan taşıyordu (29 Eyl). Sağ pay boşluk kadar az. */
.vitrin-konu a, .vitrin-konu-ad { white-space: nowrap; }
.vitrin-konu-ara { margin: 0 2px 0 6px; color: #94a3b8; }

/* Elementor kabının (e-con-full) 10px dolgusu — motorlar mobilde ekran
   kenarına yapışmasın; canlıda ölçüldü. */
.vitrin-motor-kap { padding: 10px; }
.vitrin-bolum-alt { padding-top: 8px; padding-bottom: 32px; }
.vitrin-gecis {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    border-top: 1px solid #e2e8f0;
}
.vitrin-gecis-btn { color: #0083B0; text-decoration: none; font-weight: 600; font-size: 15px; }
.vitrin-gecis-btn[rel="next"] { justify-self: end; }
.vitrin-gecis-btn:hover { text-decoration: underline; }
.vitrin-gecis-orta { color: #475569; text-decoration: none; font-size: 14px; }
.vitrin-gecis-orta:hover { color: #0f172a; }
.vitrin-bos { padding-top: 64px; padding-bottom: 96px; text-align: center; color: #475569; }
.vitrin-bos a { color: #0083B0; }

@media (max-width: 768px) {
    .vitrin-bolum-ust { padding: 12px 14px 0; }
    .vitrin-bolum-alt { padding-left: 14px; padding-right: 14px; }
    .vitrin-h1 { font-size: 20px; }
    .vitrin-konu { font-size: 14px; }
    .vitrin-gecis-orta { font-size: 13px; }
    .vitrin-gecis-btn { font-size: 14px; }
}

/* ── Bölüm sonu kayıt daveti (vitrin.js › 3b) ─────────────────────────────
   Alttan kayan kart; motorun sonuç penceresiyle (SweetAlert, z-index 1060)
   birlikte görünür, onu örtmemek için ekranın ALTINDA durur. Paylaş ve
   "Birlikte Büyütelim" düğmelerinin (9999) ve konfetinin (999999) üstünde. */
.km-davet {
    position: fixed;
    left: 50%;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 1000000;
    width: min(460px, calc(100% - 32px));
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-top: 3px solid #00B4DB;
    border-radius: 16px;
    box-shadow: 0 18px 40px -12px rgba(15, 23, 42, .28);
    font-family: inherit;
    text-align: left;
    opacity: 0;
    transform: translate(-50%, 24px);
    transition: opacity .3s ease, transform .3s ease;
}
.km-davet.is-acik { opacity: 1; transform: translate(-50%, 0); }
.km-davet-simge {
    flex: 0 0 40px;
    height: 40px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00B4DB, #0083B0);
    color: #fff;
    font-size: 17px;
}
.km-davet-govde { flex: 1; min-width: 0; }
.km-davet-baslik { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.3; color: #0f172a; }
.km-davet-metin { margin: 4px 0 0; font-size: 14px; line-height: 1.45; color: #475569; }
.km-davet-dugmeler { display: flex; gap: 10px; align-items: center; margin-top: 12px; }
.km-davet-kayit {
    display: inline-block;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00B4DB, #0083B0);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}
.km-davet-kayit:hover { filter: brightness(1.06); }
.km-davet-sonra {
    padding: 9px 14px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #64748b;
    font: inherit;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
.km-davet-sonra:hover { background: #f1f5f9; color: #0f172a; }
.km-davet-kayit:focus-visible, .km-davet-sonra:focus-visible { outline: 2px solid #0083B0; outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
    .km-davet { transition: none; }
}

/* ── Liste sayfaları (29 Eyl 2026, WP'den birebir) ──────────────────────
   WP'deki Elementor başlık/metin/"animated headline" parçacıklarının sade
   karşılığı; ölçüler canlıda ölçüldü (başlık Georgia 31px/600, alt başlık
   16px #616465, satır 13px #7a7a7a, vurgu #cc5616/600, altında mavi
   (#6ec1e4) çizilen çizgi). Zemin WP'deki gibi krem. */
body.vitrin-liste-sayfa { background-color: rgba(239, 220, 171, 0.2); }
.vitrin-liste-ust { max-width: 760px; margin: 0 auto; padding: 36px 16px 8px; text-align: center; }
.vitrin-liste-baslik { margin: 0; font-family: Georgia, serif; font-size: 31px; font-weight: 600; line-height: 1; color: #0d0d0d; }
.vitrin-liste-alt { margin: 10px 0 0; font-size: 16px; line-height: 1.5; color: #616465; }
.vitrin-liste-satir { margin: 28px 0 0; font-family: "Roboto Condensed", "Arial Narrow", sans-serif; font-size: 13px; line-height: 1.2; color: #7a7a7a; }
.vitrin-liste-satir a { color: inherit; text-decoration: none; }
.vitrin-liste-vurgu { position: relative; display: inline-block; color: #cc5616; font-weight: 600; }
.vitrin-liste-vurgu svg { position: absolute; left: 0; bottom: -6px; width: 100%; height: 8px; overflow: visible; }
.vitrin-liste-vurgu path { fill: none; stroke: #6ec1e4; stroke-width: 9; stroke-linecap: round; stroke-dasharray: 520; stroke-dashoffset: 520; animation: vitrin-vurgu-ciz 9.2s ease-in-out infinite; }
@keyframes vitrin-vurgu-ciz { 0% { stroke-dashoffset: 520; } 13%, 90% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 520; } }
@media (prefers-reduced-motion: reduce) { .vitrin-liste-vurgu path { animation: none; stroke-dashoffset: 0; } }
.vitrin-liste-govde { padding-top: 16px; }
.vitrin-liste-gorsel { max-width: 689px; margin: 24px auto 0; padding: 0 16px; }
.vitrin-liste-gorsel img { display: block; width: 100%; height: auto; }

/* /mobil/ (29 Eyl 2026) — WP'deki Elementor parçacıklarının sade karşılığı:
   Moodle logosu, başlık, madde işaretli metin, iki mağaza rozeti. */
.vitrin-mobil { max-width: 720px; margin: 0 auto; padding: 36px 16px 48px; text-align: center; }
.vitrin-mobil-logo img { width: 120px; height: auto; }
.vitrin-mobil-baslik { margin: 12px 0 16px; font-size: 28px; font-weight: 700; color: #0f172a; }
.vitrin-mobil-metin { text-align: left; font-size: 16px; line-height: 1.6; color: #334155; }
.vitrin-mobil-metin ul { padding-left: 20px; margin: 12px 0 0; }
.vitrin-mobil-metin li { margin-bottom: 6px; }
.vitrin-mobil-rozetler { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 24px; }
.vitrin-mobil-rozetler img { display: block; width: 200px; height: auto; }

/* /mesaj-yaz/ "Bize yazın" (30 Eyl 2026) — WP'deki Elementor ikon/başlık/form
   parçacıklarının sade karşılığı; form panele gönderir, sonuç kutusu üstte. */
.vitrin-iletisim { max-width: 640px; margin: 0 auto; padding: 36px 16px 48px; text-align: center; }
.vitrin-iletisim-simge { font-size: 40px; color: #0083B0; }
.vitrin-iletisim-baslik { margin: 8px 0 12px; font-size: 30px; font-weight: 700; color: #0f172a; }
.vitrin-iletisim-alt { margin: 0 0 6px; font-size: 16px; line-height: 1.5; color: #475569; }
.vitrin-iletisim-form { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; text-align: left; }
.vitrin-iletisim-form input, .vitrin-iletisim-form textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; font: inherit; font-size: 16px; color: #0f172a; background: #fff; border: 1px solid #cbd5e1; border-radius: 12px; }
.vitrin-iletisim-form input:focus, .vitrin-iletisim-form textarea:focus { outline: 2px solid #00B4DB; outline-offset: 1px; border-color: #00B4DB; }
.vitrin-iletisim-form button { align-self: center; min-width: 160px; padding: 12px 28px; font: inherit; font-size: 16px; font-weight: 600; color: #fff; background: linear-gradient(135deg, #00B4DB, #0083B0); border: 0; border-radius: 999px; cursor: pointer; }
.vitrin-iletisim-kvkk { margin: 4px 0 0; font-size: 12.5px; color: #64748b; text-align: center; }
.vitrin-durum { margin: 18px 0 0; padding: 12px 14px; font-size: 15px; line-height: 1.5; border-radius: 12px; text-align: left; }
.vitrin-durum-tamam { color: #065f46; background: #ecfdf5; border: 1px solid #a7f3d0; }
.vitrin-durum-uyari { color: #92400e; background: #fffbeb; border: 1px solid #fde68a; }
/* Bal küpü: botlar doldurur, insan görmez (display:none bazı botlarca atlanır). */
.vitrin-bal { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.vitrin-gizli { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
