/* Modern Mobile Bottom Navigation Bar - Beyaz İkonlar + Yuvarlak Kenarlar */
/* İkonlar beyaz, kenarlar yuvarlak, arka plan siyah */

.mobile-bottom-nav {
    display: none; /* Varsayılan olarak gizli */
    position: fixed;
    bottom: 15px;
    left: 15px;
    right: 15px;
    width: auto;
    height: 80px;
    background: #1a1a1a; /* Siyah arka plan */
    border-radius: 25px; /* Yuvarlak kenarlar */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    padding: 12px 0 20px 0;
    justify-content: center;
    align-items: center;
    border: 1px solid #333; /* Border */
}

.mobile-bottom-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-around;
    align-items: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.mobile-bottom-nav li {
    flex: 1;
    text-align: center;
}

.mobile-bottom-nav a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #ffffff; /* Beyaz yazı */
    font-size: 9px;
    font-weight: 500;
    padding: 8px 4px;
    transition: all 0.3s ease;
    position: relative;
    min-width: 50px;
    height: 50px;
    border-radius: 15px;
}

.mobile-bottom-nav a:hover {
    color: #ffffff;
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.1);
}

.mobile-bottom-nav a.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.15);
}

.mobile-bottom-nav a.active i {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

/* Aktif öğe için beyaz daire */
.mobile-bottom-nav a.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: #ffffff;
    border-radius: 50%;
    z-index: -1;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Aktif öğe için ikon rengi değiştir */
.mobile-bottom-nav a.active .nav-icon {
    color: #1a1a1a; /* Aktif öğede koyu renk */
}

.mobile-bottom-nav .nav-icon {
    font-size: 22px;
    margin-bottom: 4px;
    display: block;
    transition: all 0.3s ease;
    color: #ffffff; /* Beyaz ikonlar */
    /* Outline efekti kaldırıldı, sadece beyaz */
}

.mobile-bottom-nav .nav-text {
    font-size: 8px;
    font-weight: 600;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 2px;
    color: #ffffff; /* Beyaz yazı */
}

/* Ana sayfa için özel stil - beyaz daire içinde */
.mobile-bottom-nav a[href*=""] .nav-icon {
    color: #1a1a1a; /* Aktif öğede koyu renk */
    background: none;
    width: auto;
    height: auto;
    border-radius: 0;
    margin: 0 auto 4px;
    font-size: 22px;
    box-shadow: none;
}

/* Dark mode desteği */
@media (prefers-color-scheme: dark) {
    .mobile-bottom-nav {
        background: #022843d9;
        border-color: #222;
    }
}

/* Sadece mobil cihazlarda göster */
@media (max-width: 768px) {
    .mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: 110px; /* Navigasyon barı için boşluk */
    }
}

/* Çok küçük ekranlar için optimizasyon */
@media (max-width: 360px) {
    .mobile-bottom-nav {
        left: 8px;
        right: 8px;
        padding: 10px 0 18px 0;
        height: 75px;
    }
    .mobile-bottom-nav a {
        font-size: 8px;
        padding: 6px 2px;
        height: 45px;
    }
    .mobile-bottom-nav .nav-icon {
        font-size: 20px;
    }
    .mobile-bottom-nav a.active::before {
        width: 45px;
        height: 45px;
        top: -6px;
    }
}

/* Desktop'ta gizle */
@media (min-width: 769px) {
    .mobile-bottom-nav {
        display: none !important;
    }
    body {
        padding-bottom: 0;
    }
}

/* iPhone X ve üzeri için safe area */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .mobile-bottom-nav {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }
}

/* Animasyon performansı için */
.mobile-bottom-nav * {
    will-change: transform;
}

/* Haptic feedback efekti */
@media (hover: none) and (pointer: coarse) {
    .mobile-bottom-nav a:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}