/* Genel Navbar Ayarları */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0a0a0a;
    padding: 12px 24px;
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 75px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Logo */
.logo img {
    height: 40px;
    width: auto;
}

/* Menü */
.nav-list {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-list li a:hover {
    color: #00c4ff;
}

/* Dil Seçici */
.language-selector {
    display: flex;
    gap: 10px;
}

.language-selector button {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-selector button:hover {
    background: #00c4ff;
    border-color: #00c4ff;
    color: #0a0a0a;
}

.language-selector .activelang {
    background: #00c4ff;
    border-color: #00c4ff;
    color: #0a0a0a;
}

/* Hamburger Menü */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    z-index: 1100;
}

/* Mobil Uyum */
@media (max-width: 768px) {

    /* Sidebar tarzı menü */
    .nav-list {
        flex-direction: column;
        gap: 15px;
        position: fixed;
        top: 75px;
        /* navbar altından */
        left: -260px;
        /* gizli */
        width: 260px;
        height: calc(100% - 75px);
        background: #0a0a0a;
        padding: 20px;
        transition: left 0.3s ease;
        display: flex;
        overflow-y: auto;
        /* Dikey scroll aktif */
        overflow-x: hidden;
        /* Yatay scroll kapalı */
    }

    /* Scrollbar Stilleri - Sadece Navbar için */
    .nav-list::-webkit-scrollbar {
        width: 8px;
    }

    .nav-list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
    }

    .nav-list::-webkit-scrollbar-thumb {
        background: linear-gradient(180deg, #00c4ff 0%, #0080cc 100%);
        border-radius: 10px;
        transition: background 0.3s ease;
    }

    .nav-list::-webkit-scrollbar-thumb:hover {
        background: linear-gradient(180deg, #00d9ff 0%, #0099ff 100%);
    }

    /* Firefox için scrollbar */
    .nav-list {
        scrollbar-width: thin;
        scrollbar-color: #00c4ff rgba(255, 255, 255, 0.05);
    }

    /* Açılınca */
    .nav-list.active {
        left: 0;
    }

    .menu-toggle {
        display: block;
    }

    /* Dil seçici sidebar'ın en altında */
    .language-selector {
        margin-bottom: 10px;
        margin-top: auto;
        /* aşağıya sabitler */
        justify-content: center;
    }
}

.navactive {
    border-bottom: 2px solid white;
}