/* Navbar ile ilgili CSS kodları */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background-color: rgba(0, 0, 0, 0); /* Başlangıçta tam şeffaf (siyahın şeffaf hali) */
    backdrop-filter: blur(0px); /* Başlangıçta bulanıklık yok */
    -webkit-backdrop-filter: blur(0px); /* Webkit tarayıcılar için */
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
    color: white; /* Navbar içindeki yazı rengi */
    z-index: 1001;
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease; 
    box-shadow: none; /* Gölgelendirme istemediğiniz için */
}

nav#main-navbar {
    transition: background-color 0.3s ease-in-out !important;
}

.nav-inner-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.nav-left-group {
    display: flex;
    align-items: center;
    gap: 0;
}

.logo {
    display: flex;
    align-items: center;
    margin-right: 30px; 
    }

.logo-img {
    width: 160px;
    height: auto;
}

.nav-right-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    white-space: nowrap;
    position: relative;
}

.menu-icon {
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    display: none; /* Masaüstünde gizli kalmalı */
}

/* Masaüstü (varsayılan) görünüm için nav-items stilleri */
.nav-items {
    display: flex;
    justify-content: center; /* Kendi içindeki linkleri ortalar */
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
    transform: translateX(0);
    position: static;
    background-color: transparent;
}

.nav-items li a {
    color: #ececec;
    font-size: 18px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
    display: block;
    padding: 8px 12px;
}

.nav-items li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FAB403;
    border-radius: 5px;
    transform: scale(1.02);
}

.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #1e1e1e;
    min-width: 250px;
    padding: 12px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    z-index: 1000;
}

.dropdown-content.show {
    display: block;
}

.dropdown-content > a {
    display: block;
    padding: 10px 15px;
    color: #ececec;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.dropdown-content > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FAB403;
    border-radius: 5px;
    transform: scale(1.02);
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #1e1e1e;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    border-radius: 10px;
    padding: 12px 0;
    z-index: 1001;
}

.dropdown-submenu.active > .dropdown-content {
    display: block;
}

.dropdown-submenu > .dropdown-content > a {
    color: #ececec;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.dropdown-submenu > .dropdown-content > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FAB403;
    border-radius: 5px;
    transform: scale(1.02);
}

.dropdown-toggle-submenu .fa-chevron-right {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.dropdown-submenu.active .dropdown-toggle-submenu .fa-chevron-right {
    transform: rotate(90deg);
}


.online-islem-wrapper {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.online-islem-dropdown {
    position: relative;
}

.online-islem-button {
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: 600;
    background-color: #FAB403;
    transition: background-color 0.3s ease, color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    color: #0D5091;
}

.online-islem-button:hover {
    background-color: #e0a800;
    color: #fff;
}

.online-islem-text {
    color: inherit;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.online-islem-icon {
    font-size: 22px;
    color: #fff;
}

.online-islem-content {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #1e1e1e;
    min-width: 250px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    padding: 12px 0;
    z-index: 1000;
}

.online-islem-content.show {
    display: block;
}

.online-islem-content > a,
.online-islem-content .dropdown-toggle-submenu {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    color: #ececec;
    font-size: 16px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.online-islem-content > a:hover,
.online-islem-content .dropdown-toggle-submenu:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FAB403;
    border-radius: 5px;
    transform: scale(1.02);
}

.online-islem-content .dropdown-submenu > .dropdown-content {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background-color: #1e1e1e;
    min-width: 200px;
    box-shadow: 0px 88px 16px rgba(0,0,0,0.2);
    z-index: 1001;
    border-radius: 10px;
    padding: 12px 0;
}

.online-islem-content .dropdown-submenu.active > .dropdown-content {
    display: block;
}

.online-islem-content .dropdown-submenu > .dropdown-content > a {
    color: #ececec;
    padding: 10px 15px;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    font-size: 16px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.online-islem-content .dropdown-submenu > .dropdown-content > a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: #FAB403;
    border-radius: 5px;
    transform: scale(1.02);
}

.online-islem-content .dropdown-toggle-submenu .fa-chevron-right {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.online-islem-content .dropdown-submenu.active .dropdown-toggle-submenu .fa-chevron-right {
    transform: rotate(90deg);
}

.nav-items .mobile-only-item {
    display: none; /* Masaüstünde gizle */
}

/* Responsive Düzenlemeler (Maksimum 1400px genişliğe kadar) */
@media (max-width: 1400px) {
    /* Mobil görünümde sağdaki tüm kontrolleri gizle */
    .nav-right-controls {
        display: none;
    }

    /* Mobilde masaüstü online işlemler butonunu gizle */
    .online-islem-nav-item {
        display: none !important;
    }

    .nav-items .mobile-only-item.dropdown > .dropdown-toggle:hover {
        background-color: #FAB403;
        color: #2e2f33;
        border-radius: 5px;
        transform: scale(1.02);
    }

    /* Mobil menü ikonunu göster ve konumlandır */
    .menu-icon {
         display: block; /* Mobilde görünür */
        position: absolute;
        left: 20px; /* Soldan 20px boşluk */
        top: 50%;
        transform: translateY(-50%);
        z-index: 10000; /* Diğer öğelerin üzerinde görünür olmasını sağlar */
        color: #ececec;
        font-size: 28px;
        cursor: pointer;
        margin-right: 5px;

    }

    /* Mobilde görünecek nav öğeleri */
    .nav-items .mobile-only-item {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }

    .nav-items .mobile-only-item a {
        color: #ececec;
        padding: 15px 20px;
        font-size: 20px;
        width: 100%;
        display: block;
        text-align: left;
        box-sizing: border-box;
        text-decoration: none;
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .nav-items .mobile-only-item a:hover {
        background-color: #FAB403;
        color: #2e2f33;
        border-radius: 5px;
        transform: scale(1.02);
    }

    /* Mobil menü (nav-items) */
    .nav-items {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #2e2f33; /* Menü arka planı rengi (siyah) */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 90px 20px 20px 20px; 
    transition: transform 0.3s ease-in-out;
    z-index: 9999;
    overflow-y: auto; 
    }

    /* JavaScript ile menü açıldığında uygulanacak */
    .nav-items.active {
        transform: translateX(0);
    }

    /* JavaScript tarafından 'active' sınıfı eklenmediğinde menüyü gizle */
    .nav-items:not(.active) {
        transform: translateX(-100%);
    }

    .nav-items li {
        width: 100%;
        margin-bottom: 0;
    }

    .nav-items li a {
        color: #ececec;
        padding: 15px 20px;
        font-size: 20px;
        width: 100%;
        display: block;
        text-align: left;
        box-sizing: border-box;
    }

    .nav-items li a:hover {
        background-color: #FAB403;
        color: #2e2f33;
    }

    /* Tüm dropdown ok ikonlarının hizalaması ve dönüşü */
    .nav-items li.dropdown > .dropdown-toggle i,
    .nav-items .dropdown-submenu > .dropdown-toggle-submenu i {
        margin-left: 10px;
        transition: transform 0.3s ease;
    }

    /* Dropdown açıldığında ok ikonunu döndür */
    .nav-items li.dropdown > .dropdown-toggle.active i {
        transform: rotate(180deg);
    }

    .nav-items .dropdown-submenu > .dropdown-toggle-submenu.active i {
        transform: rotate(90deg);
    }

    /* Hamburger menü açıkken (mobil görünümde) belirli ikonları gizle */
    .nav-items.active li a i:not(.fa-bars):not(.fa-chevron-down):not(.fa-chevron-right) {
        display: none;
    }

    /* Mobil menü açıldığında body'nin kaymasını engelle */
    body.menu-open {
        overflow: hidden;
    }

    /* Genel dropdown içerikleri ve alt menüler için mobil ayarlar */
    .dropdown-content {
        position: static;
        display: none;
        background-color: transparent;
        box-shadow: none;
        width: 100%;
        padding: 0;
        border-radius: 0;
        margin-top: 0;
        left: 0;
        right: auto;
        min-width: unset;
        border-top: none;
    }

    /* Dropdown aktif olduğunda içeriği göster */
    .dropdown-toggle.active + .dropdown-content {
        display: block;
    }

    /* Dropdown içeriğindeki linkler için */
    .dropdown-content > a {
        padding: 10px 20px 10px 40px;
        font-size: 18px;
        display: block;
        color: #fff;
    }

    .dropdown-content > a:hover {
        background-color: #FAB403;
        color: #2e2f33;
    }

    /* Alt menüler (dropdown-submenu) için genel stil */
    .dropdown-submenu {
        width: 100%;
    }

    /* Alt menü içeriği (dropdown-submenu > dropdown-content) */
    .dropdown-submenu > .dropdown-content {
        position: static;
        display: none;
        padding-left: 20px;
        background-color: transparent;
        box-shadow: none;
        min-width: unset;
    }

    /* Alt menü aktif olduğunda içeriği göster */
    .dropdown-submenu > .dropdown-toggle-submenu.active + .dropdown-content {
        display: block;
    }

    /* En içteki alt menü linkleri */
    .dropdown-submenu > .dropdown-content > a {
        padding: 8px 20px 8px 60px;
        font-size: 16px;
        display: block;
        color: #fff;
    }

    .dropdown-submenu > .dropdown-content > a:hover {
        background-color: #FAB403;
        color: #2e2f33;
    }

    /* Online İşlemler menüsünün ana başlığı için stil (mobil menüde) */
    .nav-items .mobile-only-item.dropdown > .dropdown-toggle {
        display: flex;
        align-items: center;
        width: 100%;
        padding: 15px 20px;
        font-size: 20px;
        text-align: left;
        color: #fff;
        background-color: transparent;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
    }
}

.pa-fixed-header {
	background-color: #2e2f33 !important;
	-webkit-transition: background-color 1s ease-out;
	-moz-transition: background-color 1s ease-out;
	-o-transition: background-color 1s ease-out;
	transition: background-color 1s ease-out;
}

nav.pa-fixed-header .menu-icon {
    color: #2e2f33 !important;
}

nav.pa-fixed-header a {
    color: #ffffff !important;
}

.text-black{
    color: #157293 !important;
}

/* Custom scroll çubuğu */
::-webkit-scrollbar {
    width: 15px;
    z-index: 1500;
}

::-webkit-scrollbar-track {
    background: #292929;
}

::-webkit-scrollbar-thumb {
    background-color: #5c5c5c;
    border-radius: 5px;
    border: 2px solid #5c5c5c;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #999;
}

.pa-fixed-header .menu-icon {
    color: #2e2f33 !important;
}
