.container {
    margin: 0 auto;
    padding: 0 1rem;
}

/* HEADER */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 40;
    background-color: transparent;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.sticky-header.scrolled {
    background-color: #ffffff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sticky-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    transition: all 0.3s ease;
}

.sticky-header.scrolled nav {
    height: 80px;
}

/* LOGO */
.logo-container img {
    max-height: 80px;
    height: auto;
	width: auto!important;
    transition: max-height 0.3s ease;
}

.sticky-header.scrolled .logo-container img {
    max-height: 60px;
	width: auto!important;
}

/* --- AÇILIR MENÜ (DROPDOWN) STİLLERİ --- */

/* Ana menü öğesi - Konumlandırma için önemli */
.desktop-nav .corporate-menu li {
    position: relative;
}

/* Dropdown Container */
.desktop-nav .corporate-menu ul.sub-menu {
    position: absolute;
    top: 100%; /* Ana menünün hemen altında başlar */
    left: 0;
    z-index: 50;
    min-width: 200px;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 10px 0;
    list-style: none;
    display: none; /* Varsayılan olarak gizlidir */
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
	margin: 0;
}

/* Dropdown ok simgesi için */
.desktop-nav .corporate-menu > li > a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 16px;
    text-transform: uppercase;
    font-weight: 600;
}

.desktop-nav .corporate-menu .dropdown-arrow {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

/* Alt menüsü olan öğelerde ok simgesini göster */
.desktop-nav .corporate-menu li.has-dropdown > a .dropdown-arrow {
    display: inline-block;
}

/* Hover durumunda ok simgesini yukarı çevir */
.desktop-nav .corporate-menu li.has-dropdown:hover > a .dropdown-arrow {
    transform: rotate(180deg);
}

/* Ana menü öğesinin üzerine gelindiğinde alt menüyü göster */
.desktop-nav .corporate-menu li:hover > ul.sub-menu {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Dropdown Menü Öğeleri (li) */
.desktop-nav .corporate-menu ul.sub-menu li {
    margin: 0;
}

/* Dropdown Link Stilleri */
.desktop-nav .corporate-menu ul.sub-menu a {
    color: #4a5568;
    padding: 10px 20px;
    display: block;
    white-space: nowrap; /* Metinlerin tek satırda kalmasını sağlar */
    transition: background-color 0.2s ease, color 0.2s ease;
    text-decoration: none;
    position: relative;
    font-weight: 400; /* Daha ince font ağırlığı */
}

/* Vurgulu Çizgi Efekti */
.desktop-nav .corporate-menu ul.sub-menu a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%; /* Ortadan başlar */
    width: 0;
    height: 2px;
    background-color: #10165e;
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

/* Hover Etkileşimi */
.desktop-nav .corporate-menu ul.sub-menu a:hover {
    color: #1a202c;
}

/* Hover'da vurgulu çizgiyi göster */
.desktop-nav .corporate-menu ul.sub-menu a:hover::after {
    width: 80%; /* Çizginin genişliğini artırır */
}

/* NAV MENÜLERİ */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.desktop-nav .corporate-menu {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav .corporate-menu a {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.sticky-header.scrolled .desktop-nav .corporate-menu a {
    color: #4a5568;
}

.desktop-nav .corporate-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.desktop-nav .corporate-menu a:hover {
    color: #fff;
}

.sticky-header.scrolled .desktop-nav .corporate-menu a:hover {
    color: #1a202c;
}

.desktop-nav .corporate-menu a:hover::after {
    transform: scaleX(1);
}

.sticky-header.scrolled .desktop-nav .corporate-menu a::after {
    background-color: #1a202c;
}

.menu-icon {
    background-color: #10165e;
    color: #fff !important;
    border: none;
    border-radius: 0;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s 
ease;
    cursor: pointer;
}

a.canvasmenu-title {
    color: #fff;
    padding-left: 5px;
}

.menu-icon:hover {
    transform: scale(1.05);
}

.mobile-nav {
    display: none;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-nav {
        display: block;
    }
}

/* SIDEBAR VE OVERLAY */
.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    height: 100vh;
    width: 100%;
    max-width: 400px;
    background-color: #fff;
    box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    z-index: 999;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Menü açıkken body scroll'u engelle */
body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar.closed {
    transform: translateX(100%);
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 40;
    transition: opacity 0.3s ease-in-out;
}

.overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

/* MENÜ BAŞLIK VE KAPAMA BUTONU */
.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0; /* Header'ın küçülmesini engelle */
}

.menu-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4a5568;
}

.close-btn {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 1.25rem;
    cursor: pointer;
}

.close-btn:hover {
    color: #4a5568;
}

/* MAIN MENU - Scroll için gerekli */
.main-menu {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

/* MOBİL SEKMELER */
.mobile-tabs {
    padding: 0;
    flex-shrink: 0;
    background-color: #e8ecf1;
}

.tab-container {
    display: flex;
    background-color: transparent;
    padding: 0;
}

.tab-btn {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    background-color: transparent;
    color: #6b7280;
    border-bottom: 3px solid transparent;
}

.tab-btn.active {
    background-color: #10165e;
    color: #ffffff;
    border-bottom: 3px solid #10165e;
}

/* MENÜ İÇERİKLERİ VE DRILLDOWN */
.menu-content {
    flex: 1 1 auto;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    min-height: 0;
    max-height: 100%;
}

.products-menu-desktop,
.corporate-menu-mobile {
    list-style: none;
    padding: 0;
    margin: 0;
}

.products-menu-desktop > li {
    margin-bottom: 0.5rem;
}

.products-content {
    padding: 0.5rem;
    height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.corporate-content {
    height: 100%;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.corporate-menu-mobile > li {
    margin-bottom: 0;
}

/* MOBİL KURUMSAL MENÜ STİLLERİ */

.corporate-menu-mobile {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: #f8fafc;
}

/* Ana menü öğeleri */
.corporate-menu-mobile > li {
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.corporate-menu-mobile > li:last-child {
    border-bottom: none;
}

.corporate-menu-mobile > li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.125rem 1.5rem;
    background-color: #ffffff;
    color: #4a5568;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.corporate-menu-mobile > li > a:hover {
    background-color: #f8fafc;
    color: #10165e;
}

/* Alt menüsü olan öğeler için ok simgesi */
.corporate-menu-mobile > li.menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 0.7rem;
    color: #10165e;
    transition: transform 0.3s ease;
}

.corporate-menu-mobile > li.menu-item-has-children.open > a::after {
    transform: rotate(180deg);
}

/* Alt menü (dropdown) */
.corporate-menu-mobile ul.sub-menu {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #f8fafc;
}

.corporate-menu-mobile li.menu-item-has-children.open > ul.sub-menu {
    max-height: 500px;
}

/* Alt menü öğeleri */
.corporate-menu-mobile ul.sub-menu li {
    border-bottom: 1px solid #e2e8f0;
}

.corporate-menu-mobile ul.sub-menu li:last-child {
    border-bottom: none;
}

.corporate-menu-mobile ul.sub-menu a {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem 1rem 3rem;
    background-color: #f8fafc;
    color: #4a5568;
    font-weight: 400;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
}

/* Alt menü öğelerinin solunda nokta işareti */
.corporate-menu-mobile ul.sub-menu a::before {
    content: '•';
    position: absolute;
    left: 1.75rem;
    color: #10165e;
    font-size: 1.2rem;
    line-height: 1;
}

.corporate-menu-mobile ul.sub-menu a:hover {
    background-color: #edf2f7;
    color: #10165e;
}

/* Aktif menü öğesi */
.corporate-menu-mobile li.current-menu-item > a,
.corporate-menu-mobile li.current_page_item > a {
    background-color: #edf2f7;
    color: #10165e;
    font-weight: 500;
}

/* Mobil menü için JavaScript toggle desteği */
@media (max-width: 768px) {
    .corporate-menu-mobile > li.menu-item-has-children > a {
        cursor: pointer;
    }
	
	.logo-container img {
        max-height: 50px!important;
	}
}

/* Menü öğesi linki */
.menu-item-link {
    display: block;
    text-decoration: none;
    padding: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.menu-item-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

/* Menü ana öğeleri (görselli) */
.menu-item-parent {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem;
}

.menu-parent-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.menu-parent-text-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.menu-parent-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #4a5568;
}

.menu-arrow {
    color: #a0aec0;
    transition: transform 0.2s ease;
}

.menu-item-parent:hover .menu-arrow {
    transform: translateX(4px);
}

/* Alt menü ürünleri */
.product-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.5rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: background-color 0.2s ease, transform 0.2s ease;
    text-decoration: none;
}

.product-link:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
}

.product-image {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    object-fit: cover;
    border-radius: 0.5rem;
}

.product-title {
    font-size: 0.875rem;
    color: #4a5568;
}

/* DRILLDOWN */
.drilldown-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

.drilldown-container.open {
    transform: translateX(0);
}

.drilldown-header {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.drilldown-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #4a5568;
}

.back-btn {
    background: none;
    border: none;
    color: #a0aec0;
    font-size: 1.25rem;
    cursor: pointer;
    margin-right: 1rem;
}

.back-btn:hover {
    color: #4a5568;
}

.drilldown-content {
    flex: 1;
    padding: 0.5rem;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch; /* iOS için smooth scroll */
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
