.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 1000;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    min-height: 3px; /* KRİTİK */
    width: 100%;
    background: var(--text-dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
    /* İçerik olmasa da görünür kalsın */
    content: " ";
    font-size: 0;
}

/* Transparent header için */
.site-header.transparent-header:not(.scrolled) .mobile-menu-toggle span {
    background: var(--text-white);
}

/* Hamburger Animation */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Container */
.mobile-menu-container {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100vh;
    background: var(--bg-dark);
    z-index: 9998;
    transition: left 0.3s ease;
    overflow-y: auto;
    padding: 35px 20px 20px;
}

.mobile-menu-container.active {
    left: 0;
}

/* Mobile Menu Styles */
.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-logo {
  width: 160px;
  /* margin: 20px auto; */
  display: block;
}

.mobile-menu-footer {
  text-align: left;
  padding: 0;
  font-size: 0.9rem;
  color: #ccc;
  margin-top: 150px;
}

.mobile-menu-footer p {
  font-size: 0.9rem;
}

.mobile-nav-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    padding: 8px 0;
    color: var(--text-white);
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.mobile-nav-link:hover {
    background: rgba(255,255,255,0.1);
}

.mobile-nav-icon {
    margin-right: 10px;
    font-size: 1.2em;
}

/* Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 9997;
}

.nav-overlay.active {
    display: block;
}

/* === RESPONSIVE === */
@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .header-center {
        display: none;
    }
}

.mobile-menu-header {
    margin-bottom: 40px;
}


/* Mobile Header Layout */
@media screen and (max-width: 768px) {
    .header-inner {
        display: grid;
        grid-template-columns: auto 1fr auto;
        grid-template-areas: "logo . menu-toggle";
        align-items: center;
        gap: 15px;
    }

    .header-left {
        grid-area: logo;
    }

    .mobile-menu-toggle {
        grid-area: menu-toggle;
    }

    .header-center {
        display: none;
    }
}

@media screen and (max-width: 550px) {
    .site-header.transparent-header:not(.scrolled) .mobile-menu-toggle span {background: black;}

}


/* === Dropdown Menü (Mobil) === */
.mobile-nav-item.has-submenu > .mobile-nav-link {
    position: relative;
}

.mobile-nav-item.has-submenu > .mobile-nav-link::after {
    content: "▾";
    position: absolute;
    right: 0;
    font-size: 1rem;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.mobile-nav-item.has-submenu.open > .mobile-nav-link::after {
    transform: rotate(180deg);
}

/* Alt Menü */
.mobile-submenu {
    list-style: none;
    padding-left: 15px;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255,255,255,0.05);
    border-left: 2px solid rgba(255,255,255,0.2);
}

.mobile-nav-item.open > .mobile-submenu {
    max-height: 500px;
}

.mobile-submenu li a {
    display: block;
    padding: 10px 0;
    font-size: 15px;
    color: var(--text-white);
    text-decoration: none;
    opacity: 0.9;
}

.mobile-submenu li a:hover {
    opacity: 1;
    background: rgba(255,255,255,0.08);
}
