/* Temel navbar yapısı */
.uc-navbar-container {
    position: relative;
}

.uc-navbar {
    position: relative;
}

.uc-navbar-nav {
    position: static;
    display: flex;
    gap: 1rem;
}

.uc-navbar-nav > li {
    position: static;
}

/* Dropdown temel stilleri */
.uc-navbar-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    padding: 1rem;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 1000;
}

/* Corporate dropdown özel stil */
.uc-navbar-nav > li:nth-child(2) .uc-navbar-dropdown {
    left: auto;
    right: auto;
    width: 250px;
}

/* Products dropdown özel stil */
.uc-navbar-nav > li:nth-child(3) .uc-navbar-dropdown {
    width: 100%;
    padding: 2rem;
}

/* Hover durumunda basit gösterim */
.uc-navbar-nav > li:hover .uc-navbar-dropdown {
    display: block;
}

/* Products içerik stilleri */
.product-categories .nav-link {
    color: #333;
    padding: 0.75rem 1rem;
    border-left: 3px solid transparent;
    display: block;
}

.product-categories .nav-link:hover {
    background-color: #f8f9fa;
    border-left: 3px solid #004992;
    color: #004992;
}

.product-image-container {
    height: 400px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* Mobil menü */
@media (max-width: 992px) {
    .uc-navbar-nav {
        display: none;
    }

    .uc-navbar-dropdown {
        position: static;
        width: 100% !important;
        box-shadow: none;
        padding: 0;
        display: none;
    }

    .menu-dropdown-content {
        padding-left: 1rem;
    }

    .product-image-container {
        height: 200px;
    }
}

/* Mobil menü toggle */
.uc-menu-trigger {
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
    display: none;
}

@media (max-width: 992px) {
    .uc-menu-trigger {
        display: block;
    }
}

/* Mobil dropdown */
.menu-dropdown-content {
    display: none;
    padding: 0 0 0 48px;
    margin: 0 0 0 15px;
    width: calc(100% - 15px);
}

.menu-dropdown-content.active {
    display: block;
    /* padding: 5px 0 5px 48px;
    margin: 5px 0 5px 15px; */
    flex-direction: column;
}

/* Top banner */
.top-banner {
    background: #f5f5f5;
    padding: 0.5rem 0;
}

@media (max-width: 1023px) {
    .top-banner {
        display: none;
    }
}

.dropdown-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 5px 0;
}

.menu-dropdown-toggle {
    cursor: pointer;
    transition: all 0.1s ease;
    width: 100%;
    padding: 12px 15px;
    position: relative;
    display: block;
    border-radius: 8px;
    background: transparent;
}

.menu-dropdown-toggle:hover {
    /* background: rgba(0, 73, 146, 0.05); */
    color: #004992;
}

.menu-dropdown-toggle i {
    transition: all 0.3s ease;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    opacity: 0.7;
}

.menu-dropdown-toggle:hover i {
    opacity: 1;
}

.menu-dropdown-content li {
    width: 100%;
}

.menu-dropdown-content a {
    font-size: 0.9em;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    color: #666;
    border-radius: 6px;
    margin: 2px 0;
}

.menu-dropdown-content a:hover {
    color: #004992;
    background: rgba(0, 73, 146, 0.05);
    padding-left: 20px;
}

/* Ana menü öğeleri için stil */
.nav-y > li > a {
    padding: 12px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-y > li > a:hover {
    /* background: rgba(0, 73, 146, 0.05); */
    color: #000 !important;
}

.nav-y  a {
    color: #000 !important;
}

.nav-y a.active {
    color: #000 !important;
}

/* Aktif menü öğesi için stil */
.menu-dropdown-toggle.active {
    background: rgba(0, 73, 146, 0.05);
    color: #004992;
}

.menu-dropdown-toggle.active i {
    opacity: 1;
}

/* Animasyon süresini ayarla */
.menu-dropdown-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    padding: 0 0 0 48px;
    margin: 0 0 0 15px;
    width: calc(100% - 15px);
    border-radius: 0 8px 8px 0;
}

.menu-dropdown-content.active {
    max-height: 1000px;
    opacity: 1;
    /* padding: 5px 0 5px 48px;
    margin: 5px 0 5px 15px; */
}

.uc-menu-trigger {
    position: relative;
    display: block;
    width: 30px;
    height: 28px;
}

.uc-menu-trigger::before,
.uc-menu-trigger::after,
.uc-menu-trigger span {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #535353;
    transition: all 0.3s ease;
}

.uc-menu-trigger::before {
    top: 3px;
}

.uc-menu-trigger span {
    top: 50%;
    transform: translateY(-50%);
}

.uc-menu-trigger::after {
    bottom: 4px;
}

.uc-menu-trigger:hover::before,
.uc-menu-trigger:hover::after,
.uc-menu-trigger:hover span {
    background-color: #004992;
}

.product-category[data-has-submenu="true"] {
    position: relative;
}

.product-category[data-has-submenu="true"]:hover {
    background-color: #f8f9fa;
}

.submenu-container {
    min-height: 100%;
    padding: 0 15px;
    border-left: 1px solid #dee2e6;
}

.submenu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu.active {
    display: block;
}

.submenu li a {
    display: block;
    padding: 8px 15px;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}

.submenu li a:hover {
    background-color: #f8f9fa;
    color: #004992;
}

.custom-lang-select {
    position: relative;
    cursor: pointer;
}

.selected-lang {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 25px 4px 10px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    min-width: 80px;
    position: relative;
    background-color: transparent;
    transition: all 0.3s ease;
}

.selected-lang::after {
    content: '';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid currentColor;
    opacity: 0.7;
}

.flag-icon {
    width: 20px;
    height: 15px;
    object-fit: cover;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    margin-top: 4px;
    display: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.lang-dropdown.show {
    display: block;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    transition: all 0.2s ease;
}

.lang-option:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Navbar'daki dil seçici için özel stiller */
.uc-navbar .selected-lang {
    color: #333;
    border-color: rgba(0, 0, 0, 0.15);
    background-color: rgba(255, 255, 255, 0.1);
}

.uc-navbar .selected-lang:hover {
    background-color: rgba(0, 0, 0, 0.05);
}

/* Top banner'daki dil seçici için özel stiller */
.top-banner .selected-lang {
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

.top-banner .selected-lang:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.top-banner .selected-lang::after {
    border-top-color: white;
}

@media (max-width: 768px) {
    .selected-lang {
        padding: 3px 20px 3px 8px;
        font-size: 0.85rem;
        min-width: 75px;
    }
    
    .flag-icon {
        width: 18px;
        height: 13px;
    }
}



