/* 分类展示区域样式 */
.category-area {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.single-category {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    margin-bottom: 30px;
}

.single-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-link:hover {
    text-decoration: none;
    color: inherit;
}

.category-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.single-category:hover .category-img {
    transform: scale(1.1);
}

.category-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px dashed #C8A165;
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(200, 161, 101, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.single-category:hover .category-overlay {
    opacity: 1;
}

.category-btn {
    background: #fff;
    color: #C8A165;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: #C8A165;
    color: #fff;
    transform: scale(1.05);
}

.category-content {
    padding: 15px 10px;
}

.category-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: capitalize;
    transition: color 0.3s ease;
}

.single-category:hover .category-title {
    color: #C8A165;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .category-area {
        padding-top: 40px !important;
        padding-bottom: 20px !important;
    }
    
    .category-image {
        height: 150px;
    }
    
    .category-title {
        font-size: 16px;
    }
    
    .category-content {
        padding: 15px 10px;
    }
}

@media (max-width: 576px) {
    .category-image {
        height: 120px;
    }
    
    .category-title {
        font-size: 14px;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
} 