﻿/* CSS - فقط برای موبایل */
@media (max-width: 767px) {
    .mobile-tab-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 70px;
        z-index: 1000;
        display: flex;
        justify-content: center;
        align-items: center;
        pointer-events: none; /* اجازه می‌ده کلیک از روی دکمه‌ها رد بشه */
    }

    .tab-bar-bg {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 67px;
        background: #fff;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        box-shadow: 0 -4px 20px rgba(0,0,0,0.12);
        pointer-events: all;
    }

    .tab-items {
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        max-width: 420px;
        padding: 0 20px;
        list-style: none;
        margin: 0;
        pointer-events: all;
    }

        .tab-items li {
            flex: 1;
            text-align: center;
            position: relative;
        }

            .tab-items li a {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                color: #666;
                text-decoration: none;
                font-size: 11px;
                transition: all 0.25s ease;
                padding: 6px 0;
                font-size: .85rem !important;
            }

                .tab-items li a i {
                    font-size: 24px;
                    margin-bottom: 3px;
                    transition: all 0.3s ease;
                }

                .tab-items li a.active,
                .tab-items li a:hover {
                    color: #e91e63; /* رنگ اصلی سایتت رو اینجا عوض کن */
                }

                    .tab-items li a.active i,
                    .tab-items li a:hover i {
                        transform: translateY(-4px);
                    }

    /* دکمه تماس شناور */
    .fab-call {
        position: absolute;
        bottom: 38px;
        left: 50%;
        transform: translateX(-50%);
        width: 50px;
        height: 50px;
        background: #e91e63; /* رنگ اصلی */
        color: white;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 20px;
        box-shadow: 0 8px 24px rgba(233, 30, 99, 0.4);
        text-decoration: none;
        z-index: 10;
        transition: all 0.3s ease;
        pointer-events: all;
    }

        .fab-call:hover {
            transform: translateX(-50%) translateY(-6px);
            box-shadow: 0 12px 32px rgba(233, 30, 99, 0.5);
        }

    /* فضای خالی وسط برای دکمه شناور */
    .fab-spacer {
        flex: 1;
        min-width: 80px;
    }

    /* دکمه باز کردن منو */
    /*.menu-toggle {
        font-size: 26px !important;
    }*/

    /* اسکرول به بالا */
    /*.scroll-to-top {
        font-size: 26px !important;
    }*/
}

/* مخفی کردن در دسکتاپ */
@media (min-width: 768px) {
    .mobile-tab-bar {
        display: none;
    }
}
