/* Categories CSS */
.categories-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.categories-header {
    text-align: center;
    margin-bottom: 3rem;
}

.categories-header h1 {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.categories-header p {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.category-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.category-content {
    padding: 1.5rem;
}

.category-name {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.category-description {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.5;
}

.category-count {
    background: #007bff;
    color: #fff;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    display: inline-block;
    margin-top: 0.5rem;
}

.categories-featured {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 3rem;
}

.categories-featured h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.featured-categories {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    padding-bottom: 1rem;
}

.featured-category {
    min-width: 150px;
    text-align: center;
    text-decoration: none;
    color: inherit;
}

.featured-category img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}

.featured-category-name {
    font-size: 0.9rem;
    color: #333;
    font-weight: 500;
}

@media (max-width: 768px) {
    .categories-container {
        padding: 15px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 1.5rem;
    }
    
    .featured-categories {
        flex-wrap: wrap;
        justify-content: center;
    }
}
