/* ===== MOBİL NAVİGASYON - MİNİMAL & TEMİZ ===== */

/* Alt Navigasyon Bar */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(8, 8, 14, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 9999;
}

.mobile-bottom-nav .nav-items {
    display: flex;
    justify-content: space-around;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 12px;
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
    font-size: 0.6rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    transition: color 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.3rem;
    transition: transform 0.2s ease;
}

.mobile-bottom-nav .nav-item:active {
    transform: scale(0.95);
}

.mobile-bottom-nav .nav-item.active {
    color: #fff;
}

.mobile-bottom-nav .nav-item.active i {
    transform: translateY(-2px);
}

/* Aktif gösterge - basit nokta */
.mobile-bottom-nav .nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    background: #b46bff;
    border-radius: 50%;
}

/* Hamburger Menü Butonu */
.mobile-menu-btn {
    display: none;
    position: fixed;
    top: 14px;
    right: 14px;
    width: 46px;
    height: 46px;
    background: rgba(15, 15, 25, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    z-index: 10001;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.mobile-menu-btn span {
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    transition: all 0.25s ease;
}

.mobile-menu-btn:active {
    transform: scale(0.95);
    background: rgba(20, 20, 35, 0.95);
}

.mobile-menu-btn.active {
    background: rgba(20, 20, 35, 0.95);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Menü Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 5, 10, 0.97);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 90px 24px 100px;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Menü Header */
.mobile-menu-overlay .menu-header {
    text-align: center;
    margin-bottom: 3rem;
}

.mobile-menu-overlay .menu-logo {
    width: 56px;
    height: 56px;
    margin-bottom: 10px;
}

.mobile-menu-overlay .menu-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.3px;
}

/* Menü Linkleri */
.mobile-menu-overlay .menu-links {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-width: 320px;
    margin: 0 auto;
}

.mobile-menu-overlay .menu-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.15s ease;
}

.mobile-menu-overlay .menu-link:active {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-menu-overlay .menu-link.active {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.mobile-menu-overlay .menu-link i {
    width: 20px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
}

.mobile-menu-overlay .menu-link.active i {
    color: #b46bff;
}

/* Ayırıcı */
.mobile-menu-overlay .menu-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin: 24px auto;
    max-width: 320px;
}

/* Section Başlık */
.mobile-menu-overlay .menu-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 12px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 4px;
}

/* Sosyal Linkler */
.mobile-menu-overlay .social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 8px;
}

.mobile-menu-overlay .social-link {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    transition: all 0.15s ease;
}

.mobile-menu-overlay .social-link:active {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    transform: scale(0.95);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .mobile-bottom-nav,
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    /* Eski navbar elementlerini gizle */
    .navbar .nav-menu,
    .navbar .nav-toggle,
    .navbar .nav-cta,
    .nav-toggle {
        display: none !important;
    }
    
    /* Navbar sadece logo */
    .navbar {
        padding: 10px 0;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }
    
    .nav-container {
        justify-content: center;
    }
    
    /* Body padding - safe area for notched devices */
    body {
        padding-bottom: 72px;
        padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    }
    
    /* FAB pozisyonu */
    .fab-container {
        bottom: 90px !important;
    }
    
    .back-to-top {
        bottom: 155px !important;
    }
    
    /* Page header */
    .page-header {
        padding-top: 85px !important;
    }
    
    .hero {
        padding-top: 75px !important;
    }
}

@media (max-width: 380px) {
    .mobile-bottom-nav .nav-item {
        padding: 8px 12px;
        font-size: 0.6rem;
    }
    
    .mobile-bottom-nav .nav-item i {
        font-size: 1.15rem;
    }
    
    .mobile-menu-btn {
        width: 42px;
        height: 42px;
        top: 12px;
        right: 12px;
    }
}

/* Landscape */
@media (max-width: 768px) and (orientation: landscape) {
    .mobile-bottom-nav {
        padding: 6px 16px;
    }
    
    .mobile-bottom-nav .nav-item span {
        display: none;
    }
    
    .mobile-bottom-nav .nav-item {
        padding: 8px 20px;
    }
}
