/* =====================================================
   RESPONSIVE.CSS - Sadece Mobil Düzeltmeleri
   Tüm kurallar media query içinde olmalı
   ===================================================== */

/* =====================================================
   1. HAMBURGER MENU
   ===================================================== */
.mobile-sidebar-toggle {
    display: none;
}

.mobile-sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-sidebar-overlay.active {
    display: block;
}

/* =====================================================
   2. RESPONSIVE - 992px altı
   ===================================================== */
@media (max-width: 992px) {
    /* Hamburger görünür */
    .mobile-sidebar-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }
    
    /* Sol sidebar slide-in */
    .left-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -320px !important;
        width: 300px !important;
        height: 100vh !important;
        z-index: 1000 !important;
        background-color: #ffffff !important;
        overflow-y: auto !important;
        transition: left 0.3s ease !important;
        padding: 20px !important;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.2) !important;
    }
    
    .left-sidebar.mobile-open {
        left: 0 !important;
    }
    
    /* Main content tek kolon */
    .main-content {
        display: block !important;
    }
    
    .center-content {
        width: 100% !important;
    }
    
    .right-sidebar {
        width: 100% !important;
        margin-top: 20px;
    }
}

/* =====================================================
   3. RESPONSIVE - 768px altı
   ===================================================== */
@media (max-width: 768px) {
    /* Mobile/Desktop visibility */
    .mobile-only {
        display: inline-flex !important;
    }
    
    .desktop-only {
        display: none !important;
    }
    
    /* Tag list scroll */
    .tag-list {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .tag-list::-webkit-scrollbar {
        display: none;
    }
    
    /* Tag nav okları büyük */
    .tag-nav-arrows button {
        padding: 8px !important;
        min-width: 40px !important;
        min-height: 40px !important;
    }
    
    .tag-nav-arrows button img {
        width: 24px !important;
        height: 24px !important;
    }
    
    /* Tag divider görünür */
    .tag-list .divider {
        display: inline-flex !important;
        width: 1px !important;
        height: 16px !important;
        background-color: rgba(255,255,255,0.3) !important;
        margin: 0 8px !important;
        flex-shrink: 0 !important;
    }
    
    /* Center menu dropdown mobilde görünür */
    .center-menu-more {
        display: inline-flex !important;
    }
}

/* =====================================================
   4. CENTER MENU DROPDOWN
   ===================================================== */
.center-menu-more {
    display: none;
    position: relative;
}

.center-menu-more-btn {
    background: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    color: #666;
    display: flex;
    align-items: center;
}

.center-menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 160px;
    z-index: 1000;
    padding: 8px 0;
}

.center-menu-dropdown.show {
    display: block;
}

.center-menu-dropdown a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.center-menu-dropdown a:hover {
    background: #f5f5f5;
}

.center-menu-dropdown a img {
    width: 16px;
    height: 16px;
}

/* =====================================================
   5. DESKTOP/MOBILE VISIBILITY (varsayılan)
   ===================================================== */
.mobile-only {
    display: none !important;
}

.desktop-only {
    display: inline-flex !important;
}
