/* Mobile Header Stilleri */
.mobile-header {
    display: none;
    padding: 10px 0;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Submenu stilleri */
.submenu-btn {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
}

.submenu {
    position: fixed;
    top: 0;
    right: -280px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    overflow-y: auto;
    padding: 20px;
}

.submenu.active {
    right: 0;
}

.submenu nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.submenu nav ul li {
    margin: 15px 0;
    border-bottom: 1px solid #eee;
}

.submenu nav ul li a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    display: block;
    padding: 5px 0;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

/* Dropdown Menü Stilleri */
.dropdown-parent {
    position: relative;
}
.dropdown-toggle {
    display: flex;
    align-items: center;
    cursor: pointer;
}
.dropdown-icon {
    margin-left: 5px;
    font-size: 12px;
    transition: transform 0.3s ease;
}
.dropdown-parent.active .dropdown-icon {
    transform: rotate(180deg);
}
.dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 15px;
    padding-right: 0;
    margin-top: 5px;
    width: 100%;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.dropdown-menu li {
    margin: 8px 0;
    width: 100%;
    border-bottom: none !important;
}
.dropdown-menu li a {
    padding: 5px 0;
    display: block;
    width: 100%;
}
.dropdown-parent.active .dropdown-menu {
    display: block;
}
/* İkon ve metin arasındaki boşluğu ayarlıyoruz */
.submenu nav ul li a i {
    margin-right: 8px; /* İkon ve yazı arasında 8px boşluk */
}

/* Responsive düzenlemeler */
@media (max-width: 767px) {
    .desktop-view {
        display: none;
    }
    .mobile-view {
        display: block;
    }
    
    /* Mobil'de normal header'ı gizle */
    #header {
        display: none !important;
    }
    
    /* Mobil'de footer'ı gizle */
    .site-footer, footer {
        display: none !important;
    }
    
    /* Mobil header'ı göster */
    .mobile-header {
        display: block;
    }
    
    /* Mobil'de padding ve margin düzenleme */
    body {
        padding-top: 60px;
        padding-bottom: 60px;
    }
}