/* Mobil CSS - Responsive Tasarım */

/* Mobil menü toggle butonu - sadece mobilde görünür */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10001; /* Header'ın altında ama diğer her şeyin üstünde */
    background-color: transparent;
    border: 2px solid #fff;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 8px;
    box-shadow: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobil menü overlay (arka plan) */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9998; /* Header'ın altında */
    opacity: 0;
    transition: opacity 0.3s;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Mobil slide menü */
.mobile-menu-slide {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 9999; /* Header'ın altında ama overlay'in üstünde */
    transition: left 0.3s ease-out;
    box-shadow: none;
    overflow-y: auto;
}

.mobile-menu-slide.active {
    left: 0;
}

.mobile-menu-header {
    background-color: #224a98;
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 10;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 32px;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.mobile-menu-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.mobile-menu-content {
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #eee;
}

.mobile-menu-link {
    font-family: "Bebas Neue", cursive;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    color: #333;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background-color 0.3s;
    width: 100%;
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    display: none;
}

.mobile-menu-item[data-has-submenu="true"] .mobile-menu-link::after {
    content: '▼';
    display: inline-block;
    color: #224a98;
    font-size: 12px;
    margin-left: 10px;
    transition: transform 0.3s;
}

.mobile-menu-item[data-has-submenu="true"].submenu-open .mobile-menu-link::after {
    transform: rotate(180deg);
}

.mobile-menu-link:hover {
    background-color: #f5f5f5;
    color: #224a98;
}

.mobile-submenu-toggle {
    display: none; /* Toggle butonunu gizle */
}

.mobile-menu-item {
    position: relative;
}

.mobile-submenu {
    display: none;
    background-color: #f8f9fa;
    padding: 0;
}

.mobile-submenu.active {
    display: block;
}

.mobile-submenu-link {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    border-bottom: 1px solid #eee;
    transition: all 0.3s;
    position: relative;
    gap: 10px;
}

.mobile-submenu-link::before {
    content: '-';
    color: #224a98;
    font-size: 16px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mobile-submenu-link:hover {
    background-color: #e9ecef;
    color: #224a98;
}

/* Responsive stiller mobile_responsive.css dosyasında */

