/* Dosya: assets/css/mobile-menu.css | Yol: /home/main/public_html/ipekhali.net/assets/css/mobile-menu.css */
/* Geliştiren: Muhsin İŞSEVER */
/* E-posta: muhsin.issever@gmail.com */
/* Web sitesi: https://ai.zefre.net/ */
/* R10 Profili: https://www.r10.net/profil/193-gneral.html */
/* GitHub: www.github.com/gneral */
/* Zefre.NET AI Internet Technologies */
/* Dosya Oluşturma Tarihi: 2025-08-05 */
/* Dosya Güncelleme Tarihi: 2025-08-05 */
/* Lisans: MIT License */
/* Bu yazılım Zefre.NET AI Internet Technologies tarafından geliştirilmiştir. */

/* =============================================
   CLEAN MOBILE MENU SYSTEM - SIMPLE & WORKING
   ============================================= */

/* Reset ve Base */
.clean-mobile-menu * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* =============================================
   HAMBURGER BUTTON - ALWAYS VISIBLE
   ============================================= */

.clean-hamburger {
    display: none;
    position: fixed;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #2c3e50;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    z-index: 100001;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.clean-hamburger:hover {
    background: #34495e;
    transform: scale(1.05);
}

.clean-hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Active Hamburger Animation */
.clean-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.clean-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.clean-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* =============================================
   MOBILE MENU OVERLAY - FULL SCREEN
   ============================================= */

.clean-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    z-index: 100000;
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

/* =============================================
   MENU CONTENT
   ============================================= */

.clean-menu-content {
    padding: 80px 30px 30px;
    height: 100%;
    overflow-y: auto;
}

.clean-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clean-menu-item {
    margin-bottom: 10px;
}

.clean-menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    gap: 15px;
}

.clean-menu-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(10px);
}

.clean-menu-link i {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

/* =============================================
   FLOATING ACTION BUTTONS
   ============================================= */

.clean-floating-actions {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 100002;
}

.clean-action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.clean-search-btn {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.clean-login-btn {
    background: linear-gradient(135deg, #27ae60, #229954);
}

.clean-cart-btn {
    background: linear-gradient(135deg, #f39c12, #e67e22);
    position: relative;
}

.clean-action-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.clean-cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

/* =============================================
   RESPONSIVE BREAKPOINTS
   ============================================= */

/* Mobile Only - FORCE DISPLAY */
@media (max-width: 768px) {
    .clean-hamburger {
        display: flex !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        z-index: 100001 !important;
    }
    
    .clean-floating-actions {
        display: flex !important;
    }
}

/* Force display on all screens for testing */
.clean-hamburger {
    display: flex !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 100001 !important;
}

/* Desktop - Hide Mobile Elements - TEMPORARILY DISABLED FOR TESTING */
/* @media (min-width: 769px) {
    .clean-hamburger,
    .clean-mobile-overlay,
    .clean-floating-actions {
        display: none !important;
    }
} */

/* Extra Small Mobile */
@media (max-width: 480px) {
    .clean-hamburger {
        top: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .clean-menu-content {
        padding: 70px 20px 20px;
    }
    
    .clean-menu-link {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .clean-floating-actions {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .clean-action-btn {
        width: 55px;
        height: 55px;
        font-size: 22px;
    }
}

/* =============================================
   ANIMATION KEYFRAMES
   ============================================= */

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutToRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Menu Items Stagger Animation */
.clean-menu-item {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.3s ease;
}

.clean-mobile-overlay.active .clean-menu-item {
    opacity: 1;
    transform: translateX(0);
}

.clean-mobile-overlay.active .clean-menu-item:nth-child(1) { transition-delay: 0.1s; }
.clean-mobile-overlay.active .clean-menu-item:nth-child(2) { transition-delay: 0.2s; }
.clean-mobile-overlay.active .clean-menu-item:nth-child(3) { transition-delay: 0.3s; }
.clean-mobile-overlay.active .clean-menu-item:nth-child(4) { transition-delay: 0.4s; }
.clean-mobile-overlay.active .clean-menu-item:nth-child(5) { transition-delay: 0.5s; }
.clean-mobile-overlay.active .clean-menu-item:nth-child(6) { transition-delay: 0.6s; }
.clean-mobile-overlay.active .clean-menu-item:nth-child(7) { transition-delay: 0.7s; }
.clean-mobile-overlay.active .clean-menu-item:nth-child(8) { transition-delay: 0.8s; }

/* =============================================
   EXPANDABLE MENU ITEMS - MEGA MENU MOBILE
   ============================================= */

.clean-expandable {
    position: relative;
}

.clean-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.clean-menu-header .clean-menu-link {
    flex: 1;
    margin-right: 10px;
}

.clean-expand-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    padding: 8px;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.3s ease;
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clean-expand-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.clean-expand-btn i {
    transition: transform 0.3s ease;
}

.clean-expandable.active .clean-expand-btn i {
    transform: rotate(180deg);
}

/* Submenu Styles */
.clean-submenu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 10px;
    padding-left: 0;
    list-style: none;
}

.clean-expandable.active .clean-submenu {
    max-height: 600px;
}

.clean-submenu-section {
    margin-bottom: 20px;
}

.clean-submenu-section h5 {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 10px;
    padding-left: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.clean-submenu-link {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 15px;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 5px;
    border-radius: 8px;
    transition: all 0.3s ease;
    gap: 12px;
}

.clean-submenu-link:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(5px);
}

.clean-submenu-link i {
    font-size: 14px;
    width: 18px;
    text-align: center;
    opacity: 0.7;
}

.clean-submenu-link small {
    margin-left: auto;
    font-size: 12px;
    opacity: 0.7;
    color: rgba(255, 255, 255, 0.6);
}

.clean-submenu-link.view-all {
    background: rgba(255, 193, 7, 0.2);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.clean-submenu-link.view-all:hover {
    background: rgba(255, 193, 7, 0.3);
}

/* Color Options */
.color-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: 10px 0;
}

.color-link {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 13px;
    gap: 8px;
    transition: all 0.3s ease;
}

.color-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Sale Badge Mobile */
.sale-badge-mobile {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    margin-left: 8px;
    animation: pulse 2s infinite;
}

/* Submenu Content */
.submenu-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.submenu-content strong {
    font-weight: 600;
}

.submenu-content small {
    font-size: 12px;
    opacity: 0.7;
    margin-left: 0 !important;
}