/* Main Navigation Styling */
.u-header__navbar-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.u-header__nav-item {
    position: relative;
}

.u-header__nav-link {
    display: block;
    padding: 0.75rem 1rem;
    color: #fff;
    font-weight: 500;
    transition: all 0.3s ease;
}

.u-header__nav-link:hover {
    color: #0dd3ff;
    text-decoration: none;
}

.u-header__nav-link-border {
    position: relative;
}

.u-header__nav-link-border:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #0dd3ff;
    transition: width 0.3s ease;
}

.u-header__nav-link-border:hover:after {
    width: 100%;
}

/* Dropdown styling */
.u-header__nav-item:hover .hs-sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.hs-sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 100;
    min-width: 230px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    margin-top: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.hs-sub-menu-right {
    left: auto;
    right: 0;
}

.u-header__sub-menu-nav-link {
    display: block;
    padding: 0.5rem 1.5rem;
    color: #333;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.u-header__sub-menu-nav-link:hover {
    background-color: #f8f9fa;
    color: #0dd3ff;
    text-decoration: none;
}

/* Mobile menu toggle */
.navbar-toggler {
    border: none;
    background: transparent;
    cursor: pointer;
    position: fixed;
    right: 15px;
    top: 15px;
    z-index: 1001;
}

.u-hamburger__box {
    position: relative;
    display: inline-block;
    width: 30px;
    height: 20px;
}

.u-hamburger__inner,
.u-hamburger__inner::before,
.u-hamburger__inner::after {
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.u-hamburger__inner {
    top: 50%;
    transform: translateY(-50%);
}

.u-hamburger__inner::before,
.u-hamburger__inner::after {
    content: '';
    display: block;
}

.u-hamburger__inner::before {
    top: -8px;
}

.u-hamburger__inner::after {
    bottom: -8px;
}

/* Mobile menu styling - RIGHT TO LEFT */
@media (max-width: 1199.98px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        background-color: #fff;
        z-index: 1000;
        overflow-y: auto;
        transition: all 0.3s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-collapse.show {
        right: 0;
    }
    
    .u-header__navbar-nav {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    
    .u-header__nav-link {
        color: #333;
        padding: 0.75rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .u-header__nav-link-toggle::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        float: right;
    }
    
    .hs-sub-menu {
        position: static;
        display: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding: 0 0 0 1rem;
        margin: 0;
        background-color: transparent;
    }
    
    .u-header__nav-item.show .hs-sub-menu {
        display: block;
    }
    
    .u-header__sub-menu-nav-link {
        padding: 0.5rem 0;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .dropdown-connector-xl {
        margin-bottom: 1rem;
    }
    
    .mobile {
        display: block !important;
        margin-bottom: 1rem;
        text-align: center;
    }
    
    /* Mobile logo styling */
    .mobile-logo {
        padding: 15px 0;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        margin-bottom: 15px;
    }
    
    .mobile-logo img {
        max-height: 50px;
        width: auto;
        max-width: 100%;
    }
}

/* Fix social icons on mobile */
@media (max-width: 1199.98px) {
    .mobile {
        display: flex !important;
        justify-content: center;
        margin-bottom: 1rem;
    }
}

/* Topbar styling */
.u-header__topbar {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0.5rem 0;
}

.u-header__topbar-nav-divider a {
    color: #fff;
    font-size: 0.875rem;
}

/* Scrolled state */
.u-header--scrolled {
    background-color: #fff !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.u-header--scrolled .u-header__nav-link {
    color: #333;
}

.u-header--scrolled .u-header__nav-link:hover {
    color: #0dd3ff;
}

/* Clean language and currency dropdowns */
.language-switcher .dropdown-menu,
#currencyDropdown {
    border-radius: 5px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: none;
    min-width: 160px;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0dd3ff;
}

/* WhatsApp button */
.wtsol {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
}

/* Close button for mobile menu */
.mobile-menu-close {
    position: absolute;
    top: 15px;
    left: 15px;
    width: 30px;
    height: 30px;
    cursor: pointer;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    border-radius: 50%;
    border: none;
    outline: none;
}

.mobile-menu-close:before,
.mobile-menu-close:after {
    content: '';
    position: absolute;
    width: 18px;
    height: 2px;
    background-color: #333;
    transition: transform 0.3s ease;
}

.mobile-menu-close:before {
    transform: rotate(45deg);
}

.mobile-menu-close:after {
    transform: rotate(-45deg);
}

.mobile-menu-close:hover {
    background-color: #e9ecef;
}

@media (min-width: 1200px) {
    .navbar-toggler {
        display: none !important;
    }
}

.goog-te-banner-frame.skiptranslate {
    display: none !important;
}

body {
    top: 0px !important;
}



















/* Üst sağ köşe logo stili */
.top-right-logo {
    padding: 5px 0;
}

.top-right-logo img {
    max-height: 30px;
    width: auto;
    transition: all 0.3s ease;
}

.top-right-logo img:hover {
    opacity: 0.8;
}

/* Mobil logo için ek stil */
@media (max-width: 1199.98px) {
    .top-right-logo {
        order: -1; /* Logoyu en sola alır */
        margin-right: auto;
        padding-left: 15px;
    }
}


@media (max-width: 768px) {
    .navbar-toggler {
        margin-left: auto; /* Hamburger menüyü sağa hizalamak için */
        margin-right: 0; /* Sağ kenar boşluğunu sıfırla */
    }
}





@media (max-width: 768px) {
    .top-right-logo.d-xl-none {
        display: flex; /* Flexbox kullanarak hizalama kolaylaştırılır */
        justify-content: flex-start; /* Sola hizala */
        align-items: center; /* Dikey ortalamayı koru */
        margin-left: 0; /* Sol boşluğu sıfırla */
        padding-left: 15px; /* Sol tarafa biraz boşluk ekle */
        position: initial; /* Varsayılan konumlandırmayı kullan */
    }
}

.mini-language-switcher {
    margin: 0 auto; /* Ortalamak için */
}

.mini-language-switcher .dropdown-menu {
    text-align: center; /* Menü içeriğini ortalar */
}







.langbox-wrapper {
    font-family: Arial, sans-serif;
    text-align: center;
    margin-top: 30px;
  }
  .langbox-buttons label {
    display: inline-block;
    padding: 8px 16px;
    margin: 5px;
    border: 1px solid #555;
    border-radius: 4px;
    cursor: pointer;
    background-color: #f9f9f9;
    transition: background 0.3s;
  }
  .langbox-buttons label:hover {
    background-color: #eee;
  }

  /* Açıklama kutuları başlangıçta gizli */
  .langbox-desc {
    display: none;
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #fafafa;
  }

  /* Seçili dile göre açıklamayı göster */
  #langbox-tr:checked ~ .langbox-content .langbox-tr,
  #langbox-en:checked ~ .langbox-content .langbox-en,
  #langbox-ru:checked ~ .langbox-content .langbox-ru {
    display: block;
  }

  /* Seçili dilin butonuna stil ekle */
  #langbox-tr:checked ~ .langbox-buttons label[for="langbox-tr"],
  #langbox-en:checked ~ .langbox-buttons label[for="langbox-en"],
  #langbox-ru:checked ~ .langbox-buttons label[for="langbox-ru"] {
    background-color: #555;
    color: white;
  }