/* 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;
    align-items: center;
}

.nav-list li {
    position: relative;
}

.nav-list li a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    transition: color 0.3s ease;
    display: inline-block;
}

.nav-list li a:hover {
    color: #00c4ff;
}

/* Active Navigation Item */
.navactive {
    border-bottom: 2px solid white;
}

/* Dropdown Container */
.dropdown {
    position: relative;
}

.dropdown>a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

/* Dropdown Menu - Desktop */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #0a0a0a;
    min-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    margin-top: 10px;
    list-style: none;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    color: #fff;
    transition: all 0.3s ease;
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background: rgba(0, 196, 255, 0.1);
    color: #00c4ff;
    padding-left: 25px;
}

/* Dropdown Active State - Desktop */
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* 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;
    font-weight: 500;
}

.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: 0;
        position: fixed;
        top: 75px;
        left: -260px;
        width: 260px;
        height: calc(100% - 75px);
        background: #0a0a0a;
        padding: 20px;
        transition: left 0.3s ease;
        overflow-y: auto;
        overflow-x: hidden;
        align-items: stretch;
    }

    /* 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;
    }

    /* Mobile'da navigation items */
    .nav-list>li {
        margin-bottom: 5px;
    }

    .nav-list>li>a {
        padding: 12px 0;
        display: block;
    }

    /* Mobile Dropdown Styling */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-radius: 0;
        padding: 0;
        margin: 0;
        box-shadow: none;
        background: transparent;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown.active .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dropdown-menu li a {
        padding: 10px 20px;
        padding-left: 30px;
        font-size: 13px;
        background: rgba(255, 255, 255, 0.02);
        border-left: 2px solid transparent;
    }

    .dropdown-menu li a:hover {
        padding-left: 35px;
        border-left-color: #00c4ff;
    }

    /* Mobil navactive düzeltmesi */
    .navactive {
        border-bottom: none;
        border-left: 2px solid white;
        padding-left: 10px;
    }

    /* Dil seçici sidebar'ın en altında */
    .language-selector {
        margin-bottom: 10px;
        margin-top: auto;
        justify-content: center;
    }
}