/* Dynamic Menu CSS */

.dynamic-menu-wrapper {
    position: relative;
    width: 100%;
}

/* Desktop menü */
.desktop-menu {
    display: block;
}

.menu-list {
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.menu-item {
    margin: 0;
    flex: 1;
    min-width: 120px;
}

.menu-link {
    display: block;
    padding: 0px;
    color: #333;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border-right: 1px solid #eee;
}

.menu-item:last-child .menu-link {
    border-right: none;
}

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

.menu-item.home-item .menu-link {
    background: #024001;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 7px 0px;
    margin-right: 30px;
}

.static-item .menu-link {
    background: #024001;
    color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 7px 0px;
    margin-right: 30px;
}

.static-item .menu-link:hover,
.home-item .menu-link:hover {
    background: #065901;
    color: #fff;
}

/* Mobil hamburger gomb */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: #024001;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    padding: 0;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: #fff;
    margin: 2px 0;
    transition: all 0.3s ease;
    border-radius: 1px;
}

.mobile-menu-toggle:hover {
    background: #065901;
    transform: scale(1.05);
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobil menü */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: #fff;
    z-index: 1001;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    overflow-y: auto;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #024001;
    border-bottom: 1px solid #065901;
}

.mobile-menu-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: #065901;
    color: #fff;
}

.mobile-menu .menu-list {
    flex-direction: column;
    box-shadow: none;
    display: flex;
    border-radius: 0;
    background: transparent;
    align-items: flex-start;
    padding: 25px;
}

.mobile-menu .menu-item {
    flex: none;
    min-width: auto;
    border-bottom: 1px solid #f0f0f0;
}

.mobile-menu .menu-item:last-child {
    border-bottom: none;
}

.mobile-menu .menu-link {
    padding: 15px 20px;
    border-right: none;
    text-align: left;
    white-space: normal;
    font-size: 16px;
    color: #333;
    transition: all 0.3s ease;
}

.mobile-menu .static-item .menu-link,
.mobile-menu .home-item .menu-link {
    background: #024001;
    color: #fff;
    font-weight: 600;
}

.mobile-menu .menu-link:hover {
    background: #f8f9fa;
    color: #024001;
    transform: none;
}

.mobile-menu .static-item .menu-link:hover,
.mobile-menu .home-item .menu-link:hover {
    background: #065901;
    color: #fff;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu {
        display: block;
    }

    .menu-item {
    margin: 0;
    flex: 1;
    width: 100%;
}

.mobile-menu .static-item .menu-link, .mobile-menu .home-item .menu-link {
    background: #024001;
    color: #fff;
    font-weight: 600;
    padding: 10px 25px;
    margin-bottom: 5px;
}

.mobile-menu .menu-item {
    flex: none;
    min-width: auto;
    border-bottom: 0px solid #f0f0f0;
}
}
