/**
 * Categories Section Styles
 * Component: categories.php
 * Updated: Unified Design System
 */

.category-card {
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 24px;
    text-align: center;
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.01), 0 2px 4px -1px rgba(0, 0, 0, 0.01);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-400);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.05), 
        0 10px 10px -5px rgba(0, 0, 0, 0.01);
}

.category-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.75rem;
    transition: all 0.3s ease;
    
    /* Default unified style */
    background-color: var(--primary-50);
    color: var(--primary-600);
}

.category-card:hover .category-card-icon {
    background-color: var(--primary-500);
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
}

.category-title {
    font-weight: 700;
    color: var(--dark-300);
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.category-count {
    color: var(--dark-100);
    font-size: 0.9rem;
}

/* Swiper Navigation */
.custom-swiper-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: var(--white);
    border: 1px solid var(--border-color);
    color: var(--dark-200);
}

.custom-swiper-btn:hover {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: var(--white);
}

/* Override old color classes to force unification */
.bg-blue-100, .bg-purple-100, .bg-green-100, .bg-red-100, .bg-orange-100, .bg-teal-100 {
    background-color: var(--primary-50) !important;
}

.text-blue-600, .text-purple-600, .text-green-600, .text-red-600, .text-orange-600, .text-teal-600 {
    color: var(--primary-600) !important;
}
