/* --- GENEL SIFIRLAMA VE TEMEL AYARLAR --- */
        
        
        html {
            scroll-behavior: smooth;
        }
		
		 body {
            display: flex;
        }
        

        /* --- SOL MENÜ (SIDEBAR) --- */
        .sidebar {
            width: 100%;
            flex-shrink: 0;
        }

        #menu-toggle {
            display: none;
        }

        .mobile-menu-header {
            display: none;
        }

        .sticky-menu {
            position: -webkit-sticky;
            position: sticky;
            top: 40px;
            background-color: #ffffff;
            padding: 30px 25px;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
            border: 1px solid #e2e8f0;
        }

        .menu-title {
            margin-bottom: 20px;
            font-size: 1.1rem;
            color: #0f172a;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-weight: 700;
            border-bottom: 3px solid #e2e8f0;
            padding-bottom: 8px;
        }

        /* Ana Liste */
        .menu-list {
            list-style: none;
        }

        .menu-list > li {
            margin-bottom: 18px;
        }

        .menu-list a {
            text-decoration: none;
            color: #475569;
            font-weight: 600;
            display: block;
            padding: 6px 12px;
            border-radius: 8px;
            transition: all 0.2s ease-in-out;
        }

        .menu-list a:hover {
            color: #3b82f6;
            background-color: #f1f5f9;
        }

        /* --- YENİ: AKTİF ANA BAŞLIK TASARIMI --- */
        .menu-list > li > a.active {
            color: #2563eb;
            background-color: #eff6ff;
            box-shadow: inset 4px 0 0 #3b82f6; /* Sol tarafa şık bir dikey bar ekler */
            padding-left: 16px;
        }

        /* Alt Kırılım Başlıkları (Submenu) */
        .submenu {
            list-style: none;
            padding-left: 15px;
            margin-top: 8px;
            border-left: 2px solid #e2e8f0;
        }

        .submenu li {
            margin-bottom: 4px;
        }

        .submenu a {
            color: #64748b;
            font-weight: 500;
            font-size: 0.9rem;
            border-radius: 6px;
            padding: 4px 10px;
        }

        /* --- YENİ: AKTİF ALT BAŞLIK TASARIMI --- */
        .submenu a.active {
            color: #2563eb;
            background-color: #f0fdf4; /* Alt başlık için daha hafif bir ton */
            font-weight: 600;
            padding-left: 14px;
        }

        /* --- SAĞ İÇERİK ALANI --- */
        .content {
            flex-grow: 1;
            background-color: #ffffff;
            padding: 50px;
            border-radius: 16px;
            box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
            border: 1px solid #e2e8f0;
        }

        .content section {
            margin-bottom: 80px;
            scroll-margin-top: 60px; /* Görüş alanına girdiği anı netleştirmek için artırıldı */
        }

        .content .sub-section {
            margin-top: 40px;
            margin-bottom: 20px;
            scroll-margin-top: 80px;
        }

        .content h1 {
            font-size: 2.5rem;
            color: #0f172a;
            margin-bottom: 10px;
        }

        .content .intro-text {
            font-size: 1.1rem;
            color: #64748b;
            margin-bottom: 40px;
            line-height: 1.6;
        }

        .content h2 {
            color: #0f172a;
            margin-bottom: 20px;
            font-size: 2rem;
            border-left: 6px solid #3b82f6;
            padding-left: 15px;
        }

        .content h3 {
            color: #1e293b;
            margin-bottom: 15px;
            font-size: 1.4rem;
            padding-left: 5px;
        }

        .content p {
            line-height: 1.8;
            color: #334155;
            margin-bottom: 20px;
            text-align: justify;
        }

        .content section:last-child {
            margin-bottom: 500px; 
        }

        /* ==========================================================================
           RESPONSIVE (MOBİL GÖRÜNÜM DÜZENLEMELERİ)
           ========================================================================== */
        @media (max-width: 768px) {
            body {
                flex-direction: column;
                padding: 0;
                gap: 0;
            }

            .sidebar {
                width: 100%;
                position: -webkit-sticky;
                position: sticky;
                top: 0;
                z-index: 1000;
            }

            .sticky-menu {
                top: 0;
                border-radius: 0;
                padding: 0;
                box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
                border: none;
                border-bottom: 1px solid #e2e8f0;
            }

            .menu-title {
                display: none;
            }

            .mobile-menu-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 18px 20px;
                background-color: #0f172a;
                color: #ffffff;
                cursor: pointer;
                font-weight: 600;
                user-select: none;
            }

            .mobile-menu-header .arrow {
                transition: transform 0.3s ease;
                font-size: 0.8rem;
            }

            .menu-list {
                display: none;
                max-height: 380px;
                overflow-y: auto;
                padding: 20px;
                background-color: #ffffff;
            }

            #menu-toggle:checked ~ .menu-list {
                display: block;
            }

            #menu-toggle:checked ~ .mobile-menu-header .arrow {
                transform: rotate(180deg);
            }

            /* Mobilde aktif elemanların arka plan renklerini sadeleştiriyoruz */
            .menu-list > li > a.active {
                box-shadow: inset 4px 0 0 #3b82f6;
                padding-left: 12px;
            }
            
            .submenu a.active {
                padding-left: 10px;
            }

            .content {
                border-radius: 0;
                padding: 30px 20px;
                box-shadow: none;
                border: none;
            }

            .content section, 
            .content .sub-section {
                scroll-margin-top: 95px; 
            }
        }