/* =================================================================
   YKS REHBERİ - ANA STİL DOSYASI (v4.2 - BİRLEŞTİRİLMİŞ SÜRÜM)
   ================================================================= */

/* === 1. TEMEL AYARLAR VE DEĞİŞKENLER === */
:root {
    --primary: #0d6efd;
    --primary-rgb: 13, 110, 253;
    --primary-light: #e7f1ff;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #0dcaf0;
    --light: #f8f9fa;
    --dark: #212529;
    --body-bg: #f8f9fa;
    --border-color: #dee2e6;
    --card-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.05);
    --card-radius: 0.75rem;
    --top-bar-height: 90px;
    --nav-bar-height: 60px;
    --sidebar-width: 260px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-bg);
    color: var(--dark);
    padding-top: calc(var(--top-bar-height) + var(--nav-bar-height));
    transition: padding-top 0.4s ease-in-out; /* Küçülen menü için yumuşak geçiş */
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: #0b57d0;
}

/* === 2. HEADER TASARIMI === */
.header-stacked {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1030;
    background-color: #fff;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Kaybolan menü için yumuşak geçiş */
}

.header-hidden {
    transform: translateY(-100%);
}

.top-brand-bar {
    height: var(--top-bar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    transition: height 0.4s ease-in-out, opacity 0.3s ease, padding 0.4s ease, border 0.4s ease; /* Küçülen menü için */
}

.custom-navbar-bottom {
    height: var(--nav-bar-height);
}

/* Küçülen Header için stiller */
body.scrolled {
    padding-top: var(--nav-bar-height);
}
body.scrolled .top-brand-bar {
    height: 0;
    padding-top: 0;
    padding-bottom: 0;
    opacity: 0;
    overflow: hidden;
    border-bottom: none;
}


/* Header Logo ve Animasyon */
.top-brand-bar .navbar-brand {
    padding: 0;
    margin: 0;
}
.animated-brand-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.header-animation {
    width: 55px;
    height: 45px;
    margin-bottom: -10px;
}
.brand-text {
    font-weight: 700;
    font-size: 2.1rem;
    display: inline-block;
    background: linear-gradient(180deg, #002D62, var(--primary));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulse-glow 4s ease-in-out infinite alternate;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

/* Header Navigasyon Linkleri ve Kullanıcı Alanı */
.custom-navbar-bottom .nav-link {
    padding: 0.5rem 1rem;
    font-weight: 600;
    color: #495057;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    align-items: center;
    white-space: nowrap;
}
.custom-navbar-bottom .nav-link i {
    font-size: 1.1rem;
}
.custom-navbar-bottom .nav-link:hover,
.custom-navbar-bottom .nav-link.active {
    background-color: var(--primary-light);
    color: var(--primary);
    transform: translateY(-2px);
}
.user-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.user-avatar-sm { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.btn-user-menu { display: flex; align-items: center; gap: 0.75rem; color: var(--dark); font-weight: 500; text-decoration: none; }
.dropdown-menu { border-radius: var(--card-radius); box-shadow: var(--card-shadow); border: 1px solid var(--border-color); padding: 0.5rem 0; margin-top: 0.75rem !important; }
.dropdown-item { display: flex; align-items: center; padding: 0.75rem 1.25rem; }
.dropdown-item i { width: 25px; text-align: center; }

/* === 3. GENEL BİLEŞENLER === */
.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    transition: all 0.3s ease;
}
.btn-primary:hover {
    filter: brightness(90%);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

.card { 
    border: none; 
    border-radius: var(--card-radius); 
    box-shadow: var(--card-shadow); 
    transition: all 0.3s ease; 
}
.card:hover { 
    transform: translateY(-5px); 
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08); 
}
.card-header { 
    background-color: #fff; 
    border-bottom: 1px solid var(--border-color); 
    font-weight: 600; 
}

.breadcrumb { 
    background-color: #fff; 
    padding: 1rem; 
    border-radius: var(--card-radius); 
    box-shadow: var(--card-shadow); 
}

/* === 4. ANA SAYFA - HERO ALANI VE SLIDER === */
.hero-modern { 
    background-color: #ffffff; 
    padding: 2.5rem 0;
}

.hero-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    align-items: start;
}

.hero-content-modern .badge-modern { display: inline-flex; align-items: center; padding: 0.5rem 1rem; background-color: var(--primary-light); color: var(--primary); border-radius: 99px; font-weight: 500; margin-bottom: 1.5rem; }
.hero-content-modern .badge-dot { width: 8px; height: 8px; background-color: var(--primary); border-radius: 50%; margin-right: 0.5rem; }
.hero-title { font-size: 3.5rem; font-weight: 700; line-height: 1.2; margin-bottom: 1.5rem; color: var(--dark); }
.hero-description { font-size: 1.15rem; color: var(--secondary); margin-bottom: 2rem; }
.btn-hero { padding: 1rem 2.5rem; font-size: 1.1rem; font-weight: 600; border-radius: 0.5rem; }
.hero-features { display: grid; grid-template-columns: 1fr; gap: 2rem; }
.feature-item { display: flex; align-items: center; gap: 1rem; }
.feature-icon-wrapper { width: 50px; height: 50px; background-color: var(--primary-light); color: var(--primary); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.feature-text h5 { margin-bottom: 0.25rem; font-size: 1.1rem; font-weight: 600; }
.feature-text p { margin-bottom: 0; color: var(--secondary); font-size: 0.9rem; }
.avatar-group img { border: 3px solid white; margin-left: -15px; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); }
.avatar-group img:first-child { margin-left: 0; }

.modern-slider-frame {
    width: 100%;
    height: 400px;
    background-color: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 15px;
    border: 1px solid var(--border-color);
    position: relative;
    transition: all 0.3s ease;
}
.modern-slider-frame:hover {
    transform: translateY(-5px);
    box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.08);
}
.slider-content {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--card-radius) - 8px);
}
.slide-item {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    text-decoration: none;
    display: block;
}
.slide-item.active {
    opacity: 1;
    z-index: 2;
}
.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
}
.slide-title {
    margin: 0;
    font-weight: 600;
    font-size: 1.25rem;
    text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.modern-slider-frame:hover .slider-nav {
    opacity: 1;
}
.slider-nav.prev { left: 25px; }
.slider-nav.next { right: 25px; }
.slider-nav:hover {
    background-color: rgba(0, 0, 0, 0.7);
    transform: translateY(-50%) scale(1.1);
}
.slider-dots {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 8px;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: #fff;
}


/* === 5. PROFİL SAYFASI === */
.profile-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
}
.profile-sidebar {
    position: sticky;
    top: calc(var(--top-bar-height) + var(--nav-bar-height) + 1.5rem);
    align-self: start;
}
.card-profile .profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: -70px;
}
.card-welcome-pattern {
    position: relative;
    background-color: var(--primary);
    background-image: 
        linear-gradient(135deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(225deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(45deg, rgba(255,255,255,0.05) 25%, transparent 25%),
        linear-gradient(315deg, rgba(255,255,255,0.05) 25%, transparent 25%);
    background-position: 10px 0, 10px 0, 0 0, 0 0;
    background-size: 20px 20px;
    background-repeat: repeat;
}
.card-action {
    transition: all 0.2s ease-in-out;
}
.card-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}
.card-action .action-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
}

/* === 6. KONU ANLATIMLARI SAYFASI (SIDEBAR) === */
.sidebar { 
    width: var(--sidebar-width); 
    position: sticky !important; 
    top: calc(var(--top-bar-height) + var(--nav-bar-height) + 24px) !important; 
    height: calc(100vh - (var(--top-bar-height) + var(--nav-bar-height)) - 48px) !important; 
    overflow-y: auto; 
    z-index: 10; 
}
.main-content { 
    padding-top: 1.5rem; 
    padding-bottom: 3rem; 
}
.sidebar-tab-link { 
    padding: 0.6rem 1.2rem; 
    font-weight: 600; 
    color: #495057; 
    border-radius: 50px; 
    transition: all 0.3s ease; 
    display: flex !important; 
    align-items: center !important; 
    justify-content: space-between !important; 
    margin-bottom: 0.5rem; 
}
.sidebar-tab-link:hover,
.sidebar-tab-link.active { 
    background-color: var(--primary-light); 
    color: var(--primary); 
    transform: translateY(-2px); 
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.2); 
}
.list-group-konular { 
    max-height: 250px; 
    overflow-y: auto; 
}
.list-group-konular::-webkit-scrollbar { width: 6px; }
.list-group-konular::-webkit-scrollbar-thumb { background-color: rgba(0, 0, 0, 0.1); border-radius: 3px; }
.konu-linki { 
    font-size: 0.95rem; 
    color: var(--dark); 
    border-left: 3px solid transparent; 
}
.konu-linki:hover { 
    background-color: var(--primary-light); 
    color: var(--primary); 
    border-left: 3px solid var(--primary); 
}


/* === 7. DİĞER BİLEŞENLER VE YARDIMCI SINIFLAR === */
.comment-thread .comment { border-bottom: 1px solid var(--border-color); padding-bottom: 1rem; }
.comment-thread .comment:last-child { border-bottom: none; margin-bottom: 0 !important; padding-bottom: 0; }
.comment-avatar { width: 48px; height: 48px; object-fit: cover; border-radius: 50%;}
.comment-body { flex-grow: 1; }
.comment-header { margin-bottom: 0.5rem; }
.comment-text { line-height: 1.6; color: #495057; }
.list-group-flush .list-group-item { border-width: 0 0 1px; }
.list-group-flush:last-child .list-group-item:last-child { border-bottom-width: 0; }
.bg-primary-subtle { background-color: var(--primary-light) !important; }

/* === 8. KİMLİK DOĞRULAMA (AUTH) SAYFALARI === */
.auth-wrapper { display: flex; min-height: 100vh; width: 100%; padding-top: 0; }
.auth-info-panel { width: 45%; background-color: var(--primary); color: white; display: flex; flex-direction: column; justify-content: center; padding: 3rem 4rem; background-image: linear-gradient(rgba(13, 110, 253, 0.85), rgba(13, 110, 253, 0.95)), url('../images/auth-bg.jpg'); background-size: cover; background-position: center; }
.auth-form-panel { width: 55%; background-color: #fff; display: flex; align-items: center; justify-content: center; padding: 2rem; }
.auth-form-container { width: 100%; max-width: 500px; }
.avatar-selection img { width: 60px; height: 60px; object-fit: cover; }
.avatar-selection .btn { padding: 5px; border: 3px solid transparent; border-radius: 50%; transition: all 0.2s ease-in-out; }
.avatar-selection .btn-check:checked + .btn { border-color: var(--primary); transform: scale(1.1); box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.5); }
/* =================================================================
   MODERN FOOTER VE YUKARI ÇIK BUTONU STİLLERİ (v5.4)
   ================================================================= */

/* --- A. Genel Ayarlar --- */
html {
    scroll-behavior: smooth; /* Yukarı çık butonunun yumuşak kaydırması için */
}

/* --- B. Footer Ana Yapısı --- */
.footer-modern {
    background-color: var(--dark);
    color: #adb5bd;
    padding: 5rem 0 0;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}
.container-modern {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #adb5bd;
    transition: all 0.3s ease;
}
.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
}

/* --- C. Marka ve Bülten Alanı --- */
.footer-brand .footer-description {
    line-height: 1.7;
}
.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50px 0 0 50px;
    padding: 0.75rem 1.25rem;
}
.newsletter-form .form-control::placeholder { color: #adb5bd; }
.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    border-color: var(--primary);
}
.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.25rem;
}

/* --- D. İletişim ve Sosyal Medya --- */
.footer-contact li { display: flex; align-items: center; }
.footer-contact li i { margin-right: 0.75rem; color: var(--primary); }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.5rem; }
.footer-social .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.footer-social .social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: #fff;
}

/* --- E. Alt Telif Hakkı Bölümü --- */
.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* --- F. Yukarı Çık Butonu --- */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    border: none;
    background: none;
    font-size: 2.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#backToTopBtn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}
/* === 10. ANİMASYONLAR === */
@keyframes pulse-glow {
    from {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    }
    to {
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2), 0 0 15px rgba(var(--primary-rgb), 0.25);
    }
}

/* === 11. MOBİL UYUMLULUK (MEDIA QUERIES) === */
@media (min-width: 992px) {
    .main-content {
        margin-left: var(--sidebar-width) !important;
    }
}

@media (max-width: 991.98px) {
    /* Header */
    .custom-navbar-bottom .navbar-toggler { order: -1; margin-right: auto; }
    .custom-navbar-bottom .navbar-collapse {
        background-color: #ffffff;
        padding: 1.5rem;
        margin-top: 0.75rem;
        border-radius: var(--card-radius);
        box-shadow: 0 10px 25px rgba(0,0,0,0.1);
        border: 1px solid var(--border-color);
    }
    .custom-navbar-bottom .navbar-nav { align-items: flex-start; width: 100%; }
    .custom-navbar-bottom .nav-link { padding-top: 0.75rem; padding-bottom: 0.75rem; }
    .navbar-actions {
        width: 100%;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
        display: flex;
        justify-content: flex-start;
    }
    .user-name { display: inline-block !important; }
    .navbar-actions .btn-light { display: none; }

    /* Hero Alanı */
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-visual { order: -1; margin-bottom: 2rem; }
    .hero-features { text-align: left; }
    .hero-title { font-size: 2.5rem; }

    /* Profil Sayfası */
    .profile-grid { grid-template-columns: 1fr; }
    .profile-sidebar { position: static; top: auto; }
    .card-profile .profile-avatar { margin-top: 0; width: 100px; height: 100px; }

    /* Auth Sayfaları */
    .auth-wrapper { flex-direction: column; }
    .auth-info-panel, .auth-form-panel { width: 100%; }
    .auth-info-panel { min-height: 300px; padding: 2rem; text-align: center; }
}
/* =================================================================
   YENİ MODERN FOOTER STİLLERİ (v5.3)
   ================================================================= */

/* --- A. Genel Footer Ayarları --- */
html {
    scroll-behavior: smooth; /* Yukarı çık butonunun yumuşak kaydırması için */
}

.footer-modern {
    background-color: var(--dark);
    color: #adb5bd;
    padding: 5rem 0 0;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}

.footer-main {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2.5rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-title {
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: #adb5bd;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
    transform: translateX(5px);
    padding-left: 5px; /* Hover efekti için boşluk */
}

/* --- B. Marka ve Bülten Alanı --- */
.footer-brand .footer-description {
    line-height: 1.7;
}

.newsletter-form .form-control {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 50px 0 0 50px;
    padding: 0.75rem 1.25rem;
}
.newsletter-form .form-control::placeholder {
    color: #adb5bd;
}
.newsletter-form .form-control:focus {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: none;
    border-color: var(--primary);
}

.newsletter-form .btn {
    border-radius: 0 50px 50px 0;
    padding: 0.75rem 1.25rem;
}

/* --- C. İletişim ve Sosyal Medya --- */
.footer-contact li {
    display: flex;
    align-items: center;
}
.footer-contact li i {
    margin-right: 0.75rem;
    color: var(--primary);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}
.footer-social .social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}
.footer-social .social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: #fff;
}

/* --- D. Alt Telif Hakkı Bölümü --- */
.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* --- E. Yukarı Çık Butonu --- */
#backToTopBtn {
    display: none;
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
    border: none;
    background: none;
    font-size: 2.5rem;
    color: var(--primary);
    cursor: pointer;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
#backToTopBtn:hover {
    opacity: 0.8;
    transform: scale(1.1);
}
/* =================================================================
   VİDEOLU DERSLER BÖLÜMÜ STİLLERİ
   ================================================================= */

/* --- A. Video Listeleme Sayfası --- */
.video-card {
    transition: all 0.3s ease;
}
.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.1) !important;
}
.video-thumbnail {
    position: relative;
    display: block;
    overflow: hidden;
}
.video-thumbnail img {
    transition: transform 0.4s ease;
}
.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}
.play-icon-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(var(--primary-rgb), 0.3);
    color: white;
    font-size: 4rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.video-card:hover .play-icon-overlay {
    opacity: 1;
}

/* --- B. Video Detay Sayfası --- */
.video-aciklama {
    line-height: 1.8;
}
#likeBtn {
    min-width: 150px;
}
.social-share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}
.social-share-btn:hover {
    transform: scale(1.1);
    opacity: 0.9;
}
.social-share-btn.twitter { background-color: #1DA1F2; }
.social-share-btn.facebook { background-color: #1877F2; }
.social-share-btn.whatsapp { background-color: #25D366; }

/* Yorumlar Bölümü */
.comment-list {
    max-height: 500px;
    overflow-y: auto;
}
.comment-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}
.comment-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.comment-content {
    flex-grow: 1;
}
/* =================================================================
   VİDEOLU DERSLER SAYFASI TASARIMI
   ================================================================= */

/* --- A. Arama Formu --- */
.video-search-form .form-control {
    border-radius: 50px 0 0 50px;
    padding-left: 1.25rem;
}
.video-search-form .btn {
    border-radius: 0 50px 50px 0;
}
.video-search-form .form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
    border-color: var(--primary);
}

/* --- B. Kategori Filtre Butonları --- */
.category-filters {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}
.category-btn {
    border-radius: 50px;
    font-weight: 500;
    background-color: var(--light);
    border: 1px solid var(--border-color);
    color: var(--dark);
    transition: all 0.3s ease;
}
.category-btn:hover {
    background-color: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
}
.category-btn.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}
/* =================================================================
   GELİŞMİŞ KONU ANLATIMLARI SAYFASI TASARIMI (v6.0)
   ================================================================= */

/* --- A. Kenar Çubuğu (Sidebar) --- */
.sidebar-konu {
    background-color: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    top: calc(var(--header-height) + 1.5rem); /* Header'ın altına yapışık kalır */
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}
.sidebar-konu .list-group-item {
    font-weight: 500;
    border-radius: 0.5rem !important;
    margin-bottom: 0.25rem;
    border: none;
}
.sidebar-konu .list-group-item.active {
    background-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.3);
}

/* --- B. Akordiyon Menü Tasarımı --- */
.accordion-item {
    margin-bottom: 1rem;
    border-radius: var(--card-radius) !important;
    border: 1px solid var(--border-color);
    box-shadow: none;
    overflow: hidden;
    transition: all 0.3s ease;
}
.accordion-item:hover {
    border-color: var(--primary);
    box-shadow: 0 0.5rem 1rem rgba(var(--primary-rgb), 0.1);
}
.accordion-button {
    padding: 1.25rem 1.5rem;
    background-color: #fff;
}
.accordion-button:not(.collapsed) {
    color: var(--primary);
    background-color: var(--primary-light);
    box-shadow: inset 0 -1px 0 var(--border-color);
}
.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(var(--primary-rgb), 0.25);
}
.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230d6efd'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

/* --- C. Konu Listesi Linkleri --- */
.konu-linki {
    padding: 0.9rem 1.5rem;
    font-size: 1rem;
    color: var(--dark);
    display: flex;
    align-items: center;
    border-left: 4px solid transparent;
    transition: all 0.2s ease;
}
.konu-linki:hover, .konu-linki:focus {
    background-color: #f8f9fa;
    color: var(--primary);
    border-left-color: var(--primary);
}
.konu-linki i { color: var(--secondary); }
.konu-linki:hover i { color: var(--primary); }

/* --- D. Arama ve Filtreleme için Yardımcı Sınıflar --- */
.ders-karti.gizli {
    display: none;
}
/* =================================================================
   YENİ DENEME SINAVLARI SAYFASI TASARIMI
   ================================================================= */

/* --- A. Filtreleme Kenar Çubuğu --- */
.sidebar-konu {
    background-color: #fff;
    border-radius: var(--card-radius);
    box-shadow: var(--card-shadow);
    padding: 1.5rem;
    top: calc(var(--header-height) + 1.5rem);
}
.sidebar-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.75rem;
}
.filter-title {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 0.75rem;
}
.filter-group .list-group-item {
    font-weight: 500;
    border-radius: 0.5rem !important;
    margin-bottom: 0.25rem;
    border: 1px solid transparent;
    display: flex;
    align-items: center;
}
.filter-group .list-group-item.active {
    background-color: var(--primary);
    color: #fff;
    border-color: var(--primary);
}
.filter-group .list-group-item:not(.active):hover {
    background-color: var(--primary-light);
    color: var(--primary);
}

/* --- B. Sınav Kartı Tasarımı --- */
.exam-card {
    transition: all 0.3s ease;
    border: 1px solid var(--border-color) !important;
    box-shadow: none !important;
}
.exam-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow) !important;
    border-color: var(--primary) !important;
}
.exam-card .card-title {
    font-size: 1.2rem;
}

/* --- C. Arama ve Filtreleme için Yardımcı Sınıflar --- */
.sinav-karti.gizli {
    display: none;
}
#sonucYokAlert {
    display: none; /* JS ile kontrol edilecek */
}

/* =================================================================
   HEADER MENÜ İÇERİK SAYILARI STİLLERİ
   ================================================================= */

.menu-badge {
    font-size: 0.7em;
    font-weight: 700;
    padding: 0.3em 0.6em;
    position: relative;
    top: -2px; /* Dikeyde hizalamak için */
    transition: all 0.3s ease;
}

/* Aktif linkin içindeki badge'i de stilize edelim */
.nav-link.active .menu-badge {
    background-color: var(--primary) !important;
    color: #fff !important;
}
/* Sol Panelin Genel Stilleri */
.auth-info-panel {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: #ffffff;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.auth-info-panel .logo {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 40px;
    opacity: 0.9;
}

.auth-info-panel h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.auth-info-panel p {
    font-size: 16px;
    opacity: 0.85;
    margin-bottom: 40px;
}

/* Özellik Kartları Listesi */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 30px; /* Kartlar arası boşluk */
}

/* Her Bir Özellik Kartı */
.feature-item {
    display: flex;
    align-items: center;
    gap: 20px; /* İkon ve metin arası boşluk */
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px); /* Hafif yukarı kalkma efekti */
}

/* Özellik İkonları */
.feature-item i {
    font-size: 28px;
    line-height: 1;
}

/* Özellik Metinleri */
.feature-text h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.feature-text p {
    font-size: 14px;
    margin: 0;
    opacity: 0.8;
}