/* =========================================
   Brand Grid Navigation Style (Colorful Version)
   Location: engine/features/navigation/brand-grid.css
   ========================================= */

/* গ্রিড লেআউট */
.alpha-brand-grid-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
    padding: 10px 0;
}

/* ব্র্যান্ড বক্স */
.brand-box {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 15px 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 120px;
    position: relative;
    overflow: hidden;
}

/* হোভার এফেক্ট */
.brand-box:hover {
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.15);
    transform: translateY(-5px);
}

/* লোগো এরিয়া */
.brand-logo-area {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

/* লোগো ইমেজ (সবসময় রঙিন থাকবে) */
.brand-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: grayscale(0%); /* সাদা-কালো বন্ধ করা হয়েছে */
    opacity: 1;            /* ফুল ব্রাইটনেস */
    transition: all 0.3s ease;
}

/* হোভার করলে লোগো একটু জুম হবে */
.brand-box:hover .brand-img {
    transform: scale(1.1);
}

/* ব্যাকআপ লেটার (যদি লোগো না থাকে) */
.brand-letter {
    width: 50px;
    height: 50px;
    background: #f3f4f6;
    color: #6b7280;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.brand-box:hover .brand-letter {
    background: #2563eb;
    color: #ffffff;
}

/* ব্র্যান্ডের নাম */
.brand-title {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    display: block;
}

.brand-box:hover .brand-title {
    color: #2563eb;
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 600px) {
    .alpha-brand-grid-wrapper {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    .brand-box {
        height: 100px;
        padding: 10px 5px;
    }
    .brand-logo-area {
        width: 40px;
        height: 40px;
    }
    .brand-title {
        font-size: 11px;
    }
}